CMS Made Simple installed on a subdomain produce error 404..?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Nanochild

CMS Made Simple installed on a subdomain produce error 404..?

Post by Nanochild »

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
Last edited by Nanochild on Sun May 07, 2006 5:34 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Dr.CSS »

can you look at your site with an FTP client? what does the path look like that way?

  mark
Nanochild

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Nanochild »

Hi!

With my FTP client, the path is: /var/www/cms
Nanochild

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Nanochild »

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
Last edited by Nanochild on Tue Apr 18, 2006 11:16 am, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Ted »

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.
Nanochild

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Nanochild »

Thanks Ted!

Now im on - it is working!!!
Nanochild

Re: CMS Made Simple installed on a subdomain produce error 404..?

Post by Nanochild »

Locked

Return to “[locked] Installation, Setup and Upgrade”