Post by smokkky » Fri Dec 26, 2014 4:54 pm

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 :)

Newbie

Posts

Joined
Tue Dec 23, 2014 7:09 pm

Post by clickmyoffer » Wed Jan 07, 2015 6:43 am

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?
Last edited by clickmyoffer on Sun Jan 11, 2015 4:55 am, edited 1 time in total.

Please Remember This Life's Lesson
"The Problems We Have Created Cannot Be Solved
At The Level Of Thinking That Created Them"


User avatar
Newbie

Posts

Joined
Thu Oct 23, 2014 2:11 am
Location - Maple Ridge, British Columbia, Canada

Post by onlinemarketer » Wed Jan 07, 2015 9:07 am

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.

Active Member

Posts

Joined
Sat May 14, 2011 8:21 pm

Post by smokkky » Wed Jan 07, 2015 3:50 pm

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

Newbie

Posts

Joined
Tue Dec 23, 2014 7:09 pm

Post by pablopancho » Tue Jan 13, 2015 4:46 pm

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

Newbie

Posts

Joined
Wed Oct 08, 2014 8:03 pm

Post by clickmyoffer » Thu Jan 15, 2015 3:22 am

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

Please Remember This Life's Lesson
"The Problems We Have Created Cannot Be Solved
At The Level Of Thinking That Created Them"


User avatar
Newbie

Posts

Joined
Thu Oct 23, 2014 2:11 am
Location - Maple Ridge, British Columbia, Canada

Post by pablopancho » Thu Jan 15, 2015 10:57 pm

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?

Newbie

Posts

Joined
Wed Oct 08, 2014 8:03 pm

Post by amdev » Tue Jan 20, 2015 1:48 pm

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

ร้านค้าออนไลน์
OpenCart Thailand Support Forum
How to Upgrade oc1.5 to 2.0.1.1
Upgrading OpenCart From v.1.4 or v.1.5 to V.2.2 Step by step


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 3:40 pm
Location - Bangkok - Thailand

Post by pablopancho » Wed Jan 21, 2015 7:57 pm

adding "php_value magic_quotes_gpc Off" seems to have helped.

Thank you for help. One headache less. :)

Newbie

Posts

Joined
Wed Oct 08, 2014 8:03 pm

Post by BeerinaBottle » Fri Jan 23, 2015 11:04 pm

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.

Real Ales from an Online Beer Shop


New member

Posts

Joined
Wed Feb 12, 2014 11:35 pm
Location - Hull, East Yorkshire

Post by mRC » Sat Jan 24, 2015 10:09 pm

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.

mRC
Active Member

Posts

Joined
Wed Nov 12, 2014 12:43 am

Post by BeerinaBottle » Sun Jan 25, 2015 6:06 pm

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?

Real Ales from an Online Beer Shop


New member

Posts

Joined
Wed Feb 12, 2014 11:35 pm
Location - Hull, East Yorkshire

Post by allenshea » Sun Jan 25, 2015 6:43 pm

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

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by BeerinaBottle » Wed Jan 28, 2015 8:03 pm

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.

Real Ales from an Online Beer Shop


New member

Posts

Joined
Wed Feb 12, 2014 11:35 pm
Location - Hull, East Yorkshire

Post by chenpiaw » Tue Nov 03, 2015 3:19 pm

trendy4.jpg

trendy4.jpg (54.99 KiB) Viewed 5222 times

i also have meet same issue .

please advice how to solve

my one is OC 2.02

Newbie

Posts

Joined
Mon Nov 02, 2015 11:49 pm

Post by gremaley » Thu Dec 22, 2016 6:30 am

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!

Newbie

Posts

Joined
Sun Mar 29, 2015 10:12 pm
Who is online

Users browsing this forum: No registered users and 26 guests