Jump to content

Recommended Posts

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 by lanterneled (see edit history)
Link to comment
Share on other sites

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 by vekia_pl (see edit history)
Link to comment
Share on other sites

<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 != ''}&lt;a href=&quot;http://www.lanterne-laser.ro/contacteaza-ne&quot;&gt;Contact&lt;br&gt; our hotline&lt;/a&gt;&quot;&gt;{l s='Contact' mod='blockcontact'{l s=''}&lt;br/&gt; {l s='our hotline' mod='blockcontact'}&lt;/a&gt;{/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

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

  • 1 month later...

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

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

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...