Page 1 of 1

cannot log in to Admin after install

Posted: Fri Oct 20, 2006 8:48 am
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

Re: cannot log in to Admin after install

Posted: Sat Oct 21, 2006 1:54 am
by Dee
It looks like either wrong configuration values in config.php or PHP running out of recources (memory_limit probably).

Regards,
D

Re: cannot log in to Admin after install

Posted: Sat Oct 21, 2006 8:34 am
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

Re: cannot log in to Admin after install

Posted: Sat Oct 21, 2006 4:32 pm
by Dee
Hmm, yes, I overlooked the mysite.com to something.com change...
Highflyer1000: check the "*_url" values in config.php

Re: cannot log in to Admin after install

Posted: Tue Oct 24, 2006 8:26 am
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.