Page 1 of 1

Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Mon Apr 03, 2006 11:13 pm
by trud
First:
General Server Information
Operating System Windows 2003
.NET Version 1.1.4322 & 2.0 and 2.0
PHP Version 5.12
IIS Version 6
Perl Version Active Perl 5.8
CMS MS                        cmsmadesimple-0.12.1.zip (latest stable)

Yes, thats right. I wanna run CMS ms in windows, with my current host, seekdotnet.com.
Reasson is simpel, I got room enough, plus I am too cheap to shell out for another host:-)

Well the install went ok, I followed the "Quick Install via FTP", from the official cmsms site.
All chmods where set correct. I have double checked that all files got uploaded. The new blank file was created, and yes as a .php file. I have used chmod 666 and 777 on the blank file, but still I get fatal error.

First when the install is ready it seems I am ok, I get the "congrat's, you are all setup".
But when I try to view the index.php I get this error:

Fatal error: Cannot redeclare class fckeditorx.

I am new to php, but have some experiance with .net cms's. Can people pls explain to me in laymans terms how to fix this?
I probebly need to configure one or more file(s) manually, but I will need step-by-step guiding, due to lack of knowledge. Filename, which lines to edit, what was in that line before, what will the new code be. Like that.

Hope someone has the time to help a noob.

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Wed Apr 05, 2006 3:36 pm
by trud
Sure someone must have seen this error before?

What could be causing this?

Fatal error:
Cannot redeclare class fckeditorx in D:\Clients\*my account number*
\my.domain.com\public_html\modules\FCKeditorX\FCKeditorX.module.php on line 704

The installation process run smooth, I have contact with the database, and the chmod settings (777+666) are applied to the correct folders/files. I even get the last message saying the installation is ok, cangrats. But then when I try to access the index.php I get the error.

Above in my first post is serverspec/php version etc. listed.

There must be a fix for this? Any one care to help me out?

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Wed Apr 05, 2006 3:41 pm
by tsw

Code: Select all

Fatal error:
Cannot redeclare class fckeditorx in D:\Clients\*my account number*
\my.domain.com\public_html\modules\FCKeditorX\FCKeditorX.module.php on line 704
that file is only 707 lines long..

check that your ftp client has uploaded files correctly

(Installer will have somekind of check for file corruption in the future as more and more people are experiencing problems with ftp clients corrupting files)

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Wed Apr 05, 2006 5:05 pm
by trud
Hmm. I uploaded the folder modules one more time, this time I skipped the FTP app, and used the filemanager in my copanel controlpanel. I uploaded the modules folder as a zipped folder, and unzipped it and gave it the correct name. I got a confirmation notice saying all files and folders was unzipped without corruption.

Then I checked that all folders and files in the folder modules excisted on the server. When this was confirmed by checking each folder and file I tried one more time to go to index.php.

I still get the same error. Can not figure this one out.
Just to check, I uploaded version 0.12 to a testfolder, followed the instriction, gave the correct write/read permissons and connected that to a new DB. This installation also went without problems, and it all seemed fine. Even here I got the congrats you are ready msg.

when trying to go to index.php I got a new error:

Not Found

The requested URL was not found on this server.

That is very strange. So I uploaded a slimmed down index.html containing just a few lines of text, and guess what, using the same url, except for /index.html rather then /index.php I can view the html file without problems.

So the requested url does excist very much. The issue must be releated to cms ms.

One final thought:
CMS MS, maybe not so simpel after all?

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Thu Apr 06, 2006 12:59 pm
by Greg
Are you able to access the admin panel in cmsms?
D:\Clients\*my account number*\my.domain.com\public_html\admin\

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Sun Apr 09, 2006 9:08 pm
by trud
A complete reinstall made things sort of work. But I must say there are still issues here.
FCK editor for one thing. Not crossbrowser friendly at all the way it is with the latest version.

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Thu Jul 20, 2006 12:05 pm
by fiddler
I, too, came up with the same error: Fatal error: Cannot redeclare class fckeditorx in mysite/htdocs/modules/FCKeditorX/FCKeditorX.module.php on line 31.

When I installed this on a "local host", I had no problems, everything was perfect.  But when I installed on a remote host for the db, I get the above error. 

I do not know where to go from here to get the program to work with the remote db.  I was not able to access any of the site, btw.

Anyone have any ideas?

-fiddler

Re: Fatal Error after install [Cannot redeclare class fckeditorx]

Posted: Thu Jul 27, 2006 3:21 pm
by Elijah Lofgren
fiddler wrote: I, too, came up with the same error: Fatal error: Cannot redeclare class fckeditorx in mysite/htdocs/modules/FCKeditorX/FCKeditorX.module.php on line 31.

When I installed this on a "local host", I had no problems, everything was perfect.  But when I installed on a remote host for the db, I get the above error. 

I do not know where to go from here to get the program to work with the remote db.  I was not able to access any of the site, btw.

Anyone have any ideas?
I would check the cms_modules table using phpMyAdmin and see if there are duplicate FCKeditorX rows. If there are, try deleting one of them.