BBUK
Oct 22 2006, 04:09 PM
Since upgrading from 3.0.12 to 3.0.13, the Editor in Admin backend creates errors in the pages you create. Specifically, it adds \" all over the place and won't display the images. It simply fouls up the HTML as soon as you click "Update"
Any ideas?
espresso
Oct 22 2006, 07:13 PM
QUOTE(BBUK @ Oct 22 2006, 05:09 PM)

Since upgrading from 3.0.12 to 3.0.13, the Editor in Admin backend creates errors in the pages you create. Specifically, it adds \" all over the place and won't display the images. It simply fouls up the HTML as soon as you click "Update"
Any ideas?
I'm having this exact same error and need it fixed, please if anyone knows how to fix this let me know my site is my income and now it's trashed.
peanutp
Oct 22 2006, 07:25 PM
QUOTE(espresso @ Oct 22 2006, 08:13 PM)

QUOTE(BBUK @ Oct 22 2006, 05:09 PM)

Since upgrading from 3.0.12 to 3.0.13, the Editor in Admin backend creates errors in the pages you create. Specifically, it adds \" all over the place and won't display the images. It simply fouls up the HTML as soon as you click "Update"
Any ideas?
I'm having this exact same error and need it fixed, please if anyone knows how to fix this let me know my site is my income and now it's trashed.
I have just noticed this too!! Support, can this please be addressed asap.
Cheers
PEte
espresso
Oct 22 2006, 07:32 PM
It isn't a problem with the FCKEditor, it actually disabled this for the home.php and even using the text editor it still does the exact same problem.
To verify it Is a problem with 3.0.13 you can disable the FCKEditor and text to see:
To Disable the FCK on the homepage:
Find:
<tr>
<td colspan="2" class="tdRichText">
<?php
$oFCKeditor = new FCKeditor('copy');
$oFCKeditor->BasePath = $GLOBALS['rootRel'].'admin/includes/rte/';
$oFCKeditor->Value = stripslashes($home['copy']);
$oFCKeditor->Create();
?>
</td>
</tr>
Replace with:
<tr>
<td colspan="2" class="tdText">
<textarea name="copy" class="textbox" rows="6" style="width: 560px;" ><?php if(isset($home['copy'])) echo stripslashes($home['copy']); ?></textarea>
</td>
</tr>
Citrus
Oct 23 2006, 11:16 AM
The problem lies within the magic quotes security patch added to includes/ini.inc.php file.
Line 104:
CODE
$val = (!get_magic_quotes_gpc ()) ? addslashes ($val) : $val;
If this line is commented out and the site docs' text (removing the backslashes) is re-saved, it displays correctly.
peanutp
Oct 23 2006, 12:08 PM
QUOTE(Citrus @ Oct 23 2006, 12:16 PM)

The problem lies within the magic quotes security patch added to includes/ini.inc.php file.
Line 104:
CODE
$val = (!get_magic_quotes_gpc ()) ? addslashes ($val) : $val;
If this line is commented out and the site docs' text (removing the backslashes) is re-saved, it displays correctly.
Thank you so much for that, has just solved the problem. :-)
Cheers
Pete
Citrus
Oct 23 2006, 01:34 PM
No problem

Looking into whether it poses a security threat being disabled though...at least it identifies the culprit!
vrakas
Dec 10 2006, 02:53 PM
I run into this same problem (CC3.0.14) and will HAVE to do as you guys suggested and thanks for the info

@Al, is this the solution or is there something else you will provide us?
Does this affect any other functions of CC?
I have added this to the pinned post for now
Thanks for the info guys. I know how to go about fixing it but it may take a little work.
I'd suggest making an exception to the addslashes rule in the ini.inc.php file.
i.e. Make every instance of the FCKEditor have the same variable name.
If variable name !== FCK's Name -> add slashes. That should fix it.
I'll get on the case asap.
vrakas
Dec 11 2006, 05:17 PM
Thanks Al, we will wait for this
vrakas
Dec 14 2006, 05:19 AM
Any news or modifications yet?
jacky
Dec 15 2006, 05:37 PM
I'm really sorry, i still don't understand how to do it,i removed the backslash before "ADD" and it comes more trouble in the homepage
// add slashes if magic quotes is off
$val = (!get_magic_quotes_gpc ()) ? addslashes ($val) : $val;
many thanks in advance
vrakas
Dec 15 2006, 05:44 PM
Follow this and it will work

