PDA

View Full Version : Cannot signin as admin


ebizpre
01-28-2005, 11:30 AM
I cannot signin with admin/admin on a new install of Soholaunch. I installed Soholaunch manually (not via Fantastico) and have modified the file permissions (numerous times).

When attempting to login as the default administrative user (admin/admin) I get 'Invalid Username/Password. Please Try Again.'

Going back to CPanel to try to find what file permission is wrong, no error has been logged.

What files should I check the permissions on for this specific problem?

Thanks :confused:

Cameron Allen
01-31-2005, 06:16 PM
This could be caused by a few things. Try the following:

1) Double check your database username, password, and username. You can check this by viewing the file isp.conf.php, which can be found in the /sohoadmin/config/ directory.

2) View the login table in the database to make sure that you are using the correct login information. To view your database you can A. Use cpanel's phpmyadmin, or B. You can view the login table the good old fashioned way, by logging into ssh or telnet. If you are using SSh bring up the MYSQL prompt by simply typing MYSQL. In the MYSQL prompt type the following:

show databases;

It should now display all of the databases in MYSQL. If you are unsure what database your site is using you can find it in the isp.conf.php, which again is found in the /sohoadmin/config directory. Next you will need to tell MYSQL which database you want to view, type the following:

use Database_Name_Goes_Here;

It should say something to the effect of: "0 out of 0 rows affected". Now type the following:

select * from login;

It will then display a table showing the Login Information for that site.

3) If your server is mirroring the public_html and www folder than the problem could be permissions. Make sure to Recursivley set the permissions to 777 on the Sohoadmin folder for installation. If you are mirroring the public_html and www directory, make sure to change it on both (this is unusual but has been known to happen). You won't need to keep your permissions at 777, but you will need 777 permissions for installation. Make sure that when you change permissions, that you change them recursivley. Use the command:

chmod -R a+rw Home/example/public_html/sohoadmin

This will change the permissions on the sohoadmin folder and every folder and file under it to 777. After You install Pro Edition, you can change the permissions back by using the command:

chmod -R 0755 folder_name

This would change the permissins to 755.

4) Are you using suexec? If you are getting an Internal Server Error when trying to access /sohoadmin this may be the problem. In this case make sure that you disable suexec so that you can set the permissions to 777, then re-enable suexec after Soholaunch Intalls.

5) Make sure that you disable any firewall. Windows Service pack 2 includes a firewall on your localmachine, and this can cause problems in certain instances. You can disable the windows firewall by accessing the windows control panel, through the start menu.

6) Turn Those Pop-Up Blockers OFF!!!! :rolleyes: :rolleyes: :rolleyes: :rolleyes: :rolleyes: