I have struggled with installation for a few days now.
First I installed version 0.12.1, could not get that to work, even if the install went smooth, no errors reported. When I tried to go the the site after installation, all I got was a fatal arror:
Fatal error: Cannot redeclare class fckeditorx in D:\Clients\muclint_ID\mydomain.com\public_html\modules\FCKeditorX\FCKeditorX.module.php on line 704
I scratched all files and folders, deleted everything. Started over once more. Gave correct chmod to correct folders/file made sure the empty config.php was named just that without any .txt.
Even now I got the same error. So after tip in the forum, I uploaded the modules folder one more time, after deliting the excisting one. This time I made sure all the files and folder inside modules was not corrupted, and that they excisted on the server. Still just keep getting the same error.
So I made a new folder in my account, named it test and uploaded version 0.12.
I did all the steps as above, confirmed that they all excisted and run the install. Even here the install was smooth, no errors reported, the database was created, the tables was created everything seemed ok. This time I was sure that I had checked everything possible manually before I tried to load mydomain.com/test/index.php. I was so sure it would load. turns out it did not. All I got this time was:
Not Found
The requested URL was not found on this server.
I uploaded a static html file to test folder, named it index.html and using the url mydomain.com/test/index.html it was perfectly viewable. So I draw the conclusin that neither of the two Stable versions will work for me.
I realize that it is near impossible to make a release that will work out of the box on all thinkable server configuration, but when I also failed with an older release that get me thinking.
Could it be issues with the installation guide? Will cms ms not run with MySQL version 5x?
Could it be that a spesific PHP version is needed to run cms ms? So I need to manually change any files?
Below are the server info:
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
MySQL 5.12
Guess I have one more option left before I put the whole cms ms in the thrash, and that is to move my account to a server with pre php 4.1 and MySQL 4xx.
I have almost pulled out all of my hair struggling with the installation so pls give me some advises, before I go balled. I did struggle with some .net apps when I first started using .net, but not like this for days and days to end. And people tell me PHP is so easy:-)
CMS MS => Maybe not so simple after all?
Re: CMS MS => Maybe not so simple after all?
Is it a server 404 or cmsms not found message?trud wrote: Not Found
The requested URL was not found on this server.
if it is a server 404 check your php (create test.php with )
if it's 404 from cmsms try turning debug on in config.php, it should give more information
so truetrud wrote: I realize that it is near impossible to make a release that will work out of the box on all thinkable server configuration, but when I also failed with an older release that get me thinking.

Windows and php have always been a grey area for me..trud wrote: 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
MySQL 5.12
Could you join #cms on freenode for a debugging session, would be easier to talk that way

(there's also integrated chat in this forum which will lead you to #cms, "chat" link at the top)
(edit, didnt think what I was writing

Last edited by tsw on Wed Apr 05, 2006 7:46 pm, edited 1 time in total.
Re: CMS MS => Maybe not so simple after all?
Hi, first post here. Using CMS MS for a few days now, really like the concept. I tried Contenido and Typo3 before, but I like CMS MS much more! Can't wait for the multilingual release 
About the redeclare class problem:
I got the same problem when I ported my *working* website from my linux host to my windows home-computer. Redeclare class errors happen when a class with the same name (in this case fckeditorx) is already initialised by PHP. I really wondered how this could happen untill I found out about this:
Open up something like phpMyAdmin or SQLYog and browse the table 'cms_modules', I found every module two times in the recordlist. I removed the doubles and after that, I noticed all records were deleted (I am no SQL expert tho have reasonable SQL knowledge, but I never seen anything like that). So I grabbed my export-script and executed the following statements:
I went back to the webroot and
everything works 
The SQL-statements should work if you use the 0.12.1 version I guess.
It seems CMS MS initialises the classes with the class-names stored in the DB, though why there would be double-records of each module beats me! I have only been using CMS MS for a few days so I don't know much about it but I hope this solution helps you ...
btw. Why not put a FK on the 'module_name' attribute?

About the redeclare class problem:
I got the same problem when I ported my *working* website from my linux host to my windows home-computer. Redeclare class errors happen when a class with the same name (in this case fckeditorx) is already initialised by PHP. I really wondered how this could happen untill I found out about this:
Open up something like phpMyAdmin or SQLYog and browse the table 'cms_modules', I found every module two times in the recordlist. I removed the doubles and after that, I noticed all records were deleted (I am no SQL expert tho have reasonable SQL knowledge, but I never seen anything like that). So I grabbed my export-script and executed the following statements:
Code: Select all
INSERT INTO `cms_modules` VALUES ('FCKeditorX', 'installed', '1.0 RC1', 1);
INSERT INTO `cms_modules` VALUES ('MenuManager', 'installed', '1.2', 1);
INSERT INTO `cms_modules` VALUES ('News', 'installed', '2.0.3', 1);
INSERT INTO `cms_modules` VALUES ('ThemeManager', 'installed', '1.0.6', 1);


The SQL-statements should work if you use the 0.12.1 version I guess.
It seems CMS MS initialises the classes with the class-names stored in the DB, though why there would be double-records of each module beats me! I have only been using CMS MS for a few days so I don't know much about it but I hope this solution helps you ...
btw. Why not put a FK on the 'module_name' attribute?
Re: CMS MS => Maybe not so simple after all?
Wow, that makes perfect sense! I agree that a PK should be put on the module_name. There should also be some code to check that the class isn't already loaded before loading it again...
Thanks so much. I would've never thought of that.
Ted
Thanks so much. I would've never thought of that.
Ted
Re: CMS MS => Maybe not so simple after all?
Yesss, ofcourse
It's late already!
Excuse me for the FK, that wouldn't be too bright... A PK would solve the problem with doubles I guess.

Excuse me for the FK, that wouldn't be too bright... A PK would solve the problem with doubles I guess.
Re: CMS MS => Maybe not so simple after all?
That's ok. I knew what you meant. 

Re: CMS MS => Maybe not so simple after all?
Ohhhh - thank you, thank you, thank you - for responding to this thread.
Like trud, I had almost gone insane thinking it was an FTP issue.
Shoulda checked the DB first.
Mucho kudos.
Like trud, I had almost gone insane thinking it was an FTP issue.
Shoulda checked the DB first.
Mucho kudos.