Zen Cart Logo
Forums / Bug Reports / [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

[Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

Locked

Views: 3,065

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Sep 2006, 6:13 PM
#1
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

[Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

Fatal error: Cannot instantiate non-existent class: fckeditor in /home/tvclass/public_html/admin/includes/modules/product/collect_info.php on line 403

When trying to edit product descriptions, It seems to be looking for the FCK editor even if you have NONE selected in the My Store area. And since it doesn't exist in the core without installing the plugin. it can't check for it.

After I installed the plugin. It no longer gives error.. even tho I am still not using it.

4 Sep 2006, 6:20 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

I can't duplicate this...

Perhaps you can describe the steps you took to get to this point?

4 Sep 2006, 6:29 PM
#3
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

  1. Copied all 1.3.5 files to server. Overwrote all the 1.3.0.1 files.

  2. Ran the Install, it upgraded the database with no problems.

  3. Went to Admin->Category->Categories/Products

  4. Selected an item.

  5. Gives error mentioned above.

  6. I made sure Admin->Configure->My Store->HTMLArea was set to NONE.

  7. Same error.

  8. I downloaded and copied the FCKEditor plugin for 1.3.5.

  9. Problem went away.

So it seems if you dont have FCK editor installed already.. that it is checking something that doesn't exist or something. Same problem on my test site and my production site.

4 Sep 2006, 6:33 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

any mods/contributions installed?

4 Sep 2006, 6:41 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

lines 402 and 403 of that file say:```
<?php if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") {
$oFCKeditor = new FCKeditor('products_description[' . $languages[$i]['id'] . ']') ;


If you have not selected FCKEDITOR from the pulldown, you will not get the error.

It suggests to me that you had the plugin installed, then removed it, changed things, tested, and it was not working because it was still remembering your previous selection.
Normally closing your browser, or at least logging out of the Admin should be enough to clear the preference. Clearing browser cache may assist further.
4 Sep 2006, 7:17 PM
#6
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

I did have the folder originally when it was the folder in the root directory. But still had it set to none in the admin area.. maybe there was something left behind that caused it. Ah well its working now with the plugin folder there. I'll just leave well enough alone.
Thanks for quick replies

4 Sep 2006, 8:37 PM
#7
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

hi i have just today installed a fresh copy of zen 1.3.5 on my local pc on apache 2.2
i see the above message on the top of admin pages. my sql backup module also does not work. e-mail export too. in cross sell; the next pages are not loaded although you see in adress bar page 2, 3 etc.
how can I add the new patch?

++++++++++++++++++++++++++
Server Information

Server Host: (158.13.161.110) Database Host: localhost (127.0.0.1)
Server OS: Database: MySQL 4.1.14-nt-max-log
Server Date: 09/04/2006 22:30:06 Database Date: 09/04/2006 22:30:05
Server Up Time:
PHP Version: 5.0.5 (Zend: 2.0.5)
HTTP Server: Apache/2.0.54 (Win32) PHP/5.0.5 mod_perl/2.0.1 Perl/v5.8.7

PROJECT_VERSION_NAME PROJECT_VERSION_MAJOR.PROJECT_VERSION_MINOR
Patch: PROJECT_VERSION_PATCH1::PROJECT_VERSION_PATCH1_SOURCE
Patch: PROJECT_VERSION_PATCH2::PROJECT_VERSION_PATCH2_SOURCE
Database Patch Level: 1.3.5
v1.3.5 [2006-09-04 12:45:11] (Fresh Installation)

4 Sep 2006, 11:28 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.5b] 1.3.5 atal Error if not using the FCKEditor Plugin

reza:

hi i have just today installed a fresh copy of zen 1.3.5 on my local pc on apache 2.2

PROJECT_VERSION_NAME PROJECT_VERSION_MAJOR.PROJECT_VERSION_MINOR
Patch: PROJECT_VERSION_PATCH1::PROJECT_VERSION_PATCH1_SOURCE
Patch: PROJECT_VERSION_PATCH2::PROJECT_VERSION_PATCH2_SOURCE
Database Patch Level: 1.3.5
v1.3.5 [2006-09-04 12:45:11] (Fresh Installation)

This issue was fixed in the updated Zip ... please re-download the Zen Cart v1.3.5 file for the fix.