osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

FCKeditor errors when hit CATALOG in ADMIN

This is a discussion on FCKeditor errors when hit CATALOG in ADMIN within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Warning : main(/var/www/html/catalog/FCKeditor/fckeditor.php): failed to open stream: No such file or directory in /home/...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-27-2008, 05:09 PM
zap zap is offline
New Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
zap is on a distinguished road
Default FCKeditor errors when hit CATALOG in ADMIN

Quote:
Warning: main(/var/www/html/catalog/FCKeditor/fckeditor.php): failed to open stream: No such file or directory in /home/virtual/site75/fst/var/www/html/catalog/admin/categories.php on line 18

Fatal error: main(): Failed opening required '/var/www/html/catalog/FCKeditor/fckeditor.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site75/fst/var/www/html/catalog/admin/categories.php on line 18

I've tried everything I've found on this and other sites. I've done general internet searches for the errors and tried looking for those things. Finally, I've re-uploaded the original files in the FCKeditor directory and the categories.php file in the admin directory. --which brings me back to these original errors whenever I click on the catalog link from the admin panel.

I played with the paths to no avail.

Perhaps this is something stupid, but I"m unable to figure it out after a week or so of trying.

Can someone please point me in the right direction so I can get on with the configuration of this beast?

I actually tried OScommerce first, but the documentation was so difficult and getting answers to questions was semi-nonexistent in some areas. I had hoped that osMax was more developed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-27-2008, 06:30 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 409
Thanks: 3
Thanked 64 Times in 62 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
Default Re: FCKeditor errors when hit CATALOG in ADMIN

/var/www/html/catalog/FCKeditor/fckeditor.php

doesn't live there, it lives at

/var/www/html/catalog/admin/FCKeditor/fckeditor.php

Thus you're not able to find it where it doesn't exist.

Option 1: figure out why it's looking in the wrong place and fix it
Option 2: kluge it by creating a symbolic directory in catalog called FCKeditor that points to /catalog/admin/FCKeditor

I would look closer at option 1 as fixing it is better than kluging it.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-28-2008, 08:43 AM
zap zap is offline
New Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
zap is on a distinguished road
Default Re: FCKeditor errors when hit CATALOG in ADMIN

Quote:
Originally Posted by met00 View Post
/var/www/html/catalog/FCKeditor/fckeditor.php

doesn't live there, it lives at

/var/www/html/catalog/admin/FCKeditor/fckeditor.php

Thus you're not able to find it where it doesn't exist.

Option 1: figure out why it's looking in the wrong place and fix it
Option 2: kluge it by creating a symbolic directory in catalog called FCKeditor that points to /catalog/admin/FCKeditor

I would look closer at option 1 as fixing it is better than kluging it.

Actually, it was installed in the /catalog/ directory. Should it have been installed in the /admin/ directory?

I know the path is correct, that is why this doesn't make any sense to me.

If I just upload the FCKeditor directory to the /admin/ directory, will this cause other issues later?


...and thanks for helping!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-28-2008, 11:30 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 409
Thanks: 3
Thanked 64 Times in 62 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
Default Re: FCKeditor errors when hit CATALOG in ADMIN

Interesting. I have mine in admin. I have noticed that I also have one in the root.

Have you checked permissions on the files?
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 02-28-2008, 04:04 PM
zap zap is offline
New Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
zap is on a distinguished road
Default Re: FCKeditor errors when hit CATALOG in ADMIN

Yup....even put them at chmod 777

I uploaded a duplicate directory into the /admin/ and it still says its not there. ---this looks suspiciously like the problem I was having with OScommerce and the backups directory (haven't gotten that far with max yet.)


Ok...here is the relevant /admin/categories.php lines

Quote:

// LINE ADDED: FCKEditor
require(DIR_FCKEDITOR . 'fckeditor.php');
require(DIR_WS_CLASSES . 'currencies.php');
$currencies = new currencies();

Here is a good portion of the /admin/included/configure.php file


Quote:
define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', '/var/www/html/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_FS_CATALOG', '/var/www/html/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/');
define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');

Thanks again....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 02-28-2008, 09:26 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 409
Thanks: 3
Thanked 64 Times in 62 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
Default Re: FCKeditor errors when hit CATALOG in ADMIN

You say....
define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/');
But it seems that the doc root is actually:
/home/virtual/site75/fst/var/www/html/

That could be why it can't find it.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to met00 For This Useful Post:
zap (03-01-2008)
  #7  
Old 02-29-2008, 02:56 PM
zap zap is offline
New Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
zap is on a distinguished road
Default Re: FCKeditor errors when hit CATALOG in ADMIN

Quote:
Originally Posted by met00 View Post
You say....
define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/');
But it seems that the doc root is actually:
/home/virtual/site75/fst/var/www/html/

That could be why it can't find it.


That was indeed it. In my defense, I was given erroneous advice that it should be /var/www/html/ ....and since this was listed on my admin homepage (for the site) as the path to root.....I didn't question it.

Thanks for the help!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 03-01-2008, 10:55 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 409
Thanks: 3
Thanked 64 Times in 62 Posts
Rep Power: 6
met00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the roughmet00 is a jewel in the rough
Default Re: FCKeditor errors when hit CATALOG in ADMIN

Um, the best way to say "thanks" is to use the little thanks button on the note you want to thank. That actually gives the person "credit" in the form system for their effort.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
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
Oscommerce admin errors Kam Chari osCMax v2 Customization/Mods 0 11-14-2007 08:10 AM
Please Help Errors with Printable Catalog & Affiliate in auntie22 osCMax v1.7 Installation 2 02-06-2004 06:35 PM
Fatal Errors in Admin...... Anonymous osCMax v1.7 Installation 2 12-23-2003 06:50 AM
3 errors when I go to catalog or administration. BoblLoveland osCommerce 2.2 Installation Help 3 10-28-2003 06:59 PM
Admin module errors Ozi osCommerce 2.2 Modification Help 0 02-25-2003 05:43 AM


All times are GMT -8. The time now is 06:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax