Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mobile user get white screen after login
#1
Hello,

After working fine some time in the mobile interface. Two on my user getting white screen after login.

There error is:
Code:
PHP Fatal error:  Call to a member function label() on boolean in ..../Smarty/templates_c/f3e8ee7270cb8098d4eff6bd5b57ca8ba1db8219_0.file.ListView.tpl.php on line 27

line 27 is:
PHP Code:
<head><title><?php echo $_smarty_tpl->tpl_vars['_MODULE']->value->label();?>


Deleting the temp file f3e8ee7270cb8098d4eff6bd5b57ca8ba1db8219_0.file.ListView.tpl.php don't help.

Those users can't load any mobile page expect the login form.

For example:
http://domain/modules/Mobile/index.php?_operation=listModuleRecords&module=HelpDesk
http://domain/modules/Mobile/index.php?_operation=fetchRecord&record=17x2209

Show white screen

As workaround I duplicate the user and the new user can access the mobile interface.

It's not look like this language / translation problem like in this post: https://discussions.corebos.org/showthread.php?tid=629&highlight=blank+screen

Because other users with the same setting can work.

Please advise
Reply
#2
Try updating. I fixed an error yesterday that may be related. Please confirm.
Joe
TSolucio
Reply
#3
(10-25-2018, 04:18 PM)joebordes Wrote: Try updating. I fixed an error yesterday that may be related. Please confirm.


Just finish the update on this Corebos instance. The problem still exist!
Reply
#4
It must be something with the profile of those users, some field that is needed or something. Please try activating the debug log and share the SQL error that you will find there.
Joe
TSolucio
Reply
#5
(11-02-2018, 09:08 PM)joebordes Wrote: It must be something with the profile of those users, some field that is needed or something. Please try activating the debug log and share the SQL error that you will find there.


Attached Files
.zip   vtigercrm.log.zip (Size: 4.84 KB / Downloads: 1)
Reply
#6
I'm sorry but there is no error in that file and I can't reproduce the issue.

I see that the variable it is trying to access is saved in the PHP session variable for that user. Try clearing the PHP session variables maybe it is some rare case with that being corrupt and not being able to clean it up.
Joe
TSolucio
Reply
#7
(11-03-2018, 08:48 PM)joebordes Wrote: I'm sorry but there is no error in that file and I can't reproduce the issue.

I see that the variable it is trying to access is saved in the PHP session variable for that user. Try clearing the PHP session variables maybe it is some rare case with that being corrupt and not being able to clean it up.

 I delete all session files and try to login again. A new session file was created that look valid:


Quote:_authenticated_user_id|s:1:"9";__HTTP_Session_Expire_TS|i:1541397736;__HTTP_Session_Idle_TS|i:3600;loginattempts|i:0;username|s:3:"USER-NAME-REMOVED";password|s:8:"REMOVED";language|s:5:"en_us";user_tz|s:3:"UTC";_MODUL

ES|a:1:{i:0;O:22:"crmtogo_UI_ModuleModel":1:{s:4:"data";a:7:{s:4:"name";s:16:"ServiceContracts";s:5:"label";s:17:"Service Contracts";s:6:"active";s:1:"1";s:8:"ordernum";s:2:"17";s:6:"userid";s:1:"9";s:2:"i
d";s:2:"25";s:8:"isEntity";b:1;}}}lvs|a:1:{s:8:"HelpDesk";a:1:{s:8:"viewname";s:2:"71";}}



again got this PHP error in the log:


Quote:PHP Fatal error:  Call to a member function label() on boolean in /mnt/2bck/crm/cqmtech/Smarty/templates_c/f3e8ee7270cb8098d4eff6bd5b57ca8ba1db8219_0.file.ListView.tpl.php on line 27

Please note that I have two block users. I'm afraid that the other user will be block for the same unknown reasone.
Reply
#8
I'm not very worried because you can reproduce it consistently, that means it can be debugged and fixed. The problem is that I can't reproduce it so I can't fix it.

My next step would be to trace the code and see where it is failing.
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)