osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

FCKeditor editor problem

This is a discussion on FCKeditor editor problem within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; I'm having 2 issues with a fresh install of oscMax 2.0 and the WYSIWYG editor. #1: Although saving the description ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 08-11-2005, 02:55 PM
New Member
 
Join Date: Jul 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cacooke
Default FCKeditor editor problem

I'm having 2 issues with a fresh install of oscMax 2.0 and the WYSIWYG editor.

#1:

Although saving the description of a category works (partially), whenever I bring up that category to edit it, the original content doesn't display or just doesn't exist. I'm assuming that it is not being pulled from the DB correctly, since it does display on the actual site. This is becoming very frustrating because if there needs to be just a small typo change, I have to re-do the whole thing.

#2:

Image uploads and insert doesn't work. All I get for a Path on upload is a forward slash. It also hangs and just shows UPLOAD in progress and hangs. If I hit F5 to refresh, it refreshes with no update...

it also show errors processing the page, OBJECT EXPECTED... I think it is a path problem, because NO program can write to my root "/" directory, period, and I think that is what it is trying to do - with an invalid path.

I'm running out of time...
PLEASE HELP!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-23-2005, 02:11 PM
New Member
 
Join Date: Jun 2005
Location: St Albans, UK
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
rjavery
Default

For the category descriptions see bugtracker http://bugtrack.oscmax.com/view.php?id=20 the fix worked for me.

Not sure about the images - don't you have to allow write to some directories such as catalog/images and catalog/admin/images. chmod 777 on these directories should do the trick.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-01-2005, 12:40 PM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
newzen
Default

i have the same problem to upload images from my computer, i select the images and say uploadling images but nerver go up.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-06-2005, 06:48 AM
Lurker
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
emma
Default

We are having the same problem - please post solution if you have it. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 09-06-2005, 08:28 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

http://oscdox.com/PNphpBB2-viewtopic-t-5190.html

Always read the stickies...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 09-12-2005, 01:37 AM
Member
 
Join Date: Sep 2004
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Sander
Default

i still have problems, cant upload anything, or make folders.

have read and applied every sticky and bugfix.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 09-14-2005, 10:10 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

There is a problem with FCKeditor and how it handles path info. I am not sure when they will fix it over at FCKeditor, but I have found a quick and dirty workaround for the issue.

In /FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php you need to hardcode the path you want to use. Change the following lines to something like this:

Line 24-25:
Code:
// Get the "UserFiles" path.
$GLOBALS["UserFilesPath"] = '/' ;
Line 39:
Code:
$GLOBALS["UserFilesDirectory"] = '/full/server/path/to/your/catalog/images' . $GLOBALS["UserFilesPath"] ;
Make sure your /catalog/images/ directory is writable by your webserver and you should be good to go...

Not the best solution, but it works.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 09-15-2005, 12:03 AM
Member
 
Join Date: Sep 2004
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Sander
Default

Works!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-30-2005, 12:09 PM
dcc dcc is offline
New Member
 
Join Date: Apr 2004
Location: Montreal
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dcc
Default

I have installed OCsmax 2RC2 and I just can not get the FCKeditor to work to show my image folder or to upload. I have tried the stickies as suggested and any other suggestions that have been posted. I still get an error on page message. The details of the error are as follows:
Line: 115
Char: 2
Error: Object required
Code: 0 url: .../catalog/FCKeditor/filemanager/browser/default/frmresourselist.html

Now if you go to the frmresourselist.html line 113 to 116 reads as follows:

line113 = // Get the current folder path.
line114 = var oNode = fckXml.SelectSingleNode( 'Connector/CurrentFolder' ) ;
line115 =var sCurrentFolderPath = oNode.attributes.getNamedItem('path').value ;
line116 = var sCurrentFolderUrl = oNode.attributes.getNamedItem('url').value ;

Now this is the same error i get with all the suggestions

Any more suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 12-12-2005, 09:39 AM
Member
 
Join Date: Dec 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
miahac
Default

I have tried both fixes mentioned here but when I use the FCKeditor I can upload and browse directories but when accept the image, the path does not include the whole url.

It only shows the /UserFiles/Image/someimage.jpg instead of the entire URL.

Any clues? I have updated from rc1 to rc2.
__________________
Network Administrator
Kansas Hosting
http://www.kansashosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
wysiwyg html editor problem joanstead osCMax v1.7 Discussion 1 10-25-2005 09:26 AM
Help for WYSIWYG editor 1.7 pop-up windows problem mspadafo osCMax v1.7 General Mods Discussion 3 07-24-2005 09:54 PM
WYSIWYG editor 1.7 problem benmkeller osCMax v1.7 General Mods Discussion 9 10-30-2004 07:37 AM
WYSIWYG editor problem laurens osCommerce 2.2 Modification Help 2 12-08-2003 07:49 PM
Problem using the html editor in admin maxi032 osCommerce 2.2 Modification Help 1 11-14-2003 03:16 AM


All times are GMT -8. The time now is 08:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax