CMS Made Simple installed on a subdomain produce error 404..?
Posted: Mon Apr 17, 2006 1:10 pm
Hi!
I tried to install CMSMS (Savusavu 0.12.1) on my subdomain http://www.webdesign123.dk/ but after successfull installation something weird things happens..? After clicking on "Here is your CMS site" i get a HTTP 404 error and the URL look like this:
http://cms.webdesign123.dk/var/subdomain/cms/html
I have re-installed CMSMS 3 times now but get the same error message each time..?
On my top domain http://www.webdesign123.dk/ there is no problems..!
Database information:
After creating the database tables the program outputs the following at the bottom of the page:
1. CMS Document root (as seen from the webserver): http://cms.webdesign123.dk/var/subdomain/cms/html
2. Path to the Document root:
/var/www/cms
As i can see in nr. 1. it type an incorrect "subdomain" query in the URL but in nr. 2. it looks correct..?
Config.php
After "successfull" installation the config.php look like this:
For me it look like there is something very wrong with the following 3 lines in the config.php file:
1. $config['root_url'] = 'http://cms.webdesign123.dk/var/subdomain/cms/html';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/var/subdomai ... ml/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/var/subdomai ... ads/images';
If i change these 3 lines to something like this ("cms" is the subdomain folder):
1. $config['root_url'] = 'http://cms.webdesign123.dk/var/www/cms/';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/var/www/cms/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/var/www/cms/uploads/images';
I get this:
Fatal error: Cannot redeclare class fckeditorx in /var/www/cms/modules/FCKeditorX/FCKeditorX.module.php on line 31
Server information:
I made my subdomain folder with a cgi-bin folder on this server:
Apache/2.0.51 (Fedora)
PHP Version 4.3.10 (test.php)
Hope someone can help???
Sincerely
Nano
I tried to install CMSMS (Savusavu 0.12.1) on my subdomain http://www.webdesign123.dk/ but after successfull installation something weird things happens..? After clicking on "Here is your CMS site" i get a HTTP 404 error and the URL look like this:
http://cms.webdesign123.dk/var/subdomain/cms/html
I have re-installed CMSMS 3 times now but get the same error message each time..?
On my top domain http://www.webdesign123.dk/ there is no problems..!
Database information:
After creating the database tables the program outputs the following at the bottom of the page:
1. CMS Document root (as seen from the webserver): http://cms.webdesign123.dk/var/subdomain/cms/html
2. Path to the Document root:
/var/www/cms
As i can see in nr. 1. it type an incorrect "subdomain" query in the URL but in nr. 2. it looks correct..?
Config.php
After "successfull" installation the config.php look like this:
For me it look like there is something very wrong with the following 3 lines in the config.php file:
1. $config['root_url'] = 'http://cms.webdesign123.dk/var/subdomain/cms/html';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/var/subdomai ... ml/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/var/subdomai ... ads/images';
If i change these 3 lines to something like this ("cms" is the subdomain folder):
1. $config['root_url'] = 'http://cms.webdesign123.dk/var/www/cms/';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/var/www/cms/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/var/www/cms/uploads/images';
I get this:
Fatal error: Cannot redeclare class fckeditorx in /var/www/cms/modules/FCKeditorX/FCKeditorX.module.php on line 31
Server information:
I made my subdomain folder with a cgi-bin folder on this server:
Apache/2.0.51 (Fedora)
PHP Version 4.3.10 (test.php)
Hope someone can help???
Sincerely
Nano