View Full Version : PhP login Page does not display
michaelf0199272
04-20-2009, 05:28 PM
My PhP Login Page does not even display anything when it is launched. I am hosting the site with Yahoo Small Busines. I know that PhP works at the hosting server because I tested it with one of their techs. here is the test:
http://viewptech.com/test/mysqltest.php
But when when I tried to load http://www.viewptech.com/vptlogin.php -- All I see is blank.
One of the problems that Yahoo Tech found was:
1) that the file is pointing to c://localhost/vptlogin -- Yes I had to build the site inside my test server. I thought that when it is uploaded to the hosting server -- it should assume the a new path in the hosting server. This did not seem to be the case.
2) That the it could not find WA Security Assists -- I have ssince uploaded the WA Security Assist files to the hosting server and I am still getting blank page when http://www.viewptech.com/vptlogin.php is lauched.
Can anyone offer any help??
Many thanks,
Michael
Ray Borduin
04-21-2009, 07:14 AM
You can usually enable debugging on your php server to see error messages. Most likely there is an error on the page, see if you can get your ISP to enable error messages on the page or give you access to an error log file. It is very difficult to debug a problem without information to go on.
michaelf0199272
04-23-2009, 07:54 AM
Hi Rey:
I had to go through the training in the PHP Starter Kit once again. This is what I discovered.
1) The database data was backed up -- and the backup "executed" successfully.
2) It was then imported using phpmyadmin.
There was no where on the training which shows how the data will now be moved from phpmyadmin onto my remote server at Yahoo Hosting.
*** It should be noted that the phpmyadmin address is:
http://localhost/phpmyadmin/index.php
Yes I see all my tables in the database on the phpmyadmin -- what is not clear is -- if they ever got to my hosting server.
*** I welcome anyone who is using mysql\php to lend me a hand.
Many thanks,
Michael
md360797
04-26-2009, 01:28 AM
did you export your database into a sql file then import it to your hosting provider?
michaelf0199272
05-02-2009, 09:30 PM
Now I am able to get My PhP Login Page to load\display when it is launched. I am hosting the site with Yahoo Small Busines.
But when when I tried to login at http://www.viewptech.com/vptlogin.php -- it did not work like I expected.
It is supposed to load:
1) http://www.viewptech.com/forpartners.php when login is correct or successful and
2) load http://www.viewptech.com/ when login fails.
It loaded nothing but it came up with the message below:
No database selected
What do I need to do that I missed or what am I doing wrong????
Many thanks,
Michael
Danilo Celic
05-04-2009, 09:10 AM
The "no database selected" can mean a couple of things:
1. Make sure that you upload the Connections folder from your local copy of the site to the remote server.
2. The connection defined for some reason does not work on the remote server.
The second one should be easy to figure out by double checking the info supplied by the web host against what you're using. Remember that some hosts do not allow for remote connections to their databases, so you may have a local connection and a connection file that you're supposed to use on the remote server.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.