Jump to content

White screen


Recommended Posts

detailed information about debug mode you can find here:

http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/

 

 

TURN ON ERROR REPORTING:


for releases below PrestaShop 1.5.3

config/config.inc.php

find this line

@ini_set('display_errors', 'off');

change to look like this:

@ini_set('display_errors', 'on');

 

 

after this, instead of white page you will see error log, error log is a kind of information that informs about problems in your script (parsing errors in php, some kind of mysql errors etc.)

 

please paste output of your error log here

 

with regards,

Milos

Link to comment
Share on other sites

Hi, I have the same problem here. After updating some modules, my store is now completely white. I turned on debug mode. And here is the error displayed:

 

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Notice: Use of undefined constant _PS_CORE_DIR_ - assumed '_PS_CORE_DIR_' in /home/phonepa6/public_html/classes/Media.php on line 238

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/phonepa6/public_html/modules/homeslider/views/templates/hook/header.tpl" on line 2 "{addJsDef homeslider_loop=$homeslider.loop}" unknown tag "addJsDef"' in /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ad...', 2) #1 /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('addJsDef', Array) #2 /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 /hom in /home/phonepa6/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

 

 

I unpacked Prestashop 1.6 and uploaded the file classes/Media.php to overwrite the same file in my hosting server, but it didn't help. The errors are still there.

 

Furthermore, when I click autograde, it is now all blank.

 

Urgent. Could anyone help, please???

Edited by tonisky (see edit history)
Link to comment
Share on other sites

I think you right, this new update in my theme probably is not compatible with my prestashop version (1.5.3), i use this theme in 1.6, and work's almost thing right, but not everything

 

I'm trying to contact the team who's make but looks is in vacation :( i like to know who i can repair this, but don't looks easy.

Link to comment
Share on other sites

×
×
  • Create New...