Page 1 of 1

OpenCart 2.0.1.1 Product Description HTML bug

Posted: Fri Dec 26, 2014 4:54 pm
by smokkky
Hello All,

I installed a fresh OC 2.0.1.1 and everything was smooth.

I added a product and put some images and text formatting in the product description. It

looked good untill I saved the product. all the images and text formatting was gone in the

product view.

I edited the product and notices some strange "&quote; and a lots of \\\\\\\\ stuff in code

view. I again posted some images but all were gone after saving the product.

Is it a bug or some issue with my server?

Kindly help :)

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Wed Jan 07, 2015 6:43 am
by clickmyoffer
Hello: I had a similar experience when I inserted the product description in the text area, then went to save - I get an error (in red at the top) that says the description cannot be blank. However = there it is! Any body able to help us with this please?

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Wed Jan 07, 2015 9:07 am
by onlinemarketer
Hi guys, his seems to be a server issue - normally playing around with the .htaccess fixes it - like uncommenting magic quotes - or even asking your server admins to check their settings.

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Wed Jan 07, 2015 3:50 pm
by smokkky
Extra \"\"\"\" in product description HTML issue in OC 2.0.1.1

I'm assuming this a very rare issue because every expert seems to be ignoring this on several posts. If anyone is expert enough to help naive persons like me, kindly take a look at these notices:

1) This doesn't look like a magic quotes issue because I tested OpenCart 1.5.5 on the same server and the same worked just fine.

2) When I untagged the magic quote line in .htaccess, the site goes on a 500 Internal Error status!

3) I turned off magic quotes in php.ini but it didn't helped, I replaced the php.ini from the working OC 1.5.5.1 folder, it didn't worked too!

4) I replaced a summernote JS code as suggested at the github but that didn't helped!

5) Is there any way to replace the summernote editor with the TinyMC or any other html editor as it was in old OC 1.5.x.x?

Please anyone help us on this issue as this is not letting many of us go live with OC 2.x

Thanks,

- Smokkky

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Tue Jan 13, 2015 4:46 pm
by pablopancho
Same problem here.
Magic quotes turned off in htaccess and php.ini.

Affects Information pages and HTML module, probably product description too.

The only thing that helps i avoiding putting any quotes in source mode, so instead
<img src="http:.....">
I put
<img src=http....> and so on

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Thu Jan 15, 2015 3:22 am
by clickmyoffer
Hello

I wonder if you have the MultiMerch Module installed over Open Cart. If you do, I think the issue may have been with that module. I was discussing a different subject with MultiMerch support and in reply I received this paragraph. Quote: “We’ve also fixed the description error along with a few other things so you should be able to get the latest update from GitHub that fixes those things”.

MultiMerch has responded to my enquiries exceptionally fast and efficiently, and I know they are working very hard to fix any problems resulting from the Open Cart 2. upgrade. However, just as an aside, it seems to me that some developers are assuming users (“me”) are adept at coding. Providing clear instructions as to what to download, how and where to upload the patch files would save us so much time. Just saying.

I hope this has helped.

Dave

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Thu Jan 15, 2015 10:57 pm
by pablopancho
I don't use MultiMerch.
I installed OC 2.0.1.1 via script in cPanel.

From my point of view OC adds quotes thinking they are missing. Everytime I save e.g. About us page it adds quotes again. Therefore if I don't put any quotes, OC adds them upon saving making the page OK. But if I edit the page, the old
'src="http'
change into
'src="\"http'.

Any ideas?

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Tue Jan 20, 2015 1:48 pm
by amdev
How to fix the Magic Quotes gpc On???

Open .htaccess

Add this line of the end of file

Code: Select all

php_flag magic_quotes_gpc Off
php_value magic_quotes_gpc Off
Or upgrade your PHP to 5.4+

Goodluck...

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Wed Jan 21, 2015 7:57 pm
by pablopancho
adding "php_value magic_quotes_gpc Off" seems to have helped.

Thank you for help. One headache less. :)

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Fri Jan 23, 2015 11:04 pm
by BeerinaBottle
I also have this problem but adding:

php_flag magic_quotes_gpc Off
php_value magic_quotes_gpc Off

did not cure the problem, it made my site inaccessible, every page came up as a 404 error.

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Sat Jan 24, 2015 10:09 pm
by mRC
Hi all


I have the same problem and it is down to the server, I have 2 hosting companies and have the same site running on both and only one has the same issue (///////). I have tried changing the .htaccess file with no luck.

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Sun Jan 25, 2015 6:06 pm
by BeerinaBottle
I am running Opencart 1.5.6.1 without any problems. I am testing Opencart 2.0.1.1 in a subdirectory of that site so if this is a server issue why is it not affecting 1.5.6.1 as well?

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Sun Jan 25, 2015 6:43 pm
by allenshea
BeerinaBottle wrote:I am running Opencart 1.5.6.1 without any problems. I am testing Opencart 2.0.1.1 in a subdirectory of that site so if this is a server issue why is it not affecting 1.5.6.1 as well?

Same for me, I do have PM Daniel, but no luck, no explain. :(

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Wed Jan 28, 2015 8:03 pm
by BeerinaBottle
I have had this problem solved now. I contacted my web host and asked them to turn of 'magic quotes' for me and this did the trick.

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Tue Nov 03, 2015 3:19 pm
by chenpiaw
trendy4.jpg

trendy4.jpg (54.99 KiB) Viewed 3411 times

i also have meet same issue .

please advice how to solve

my one is OC 2.02

Re: OpenCart 2.0.1.1 Product Description HTML bug

Posted: Thu Dec 22, 2016 6:30 am
by gremaley
Hi All....

I have been pulling my hair out for days with this issue - basically unable to edit any product on our site....

OpenCart version is 2.0.3.1

This only happened AFTER we switched hosting companies (new server) and the new host company was clueless on how to fix it ...
SO I started experimenting with magic quotes, .htaccess, php.ini.... none of it worked!!!
The solution (for me) was upgrading from PHP 5.3 to 5.6....
Not only did the editor finally start working properly, but my site is much faster, hope this helps someone!