Jump to content

Can't edit products description


Recommended Posts

Hi,

 

I have a huge problem in my Prestashop 1.5.4.1

I can't edit products description. It's no problem to add a new product but the description will not be saved.

 

When I edit a product and save it, there is no error massage. The product is saved correctly (name, price, seo-data, ...) but the changes in the (short)description wasn't saved.

The description of categories or manufacturers can be modified without problems.

 

We haven't installed any modules during the last weeks.

 

what's the problem?

Link to comment
Share on other sites

There are no special character in the description. 

I added a new product:

shortdescription: test

description: test text

All data of this new product where saved correctly, but the description fields are empty after saving.

 

Now there's a new phenomenon: sometimes it works to save the description. But 1 min. later it don't work again.

Could it be a caching problem?

Link to comment
Share on other sites

Hello,


 


Same issue to me.


 


Cannot update description, short description or product tags.


 


But I can change product name, code, price, etc. I can change categories description, and short description, etc.


 


My last modification on the shop was changing the tinyMCE ...I extended the editing posibilities following vekia's post. The extended editor works in the CMS pages...and it shows on the product pages...but the description, short description and tags just cannot be updated. I don't know if the problem is from the tinyMCE...or there is another cause.


 


After saving the product the message is "Updated succesfully"...no error (even with debugging true)...but nothing saves.


I'm using 1.5.6.0.


2 days ago I added products without any problems.


 


In the ps_log table there are positions registered with my user id...and "Product edition"...but I cannot see the changes in the BO or FO.


 


Please help.


Link to comment
Share on other sites

Hello,

 

I changed back with the original files...and I can save & modify the products now.

I don't know where the issue was.

 

I think I will continue without tinyMCE.

 

PS: vekia - in the validate.php function the check for html validity had only : return true;...everything else was commented.

Link to comment
Share on other sites

  • 1 month later...

Hello,

 

I changed back with the original files...and I can save & modify the products now.

I don't know where the issue was.

 

I think I will continue without tinyMCE.

 

PS: vekia - in the validate.php function the check for html validity had only : return true;...everything else was commented.

 

without possibility to check the validate file it's ahrd to say whats going on. Im more than convinced taht issue was related to validate function.

Link to comment
Share on other sites

can you turn on error reporting:

 

open config/defines.inc.php

find this line define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
 
try to save product now, i suppose (i hope so!) that you will see some errors related to sql now
Link to comment
Share on other sites

 

can you turn on error reporting:

 

open config/defines.inc.php

find this line define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
 
try to save product now, i suppose (i hope so!) that you will see some errors related to sql now

 

I get the line 612 in red

607. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
608. 		}
609. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
610. 		{
611. 			if ($sql)
612. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
613. 			throw new PrestaShopDatabaseException($this->getMsgError());
614. 		}
615. 	}
616. 
617. 	/**
Edited by ivanmelior (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

I am having a very similar problem. I just deleted the French language from Languages. I haven't changed anything else. When I try to update the product description is just reverts back and will not change.

 

I turned on error reporting and this is what I get in the error log:

 

[02-May-2014 00:07:28] PHP Warning:  parse_url(/login?back=http://deverallc.com/shop/en/module/blockwishlist/mywishlist) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in mybaseurl/shop/classes/Dispatcher.php on line 746

 

Any ideas?

Link to comment
Share on other sites

Anyone have any ideas on why this has happened? Why would uninstalling the French language make product descriptions unable to update? I really need an answer on this and how to fix it so I can continue development of my website.

Link to comment
Share on other sites

I found my solution. Apparently if your short description is too long then the product listing will not update. By default, in my Prestashop 1.6 installation, the short description length was set to 0. If you go in your back office -> Preferences -> Product, you can change that 0 to any number you want. Then, the product will update with the new information.

  • Thanks 2
Link to comment
Share on other sites

I'm still having a similar problem, but not with the short and long description fields, but with features, prices, quantities, and attachments.  Once I add description and save or save and stay, everything works great.  Once I re-enter the created product, I can never save any updated information, it eventually returns a 404 error message.  Any ideas? 

Link to comment
Share on other sites

  • 2 weeks later...

i have the same problem  in guest checkout

 

 

Warning: parse_url(/authentifizierung?back=www.shop.com/order?step=1&multi-shipping=0) [function.parse-url]: Unable to parse URL in /classes/Dispatcher.php on line 746

Warning: Cannot modify header information - headers already sent by (output started at /classes/Dispatcher.php:746) in //classes/Tools.php on line 110

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

  • 1 month later...
  • 3 months later...

Hello,

 

I changed back with the original files...and I can save & modify the products now.

I don't know where the issue was.

 

I think I will continue without tinyMCE.

 

PS: vekia - in the validate.php function the check for html validity had only : return true;...everything else was commented.

 

Me too, I had to change back the code from both files and now I can save prices. 

 

The weird thing is that the tinyMCE is stil there... I guess in 1 or 2 days will be gone, since, for some reason I don't still know, some of the changes I do to the prestashop 1.6 don't reflect inmediately, it takes a couple of days sometimes.

Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...
  • 11 months later...

Hi,

 

I've duplicated a product and can not seem to edit anything to it.  

 

I've tried changing the name of the product, the description and reference code.  No errors, it just doesn't save.  I saw some old threads, but they don't appear to be the same issue as I can't save any new info, but they couldn't save the description only.

 

Any help would be appreciated.

 

*Update, "Save and Preview" seems to work to save the Product, but "Save" and "Save and Stay" do not.

Edited by dungeoncrawler (see edit history)
  • Like 1
Link to comment
Share on other sites

Hi,

 

I've duplicated a product and can not seem to edit anything to it.  

 

I've tried changing the name of the product, the description and reference code.  No errors, it just doesn't save.  I saw some old threads, but they don't appear to be the same issue as I can't save any new info, but they couldn't save the description only.

 

Any help would be appreciated.

 

*Update, "Save and Preview" seems to work to save the Product, but "Save" and "Save and Stay" do not.

Hi, I'm appear to have same problem with you.

When duplicate or create new product, then fill the information and Save/Save and Stay, it just not work (sometimes work and many times didn't work). It just happend from this week, before that I have no problem in creating or editing product.

I already clear cache, but still not working.

Is it related with prestashop version or what? someone please help :(

Link to comment
Share on other sites

Hi, I'm appear to have same problem with you.

When duplicate or create new product, then fill the information and Save/Save and Stay, it just not work (sometimes work and many times didn't work). It just happend from this week, before that I have no problem in creating or editing product.

I already clear cache, but still not working.

Is it related with prestashop version or what? someone please help :(

Do you use Google Chrome? Most likely it's just related to a bug with the latest Chrome versions. Try to use Firefox or something else. Or update your PrestaShop.

Also check the "Caching" settings at the "Performance" tab. If you use some caching system like APC or Xcache, it can ignore cache clearing and give you weird bugs sometimes.

  • Like 1
Link to comment
Share on other sites

Do you use Google Chrome? Most likely it's just related to a bug with the latest Chrome versions. Try to use Firefox or something else. Or update your PrestaShop.

Also check the "Caching" settings at the "Performance" tab. If you use some caching system like APC or Xcache, it can ignore cache clearing and give you weird bugs sometimes.

Thankyou! I try Safari and it just fine. Everything back to normal. Hope that Chrome will fix this bug soon.

Thankyou so much for the information. Really appreciate it :D

Link to comment
Share on other sites

×
×
  • Create New...