Jump to content

my backoffice is blank after login, Please help


Recommended Posts

Hi, I am new to the prestashop, I just installed it from the app inside godaddy's hosting page.

 

everything is fast and easy, but when I try to log in to the back office, My page become blank and not loading anything. I've tried many times but the result is the same. Please help me on this . really appreciate.

Link to comment
Share on other sites

using FTP or hosting control panel

 

edit config/defines.inc.php

 

find

define('_PS_MODE_DEV_', false);

change to

define('_PS_MODE_DEV_', true);

now visit (recreate) blank page and you should see the thrown error, you can then search for similar issue

  • Like 1
Link to comment
Share on other sites

using FTP or hosting control panel

 

edit config/defines.inc.php

 

find

define('_PS_MODE_DEV_', false);

change to

define('_PS_MODE_DEV_', true);

now visit (recreate) blank page and you should see the thrown error, you can then search for similar issue

Hi El Patron , thank you for the help, finally it shows some words when I try to login to back office:

 

I don't know what's that suppose to mean and how to fix the problem. please help me :unsure:

 

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/zhanxin88/public_html/classes/Cookie.php on line 80

 

Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/zhanxin88/public_html/classes/Cookie.php on line 80

 

Warning: Cannot modify header information - headers already sent by (output started at /home/zhanxin88/public_html/classes/Cookie.php:80) in /home/zhanxin88/public_html/classes/Tools.php on line 143

Link to comment
Share on other sites

Hi El Patron , thank you for the help, finally it shows some words when I try to login to back office:

 

I don't know what's that suppose to mean and how to fix the problem. please help me  :unsure:

 

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in/home/zhanxin88/public_html/classes/Cookie.php on line 80

Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in/home/zhanxin88/public_html/classes/Cookie.php on line 80

Warning: Cannot modify header information - headers already sent by (output started at /home/zhanxin88/public_html/classes/Cookie.php:80) in /home/zhanxin88/public_html/classes/Tools.php on line 143

Link to comment
Share on other sites

none of these would result in a blank page so we have not enough information.

 

please from your hosting control panel find the error log, possible there is more information there.

 

you may need to contact godaddy support and explain the situation.

 

the front office is ok, yes?

  • Like 1
Link to comment
Share on other sites

Hi EI patron, now it shows this Fatal error,(shows below)  I've tried to change the permission from 771  to 777  for this file  "/public_html/cache/smarty/compile/24" but I can't save the changes, it will go back to 771.  The front store is up on running properly.

 

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/zhanxin88/public_html/cache/smarty/compile/24/bf/ca/wrt53b0de54812bc9.44735860' in /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/zhanxin88...', '<?php /* Smarty...', Object(Smarty)) #1 /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/zhanxin88/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/zhanxin88/public_html/modules/dashtrends/dashtrends.php(72): ModuleCore->display('/home/zhanxin88...', 'dashboard_zone_...') #4 /home/zhanxin88/public_html/classes/Hook.php(507): Dashtrends->hookDashboardZoneTwo(Array) #5 /home/zhanxin88/public_html/controllers/admin/AdminDashboardController.php(218): HookCore::exec('da in /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44


none of these would result in a blank page so we have not enough information.

 

please from your hosting control panel find the error log, possible there is more information there.

 

you may need to contact godaddy support and explain the situation.

 

the front office is ok, yes?

 

 

Hi EI patron, thank you for the reply,  now it shows this Fatal error,(shows below)  I've tried to change the permission from 771  to 777  for this file  "/public_html/cache/smarty/compile/24" but I can't save the changes, it will go back to 771.  The front store is up on running properly.

 

 

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/zhanxin88/public_html/cache/smarty/compile/24/bf/ca/wrt53b0de54812bc9.44735860' in /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/zhanxin88...', '<?php /* Smarty...', Object(Smarty)) #1 /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/zhanxin88/public_html/classes/module/Module.php(2020): Smarty_Internal_TemplateBase->fetch() #3 /home/zhanxin88/public_html/modules/dashtrends/dashtrends.php(72): ModuleCore->display('/home/zhanxin88...', 'dashboard_zone_...') #4 /home/zhanxin88/public_html/classes/Hook.php(507): Dashtrends->hookDashboardZoneTwo(Array) #5 /home/zhanxin88/public_html/controllers/admin/AdminDashboardController.php(218): HookCore::exec('da in /home/zhanxin88/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44

Link to comment
Share on other sites

some time ago i've noticed in one website of my customer that his host limted number of files available to store on hosting account.

 

the problem was exactly the same (error code),

cache generates large amount of files (in his case about ~1 million files)

 

make sure that you haven't got exactly the same limitations

Link to comment
Share on other sites

  • 2 months later...

And the solution was ......:

 

Do this one ...

 

using FTP or hosting control panel

 

edit config/defines.inc.php

 

find

define('_PS_MODE_DEV_', false);

change to

define('_PS_MODE_DEV_', true);

now visit (recreate) blank page and you should see the thrown error, you can then search for similar issue

 

And then do this....

 

 

Writing permissions, as el patron said. Try changing to 775 for the whole cache folder and subfolder

 

 

it works for me.

Backoffice and front office now are normal again.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...