lanterneled Posted August 18, 2012 Share Posted August 18, 2012 (edited) Hello. Is almost 2 weeks since i did not added new products on my shop. Today i decided to add some noew ones and i followed the regular procedure. I created a product but when i try to add images to product i select image, i press save and stay , i get the message Update succesful but image is not uploaded. On images tab is still 0 and the image dont appear on my shop too. I was trying to add images to older products but is same problem. If i try to delete images from older products i can succesfully do it. Is not a problem about image size or characteristics because i was trying to add images that i succesfully uploaded to my shop in past and still not working. I checked the prmisions to img folder and is curently set to 0755.Also 0755 is to all folders in root of website. I temporarly changed permisions to 0777 but still not working. Server informations Versiunea PrestaShop: 1.4.8.2 Informațiile serverului: Linux #1 SMP Wed Jan 4 18:40:17 EET 2012 x86_64 Versiunea softului serverului: Apache Versiunea PHP: 5.3.10 Versiunea MySQL: 5.1.63-cll Shop informations Shop URL: http://www.lanterne-laser.ro/ Theme: prestashop_new Please help me to identify and repair the problem . Thank you . Edited August 18, 2012 by lanterneled (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2012 Share Posted August 18, 2012 turn on displaing errors (you must edit config file in php) and try to catch error Link to comment Share on other sites More sharing options...
lanterneled Posted August 18, 2012 Author Share Posted August 18, 2012 i am not so advanced...i manage myself the shop at the moment but i have only basic knowledge about online shops. What is the name of file i should modify? what modifications i must do? Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2012 Share Posted August 18, 2012 (edited) i am not so advanced...i manage myself the shop at the moment but i have only basic knowledge about online shops. What is the name of file i should modify? what modifications i must do? edit file: config/config.inc.php and change line 29. you will find there something similar to: @ini_set('display_errors', 'off'); change it for: @ini_set('display_errors', '1'); @ini_set('error_reporting', E_ALL); Next try to upload product images and you will see errors (if occured) Edited August 18, 2012 by vekia_pl (see edit history) Link to comment Share on other sites More sharing options...
lanterneled Posted August 18, 2012 Author Share Posted August 18, 2012 i did exaclty like you said. When i tryed to upload photo was like before...Update success but no photo updated and no error on update screen. The error should appear on images page in back office right? Link to comment Share on other sites More sharing options...
lanterneled Posted August 19, 2012 Author Share Posted August 19, 2012 <p> </p> <pre style="color: rgb(0, 0, 0); font-size: 11px; "> This are the last errors that appear in error_log file in root of website. Could be because this? Stack trace: #0 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(15, '{') #2 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(15, in /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 [10-Aug-2012 21:12:18 UTC] PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/lanterne/public_html/modules/blockcontact/blockcontact.tpl" on line 32 "{if $email != ''}<a href="http://www.lanterne-laser.ro/contacteaza-ne">Contact<br> our hotline</a>">{l s='Contact' mod='blockcontact'{l s=''}<br/> {l s='our hotline' mod='blockcontact'}</a>{/if}" - Unexpected "{", expected one of: "}" , " "' in /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(15, '{') #2 /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(15, in /home/lanterne/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 [18-Aug-2012 20:31:37 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [18-Aug-2012 20:31:41 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:23:03 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:25:22 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:25:37 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:26:07 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:26:39 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:27:07 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:27:37 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:28:08 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:28:38 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:29:08 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:29:38 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:30:08 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 00:30:38 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 03:27:10 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56 [19-Aug-2012 03:27:16 UTC] PHP Notice: Undefined property: ShopBackwardModule::$id_group_shop in /home/lanterne/public_html/override/classes/Tools.php on line 56</pre> Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2012 Share Posted August 19, 2012 Notices shouldn't affect in uploading process. Are you sure that errors and notices you pasted here were created exactly during you try to upload photos? It's important, maybe these errors and notices may relate to something else Link to comment Share on other sites More sharing options...
lanterneled Posted August 19, 2012 Author Share Posted August 19, 2012 problem resolved. Was some restricted access for hosting provider. I contacted them and they solved the problem fast. Link to comment Share on other sites More sharing options...
jazzper Posted October 9, 2012 Share Posted October 9, 2012 problem resolved. Was some restricted access for hosting provider. I contacted them and they solved the problem fast. I still have this problem. Can you please clarify what 'some restricted acces for hosting provider' was? Thx! Link to comment Share on other sites More sharing options...
lanterneled Posted October 9, 2012 Author Share Posted October 9, 2012 i really dont know what hosting provider did. just tell them about thiis problem and maybe they will know what to do. I just told to host privider about this problem and in 5 minutes they contacted me back and told me that problem was something about some fieles witch had restricted rights for writing. 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