mbrower415 Posted March 20, 2015 Share Posted March 20, 2015 I have used Prestashop in the past on the same dedicated server. Yesterday I installed it manually and via softculous software and every time the front page is blank. I deleted and created the domain on my server and rebooted the server with no luck. I even watched the install video just to be sure I wasn't missing something. Prestashop has worked in the past year on my server so I am at a loss. The domain is currently offline so there is no link to it here. Any suggestions? thankyou Link to comment Share on other sites More sharing options...
vekia Posted March 20, 2015 Share Posted March 20, 2015 white page = errors please turn on error reporting then try to open your page you will see detailed error report paste it here Link to comment Share on other sites More sharing options...
selectshop.at Posted March 20, 2015 Share Posted March 20, 2015 Activate mod debug: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
mbrower415 Posted March 20, 2015 Author Share Posted March 20, 2015 Hello and thank you for the help. Here is the message: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/natsoa/public_html/tools/smarty/sysplugins/smarty_internal_compile_if.php on line 47 Link to comment Share on other sites More sharing options...
mbrower415 Posted March 20, 2015 Author Share Posted March 20, 2015 Did a bit of google searching and finally went into my dedicated server and adjusted the php.ini setting. Seems to be corrected now. Link to comment Share on other sites More sharing options...
sworld Posted August 26, 2016 Share Posted August 26, 2016 Notice: Undefined property: stdClass::$smarty in /home1/sworld/public_html/wholesalestationery.in/classes/module/Module.php on line 2330Fatal error: Call to a member function createTemplate() on a non-object in /home1/sworld/public_html/wholesalestationery.in/classes/module/Module.php on line 2330 Link to comment Share on other sites More sharing options...
deyan4 Posted October 3, 2016 Share Posted October 3, 2016 (edited) Hello, I've just change a grid_5 class in my header.tpl, save it, and when I've loaded the page it was a blank. I undid the change and save again, but the page was still blank. I've got this in my errors.csv: 03 Oct 2016 07:18:17,"/var/www/vhosts/ladiesandgentleman.es/httpdocs/classes/Media.php: 226","(Warning) filemtime(): stat failed for /var/www/vhosts/ladiesandgentleman.es/httpdocs/modules/blockcategories/blockcategories.css" 03 Oct 2016 07:18:17,"/var/www/vhosts/ladiesandgentleman.es/httpdocs/classes/Media.php: 226","(Warning) filemtime(): stat failed for /var/www/vhosts/ladiesandgentleman.es/httpdocs/modules/blockcms/blockcms.css" 03 Oct 2016 07:18:17,"/var/www/vhosts/ladiesandgentleman.es/httpdocs/tools/smarty/sysplugins/smarty_resource.php: 720","(Warning) filemtime(): stat failed for /var/www/vhosts/ladiesandgentleman.es/httpdocs/cache/smarty/compile/65/db/c6/65dbc67849c0f2f538c52601f56ae06c2b2fa8aa.file.header.tpl.php" What shall I do? Thank you! Edited October 3, 2016 by deyan4 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted October 3, 2016 Share Posted October 3, 2016 sounds like a permission issue. Most likely when you edit those files, you changed the permission of the files or folders to something that broke Prestashop Link to comment Share on other sites More sharing options...
deyan4 Posted October 3, 2016 Share Posted October 3, 2016 I've modified only the header.tpl file and it's permissions are 644 as they are for all of the files. Quite strange! Please help! Link to comment Share on other sites More sharing options...
deyan4 Posted October 3, 2016 Share Posted October 3, 2016 I've found this: [Mon Oct 03 03:40:00 2016] [warn] [client 51.255.65.7] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/ladiesandgentleman.es/httpdocs/themes/ladies/header.tpl" on line 115 "<li role="presentation" {if $language.iso_code==$ lang_iso}class="selected_language" {/if}> {if $language.iso_code != $lang_iso} {assign var=indice_lang value=$language.id_lang} {if isset($lang_rewrite_urls.$indice_lang)} <a tabindex="-1" role="menuitem" href="{$lang_rewrite_urls.$indice_lang|escape:htmlall}"" - Unexpected " ", expected one of: "{" , "identifier"' in /var/www/vhosts/ladiesandgentleman.es/httpdocs/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:665 in my error_log, but I can't see what's wrong here! Anyone? Link to comment Share on other sites More sharing options...
bellini13 Posted October 4, 2016 Share Posted October 4, 2016 what is line 115 of the header.tpl that you changed? Did you try to replace this file with the original one? Link to comment Share on other sites More sharing options...
deyan4 Posted October 4, 2016 Share Posted October 4, 2016 I've removed it and the front end appears now. But the strange things is that I haven't tuched that part of the code. <li role="presentation" {if $language.iso_code==$ lang_iso}class="selected_language" {/if}> {if $language.iso_code != $lang_iso} {assign var=indice_lang value=$language.id_lang} {if isset($lang_rewrite_urls.$indice_lang)} <a tabindex="-1" role="menuitem" href="{$lang_rewrite_urls.$indice_lang|escape:htmlall}" title="{$language.name}"> {else} <a tabindex="-1" role="menuitem" href="{$link->getLanguageLink($language.id_lang)|escape:htmlall}" title="{$language.name}"> {/if} {/if} <img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" width="16" height="11" /> {$language.name} {if $language.iso_code != $lang_iso} </a> {/if} </li> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now