cannot log in to Admin after install

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
Highflyer1000

cannot log in to Admin after install

Post by Highflyer1000 »

Hi all
I installed CMS yesterday on my web server.

(version.php info:- Id: version.php 3456 2006-09-21 01:31:10Z wishy $
$CMS_VERSION = "1.0.2";
$CMS_VERSION_NAME = "Maui";
$CMS_SCHEMA_VERSION = "25";
vim:ts=4 sw=4 noet)

The database was built successfully and looks intact. The problem occurs when I try to log into www.mysite.com/admin/index.php get the following 404 error: The requested URL /admin/login.php was not found on this server.
If I try www.mysite.com/admin/login.php, I get the CMS Admin login page, I enter my username and password and click submit. I get the same error: The requested URL /admin/login.php was not found on this server, and the address bar changes to http://www.something.com/admin/login.php.

Web hosting computer details:-
Operating System
    Red Hat Linux
Kernel
    Version 2.4.21-4.0.1 elsmp
Web Server
    Apache 1.3
Web Programming Languages
    PHP 4.3.11
    Tomcat (Java) 5.0.27
    CGI / Perl 5.8
    Python 2.2
    Frontpage 5.0.2.5012
Databases
    MySQL 4.0.24

Any ideas?

Sham
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: cannot log in to Admin after install

Post by Dee »

It looks like either wrong configuration values in config.php or PHP running out of recources (memory_limit probably).

Regards,
D
Pierre M.

Re: cannot log in to Admin after install

Post by Pierre M. »

If it redirects from yoursite.com/admin to somesite.com/admin then it may be a config.php problem or a webserver multihosting problem.
PM
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: cannot log in to Admin after install

Post by Dee »

Hmm, yes, I overlooked the mysite.com to something.com change...
Highflyer1000: check the "*_url" values in config.php
Highflyer1000

Re: cannot log in to Admin after install

Post by Highflyer1000 »

Hi all again
I reinstalled CMS in the root directory of my site instead of a sub directory and all seems to be working now. The config.php was not written to during the installation also and this was probably the root cause of the problem.(maybe wrong permissions)

Thanks for help.
Locked

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