Page 1 of 1
Cannot access site - 404 error after install [Solved]
Posted: Fri Apr 16, 2010 3:40 pm
by Mury
Hi Folks, I did a new install. All went well. When I get to click go to admin at the end of install, the passord is said to be invalid. This has happened twice with fresh installs. If you try to access the site - after the install - all you get is a 404 site not found.
Ive just installed another cmsms on the same server - different domain and its perfect - so its not a server fault.
HELP please
Re: Cannot access site - 404 error after install
Posted: Fri Apr 16, 2010 4:20 pm
by Mury
Hi DrCSS - is this what you mean?
sd 0:2:0:0: [sda] 2928148480 512-byte logical blocks: (1.49 TB/1.36 TiB)
sd 0:2:0:0: [sda] Write Protect is off
sd 0:2:0:0: [sda] Mode Sense: 1f 00 10 08
sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:2:0:0: [sda] Attached SCSI disk
sd 0:2:0:0: Attached scsi generic sg1 type 0
Kernel version 2.6.33.1
cPanel Version 11.25.0-STABLE
Architecture i686
MySQL version 5.1.30
cPanel Build 44718
Path to sendmail /usr/sbin/sendmail
Dedicated Ip Address (edited out)
Apache version 2.2.11
PHP version 5.2.9
cPanel Pro 1.0 (RC1)
Re: Cannot access site - 404 error after install
Posted: Fri Apr 16, 2010 5:02 pm
by replytomk3
Do you have an .htaccess file? Does a test PHP file work in the same directory? Are there index.htm or html files?
Re: Cannot access site - 404 error after install
Posted: Fri Apr 16, 2010 8:31 pm
by Mury
Hi - this looks like a normal install - Ive done plenty. I can Cpanel it, yes htaccess is there (blank) index.php. No odd files, all attribs look right. Like I said - I just did an install on the SAME server for another domain - its working fine. The checksum passed, and all installed correctly - EXCEPT when at the end of install - the admin login come with invalid passord/user message. Then if you try to open the site it fails. If I kill the index.php(cmsms) the site opens.
The only thing different is that I was using a restored database (with a new user etc) but that was previously using an earlier version of CMSMS (but that should not matter- I think).
As I understand it - the 404 means that there is a redirect from cmsms to something that dont exist or has no rights. All rights seem OK - hostgator checked that. I am tempted to try ANOTHER instal with a fresh database and then try to import the data - ugh & grrrrr
Re: Cannot access site - 404 error after install
Posted: Fri Apr 16, 2010 9:08 pm
by replytomk3
Geez, I WAS wondering whether this was pointing to an existing database. Why didn't you say so? That is a completely different matter. First of all, the passwords are whatever stored in the database, not what you specified during install. Secondly, after you get that password, empty cache, login into admin, and select another page as default.
Re: Cannot access site - 404 error after install [Solved]
Posted: Sat Apr 17, 2010 5:59 am
by Mury
Hi replytomk3, thanks - I was wondering about stored pwords as well. That makes sense & will try that. Travelling today by plane in Europe hahahah. But am happy that I have a solution - worse case will use fresh db abd import. Thanks a lot