newbie Changed hosts, all is well except...

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
luvthissh*t
Forum Newbie
Posts: 1
Joined: Thu May 14, 2009 2:25 pm

newbie Changed hosts, all is well except...

Post by luvthissh*t »

Hi, I hope this is the right area for my question. I recently changed hosts for my website that is driven by php and mysql. The site has a members area with a login.

I was able to change all of the instances of :

1. The mysql db name - changed to new name
2. The mysql db password - changed to new PW
3. The mysql db server - changed to "localhost" (db is on my new server)
4. The server root - changed to new root.

The site displays properly, however, when you click "login" it doesn't matter if you put a user/password or not into the fields, when you hit enter, it only reloads the login page. No login, no error message

I have checked the files on the old server and they work.

I have compared the files on each server and they are identical, as far as I can tell (except PW, user etc)

My question is, what things need to be considered when changing hosts?

Thanks for any help, very much.
crazycoders
Forum Contributor
Posts: 260
Joined: Tue Oct 28, 2008 7:48 am
Location: Montreal, Qc, Canada

Re: newbie Changed hosts, all is well except...

Post by crazycoders »

It can be the way the pages are coded. If you were on a more lax server such as a server with register globals turned on and now are on a server with register globals turned off. It's normal that your script run but don't work.

There can be several problems, you will have to detect them by doing from debugging, but i suspect your problem to be configuration based and not code based since you say it works perfectly at another host!
Post Reply