Page 1 of 1

Moved Host and have imported database problem

Posted: Sat Jan 19, 2008 3:37 pm
by meridklt
Firstly I'm not experienced in either PHP or MySQL.

I moved Hosts and followed thier instructions on how to import my database from the old Host. All this worked fine in that all the records are there. However, the PHP file I use to import new CSV records no longer gives me the number of records held there and will not import any.

The chap who did this for me is no longer on the email address he gave me.

I have attached a picture of what I mean, can anyone help please?

Re: Moved Host and have imported database problem

Posted: Sat Jan 19, 2008 10:35 pm
by califdon
If you could show us the PHP code that connects to your database, we might be able to help you. Undoubtedly that's what has changed when you moved to a new host.

Re: Moved Host and have imported database problem

Posted: Sun Jan 20, 2008 7:04 am
by meridklt
Thanks for responding califdon. However, after looking and looking and looking at the PHP code, the only thing I could see was the password for my old Host in this line $DB_PASS=' '; was not my new Host password. So after entering my new one it works fine now.
But after testing I have found a display problem I never even knew I had before. So I will do a search here and try to find an answer to that problem.

Re: Moved Host and have imported database problem

Posted: Sun Jan 20, 2008 11:41 am
by califdon
meridklt wrote:Thanks for responding califdon. However, after looking and looking and looking at the PHP code, the only thing I could see was the password for my old Host in this line $DB_PASS=' '; was not my new Host password. So after entering my new one it works fine now.
But after testing I have found a display problem I never even knew I had before. So I will do a search here and try to find an answer to that problem.
Seems you're getting an education in PHP and MySQL! :) Good luck. We'll try to help you if we can, but I'm sure you can appreciate that we probably can't completely analyze your system remotely.