QUOTE
The problem lies within the magic quotes security patch added to includes/ini.inc.php file.
Line 104:
CODE$val = (!get_magic_quotes_gpc ()) ? addslashes ($val) : $val;
If this line is commented out and the site docs' text (removing the backslashes) is re-saved, it displays correctly.
Thats a good temp fix. I haven't had a chance to get onto this yet.
vrakas
Dec 15 2006, 05:49 PM
QUOTE
Thats a good temp fix. I haven't had a chance to get onto this yet.
We are waiting for 4 days now and then is holidays so can we have it before that?
I can't make wine out of water sadly.
vrakas
Dec 15 2006, 05:58 PM
QUOTE(Al @ Dec 15 2006, 07:54 PM)

I can't make wine out of water sadly.
Ok, thank you for this reply.
I tell you what......... I wish I could!
jacky
Dec 15 2006, 06:10 PM
Hello there, thanks for your help. i think it maybe little bit different in here. i want to insert a link : <a href="http://clocks.thehomefurnishingstore.com/" title="Fine Selection Of Clocks" target="_blank">Fine Selection Of Clocks</a><br>
when i submit it then it automatic change to
<a title="\"Fine" href="\"http://clocks.thehomefurnishingstore.com/\"" target="\"_blank\"" of="" selection="">Fine Selection Of Clocks</a><br/>
which make the link not available anymore, hope someone could help me out with this one.
not really understand the structure the great guy just gave.
many thanks
vrakas
Dec 15 2006, 06:14 PM
Wouldnt we all?
Sadly, i also found that this problem occurs in other places of the CC cart even though i upgraded FCK to the latest version and comment out the line.
It will still show the " in the sentense when the receiver gets an email from the tell a friend.
ex: I found this '12" Mandarin Spawn 2' and thought that you may be interested.
Thanks.
@jacky
Try and do as above and see if there is a diference

Remember to backup before you do any changes.
jacky
Dec 15 2006, 06:17 PM
thanks man, hope there will be some solution soon
vrakas
Dec 15 2006, 06:23 PM
Am sure they will be, there always is
antzypants
Dec 21 2006, 05:51 AM
Hi
I'm experiencing many errors on my product description pages and site docs and was wondering if the fckeditor could be the problem?
Can someone pls tell me and if the changes mentioned earlier should be made.
Much appreciated
Thanks
Antz
These are the errors on all pages.
Line 34
Char 1
Error: object required
Code: 0
URL: //mia-g.com.au/infant-girls/cat_2htm
jacky
Dec 22 2006, 04:11 PM
still no solutions, hope someone can solve the prolem.
many thanks and happy holiday
design@jlum.com
Jan 9 2007, 03:11 PM
Yes, I am also waiting to see a solution and know it is being worked on.
Thanks for all the excellent work that has been put into this product and
a good forum so I know I am not the only one with a certain problem.
Hope everyone has had a good Holiday.
Linda
Stevie68
Jul 2 2007, 01:43 PM
This is still happening with 3.0.16 and i would have thought it would be fixed by now. Any update please Al?
Ive tried upgrading the RTE but for some reason the upgrade isnt working.
gdowkpc
Nov 15 2007, 02:40 AM
I'm having a problem that I can't seem to find addressed anywhere.
I am running a site with PostNuke. The url is
http://www.nwham.com. The store is at
http://nwham.com/store.
When I try to edit products or the home page, with what I guess is FCK Editor, I see a messed up version of the homepage of my Web site (not the home store page.).
The error says: Module store/admin/includes/rte/editor/fckeditor not available
This may be a conflict between PostNuke and CubeCart. Anyone come across this?
- Garrett
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.