Guest Posted November 2, 2005 Posted November 2, 2005 Hi all, I'm posting this here because I have had no response in the contrib support forum, hopefully someone here will be kind enough to help me. I have installed the contrib for the fckeditor, all seemed well but when I go to the add product pages this error comes up where the editor should be, The requested URL /catalog/admin/path/from/public_html/to/FCKeditor/editor/fckeditor.html was not found on this server. Any help would be appreciated Norri
cujimmy Posted November 2, 2005 Posted November 2, 2005 OK - the problem probably is that everyone's thinking "where do I start?" so I'll chip in with this... The URL it's looking for doesn't exist because, somewhere along the line, you've told it to look for: /catalog/admin/path/from/public_html/to/FCKeditor/editor/fckeditor.html I don't know exactly how you got that to happen but, obviously, "path/from/public_html/to/FCKeditor/" should not be in there. At some point in the install, you should have replaced the words "path/from/public_html/to/FCKeditor/" with... literally, the path from public_html to the FCKeditor... which is possibly something like: /catalog/admin/editor/fckeditor.html. Simplest thing is to go back over the install to find that moment (do a FIND for that "path/from" line) but also have a look in admin/includes/configure.php There should be a couple of lines maybe around 37. Just check that they're OK for a start. define('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/'); define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');
Guest Posted November 2, 2005 Posted November 2, 2005 Hi, Many thanks for this. In the instructions to download and instal it doesn't mention anything about changing file names, all it said was to download to the catalog directory and make sure some code is in html_output .php etc. I made sure that the correcponding files went where they should, ie, includes to includes etc. As a newcomer I have to say that the instal directions on many contribs are not very clear, they seem to be aimed at people who are experienced. I have successfully installed quite a few contibs to my website but this seems a whole lot harder. I will go and trace back the instal and check the config files. Many thanks Norri
Guest Posted November 2, 2005 Posted November 2, 2005 Hi, Thos two lines were not in the config file, line 37 was where the code finished and the server stuff starts after. Tried putting them in but no change. Should the instal have updated the config file somehow, because theres no config file that comes with fckediter as far as I can see. Regards Norri
Guest Posted November 2, 2005 Posted November 2, 2005 Right I found that the following code needed to be inserted into html_output.php on line 263 $oFCKeditor -> BasePath = 'path/from/webserver/root/to/FCKeditor/';) ( This is exactly as it is in the instal doc, yey now I get the folling when trying to enter admin, Parse error: parse error, unexpected ')' in /home2/superfas/public_html/amazonremedy/catalog/admin/includes/functions/html_output.php on line 263 I tried moving the ' to after the semicolon also the trailing / but it didn't change things. Norri
cujimmy Posted November 2, 2005 Posted November 2, 2005 Right I found that the following code needed to be inserted into html_output.php on line 263 $oFCKeditor -> BasePath = 'path/from/webserver/root/to/FCKeditor/';) ( This is exactly as it is in the instal doc, yey now I get the folling when trying to enter admin, Parse error: parse error, unexpected ')' in /home2/superfas/public_html/amazonremedy/catalog/admin/includes/functions/html_output.php on line 263 I tried moving the ' to after the semicolon also the trailing / but it didn't change things. Norri Try replacing that line with: $oFCKeditor -> BasePath = (DIR_WS_FCKEDITOR);
cujimmy Posted November 2, 2005 Posted November 2, 2005 Try replacing that line with:$oFCKeditor -> BasePath = (DIR_WS_FCKEDITOR); I should explain that I've never installed this contrib - just thought I'd chip in if no-one else had anything to offer. I just re-read your last two posts so... if that last suggestion (which depends upon the path to the editor having been defined) doesn't do the job try replacing the line with: $oFCKeditor -> BasePath = 'catalog/admin/editor/fckeditor.html'; or, if your editor directory is not inside the admin folder, then it could be: $oFCKeditor -> BasePath = 'catalog/editor/fckeditor.html'; BTW, the semi-colon ends the line so nothing should follow it on that line.
Guest Posted November 2, 2005 Posted November 2, 2005 Ok great that solved that problem, taking out the ( did the trick, but I am back to getting the 404 on the product pages. To check the path, which files should I be looking at, config looks ok now. Norri
cujimmy Posted November 2, 2005 Posted November 2, 2005 What was the 404 error problem? - I didn't see that post.
Guest Posted November 2, 2005 Posted November 2, 2005 Don't know if this is important but I just checked the server error log and the listing shows this /home2/superfas/public_html/amazonremedy/404.shtml Whats the "s" doing there Norri
cujimmy Posted November 2, 2005 Posted November 2, 2005 Google "Server Side Includes" It's just a more user-friendly alternative to getting the basic 404 error.
Guest Posted November 2, 2005 Posted November 2, 2005 Sorry it's this below, I get all the way into adim then click on add product and this error comes up where the editor should be, The requested URL /catalog/admin/path/from/public_html/to/FCKeditor/editor/fckeditor.html was not found on this server In a previous post you said it didn't look right, but the main file within admin is FCKeditor, within that is a sub file editor and then within this is the fckeditor.html I can't seem to find anything that I changed on instal to make the error happen Regards Norri
Guest Posted November 8, 2005 Posted November 8, 2005 Hi cujimmy Any ideas what I should do now. Regards Norri
Recommended Posts
Archived
This topic is now archived and is closed to further replies.