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
CMS Made Simple installed on a subdomain produce error 404..?
CMS Made Simple installed on a subdomain produce error 404..?
Last edited by Nanochild on Sun May 07, 2006 5:34 pm, edited 1 time in total.
Re: CMS Made Simple installed on a subdomain produce error 404..?
can you look at your site with an FTP client? what does the path look like that way?
mark
mark
Re: CMS Made Simple installed on a subdomain produce error 404..?
Hi!
With my FTP client, the path is: /var/www/cms
With my FTP client, the path is: /var/www/cms
Re: CMS Made Simple installed on a subdomain produce error 404..?
Ok, i realized that these in the config.php are totally wrong:
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';
They should look like this:
1. $config['root_url'] = 'http://cms.webdesign123.dk/';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/uploads/images';
So now i get this:
Congratulations! You now have a fully functional installation of CMS..!
-but without stylesheets and it is only the homepage you can access from http://cms.webdesign123.dk/
Links to other pages are not accessible either..?
Something going wrong in the installation proces!
I will look further after a solution but if someone have the answer please tell me!!!
Sincerely
Nano
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';
They should look like this:
1. $config['root_url'] = 'http://cms.webdesign123.dk/';
2. $config['uploads_url'] = 'http://cms.webdesign123.dk/uploads';
3. $config['image_uploads_url'] = 'http://cms.webdesign123.dk/uploads/images';
So now i get this:
Congratulations! You now have a fully functional installation of CMS..!
-but without stylesheets and it is only the homepage you can access from http://cms.webdesign123.dk/
Links to other pages are not accessible either..?
Something going wrong in the installation proces!
I will look further after a solution but if someone have the answer please tell me!!!
Sincerely
Nano
Last edited by Nanochild on Tue Apr 18, 2006 11:16 am, edited 1 time in total.
Re: CMS Made Simple installed on a subdomain produce error 404..?
There should be no slash at the end of: $config['root_url'] = 'http://cms.webdesign123.dk/';
You're getting a double slash in the stylesheet url and firefox is ignoring it.
You're getting a double slash in the stylesheet url and firefox is ignoring it.
Re: CMS Made Simple installed on a subdomain produce error 404..?
Thanks Ted!
Now im on - it is working!!!
Now im on - it is working!!!