Jump to content

White Screen on Freshly Installed PS 1.5.6.2


Recommended Posts

Hi,

I've just installed prestashop 1.5.6.2 at ourmart.in/shop via GoDaddy Installatron

 

In the admin CP, I am able to open only few pages, most of the time I am getting white pages.

 

I am also not able to find the TURN ERRON DISPLAY ON thing in config.inc.php.

 

Please help

 

Edit: Turned on Error Display, Getting this error on many of the pages in ADMINCP


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

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

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/adminaviral/public_html/shop/cache/smarty/compile/56/32/87/wrt531db68dc5d406.03062168' in /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/adminavir...', '<?php /* Smarty...', Object(Smarty)) #1 /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/adminaviral/public_html/shop/classes/helper/HelperList.php(628): Smarty_Internal_TemplateBase->fetch() #3 /home/adminaviral/public_html/shop/classes/helper/HelperList.php(149): HelperListCore->displayListFooter() #4 /home/adminaviral/public_html/shop/classes/controller/AdminController.php(1630): HelperListCore->generateList(Array, Array) #5 /home/adminaviral/public_html/shop/classes/controlle in /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44
Edited by aviralgoel (see edit history)
Link to comment
Share on other sites

It is in defines.inc.php set

define('_PS_MODE_DEV_', false) 

to true.

 

And check folder permissions, had this issue with GoDaddy recently.

All folder had 700 set while they have to be 755.

If that is issue select top folder and recursively set permissions to 755, but just for folders, not files.  

  • Like 1
Link to comment
Share on other sites

It is in defines.inc.php set

define('_PS_MODE_DEV_', false) 

to true.

 

And check folder permissions, had this issue with GoDaddy recently.

All folder had 700 set while they have to be 755.

If that is issue select top folder and recursively set permissions to 755, but just for folders, not files.  

Found and turned ERROR Display On, Thanks.

I also checked for Folder Permissions and my main folder was set to 755 (i.e public_html/shop). 

Folders inside it were set to 7xx so I changed em to 755.

Please see here if I did it correctly. http://gyazo.com/e74f999084ba272948001720decd38b9

Link to comment
Share on other sites

Turned on Error Display and now I am getting this error on opening pages


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

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

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/adminaviral/public_html/shop/cache/smarty/compile/56/32/87/wrt531db68dc5d406.03062168' in /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/adminavir...', '<?php /* Smarty...', Object(Smarty)) #1 /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /home/adminaviral/public_html/shop/classes/helper/HelperList.php(628): Smarty_Internal_TemplateBase->fetch() #3 /home/adminaviral/public_html/shop/classes/helper/HelperList.php(149): HelperListCore->displayListFooter() #4 /home/adminaviral/public_html/shop/classes/controller/AdminController.php(1630): HelperListCore->generateList(Array, Array) #5 /home/adminaviral/public_html/shop/classes/controlle in /home/adminaviral/public_html/shop/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44
Link to comment
Share on other sites

For first 2 notices do as it is suggested, it is small bug. Replace add single quotes so

_RIJNDAEL_KEY_ becomes '_RIJNDAEL_KEY_'.

 

And about second part check also permissions for folders  cache / smarty / compile / 

and cache / smarty / cache / .

Fixed first two, The Permission for cache / smarty/ cache is 755.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...