Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FCKeditor reinstallation problems


beadsgalore

Recommended Posts

Posted

Help please - we're on v 2.2 and have been using FCKeditor with our newsletter manager. We've recently changed our hosting company and notice that the editor has not worked since. In attempting to reinstall and follow all instructions here http://addons.oscommerce.com/info/5679 we now encounter the following error message:

 

Fatal error: Cannot redeclare tep_draw_fckeditor() (previously declared in /var/www/vhosts/beadsgalore.co.nz/httpdocs/admin/includes/functions/html_output.php:285) in/var/www/vhosts/beadsgalore.co.nz/httpdocs/admin/includes/functions/html_output.php on line 311

 

I have reinstalled the original html_output.php but the same error re-occurs and we now cannot access any of our files. This is beyond me so I would be really grateful if someone could help!!!

 

Thanks

Jo

Posted

@@beadsgalore

 

If you are now running on a PHP 5.3.x server, you will need to update more than FCKeditor. More than likely the FCKeditor was declared in the /includes/header.php and the new instructions have it declared in the /includes/functions/html_output.php file.

 

 

 

Chris

Posted

@@beadsgalore

 

If you are now running on a PHP 5.3.x server, you will need to update more than FCKeditor. More than likely the FCKeditor was declared in the /includes/header.php and the new instructions have it declared in the /includes/functions/html_output.php file.

 

 

 

Chris

 

 

Thanks Chris -

 

I've restored the previous version of FCKeditor and restored the previous version of the html_output.php but am still getting the following error message:

 

Warning: require(DIR_FS_ADMIN/FCKeditor/fckeditor.php) [function.require]: failed to open stream: No such file or directory in/var/www/vhosts/beadsgalore.co.nz/httpdocs/includes/functions/html_output.php on line 39

 

Warning: require(DIR_FS_ADMIN/FCKeditor/fckeditor.php) [function.require]: failed to open stream: No such file or directory in/var/www/vhosts/beadsgalore.co.nz/httpdocs/includes/functions/html_output.php on line 39

 

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_ADMIN/FCKeditor/fckeditor.php' (include_path='.:/usr/share/php') in/var/www/vhosts/beadsgalore.co.nz/httpdocs/includes/functions/html_output.php on line 39

 

My original raw files don't even have html_output.php. Removing line 39 altogether I can access my cms but the above is the error message that shows when we try to access the store from the front end, ie index.php.

 

Do you happen to have any idea how I can fix this without asking my hosting co to restore the entire site from a backup?

 

Thanks,

Jo

Posted

@@beadsgalore

 

ALL versions of osCommerce have an ./includes/functions/html_output.php. Have you checked to ensure that you have the /admin/fckeditor/fckeditor.php file in that directory ?

 

Also, this is a concern (DIR_FS_ADMIN as it should show your admin directory name. Verify your /admin/includes/configure.php file has the correct path.

 

 

 

Chris

Posted

@@beadsgalore

 

ALL versions of osCommerce have an ./includes/functions/html_output.php. Have you checked to ensure that you have the /admin/fckeditor/fckeditor.php file in that directory ?

 

Also, this is a concern (DIR_FS_ADMIN as it should show your admin directory name. Verify your /admin/includes/configure.php file has the correct path.

 

 

 

Chris

 

Thanks so much for your time Chris. Yes to both of the above. I'm at a loss.

 

Jo

Posted

Did you accidentally upload your catalog/includes/configure.php to admin/includes/configure.php? Did you upload one or more of the admin side files to the catalog side (possibly /includes/functions/html_output.php)?

 

DIR_FS_ADMIN should only be called on the admin side of your store. If you see that in an error message on the catalog side, that means that you have one or more files in the wrong place.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...