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?
Moved Host and have imported database problem
Moderator: General Moderators
Moved Host and have imported database problem
- Attachments
-
- server shows nothing.zip
- (7.64 KiB) Downloaded 233 times
Re: Moved Host and have imported database problem
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
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.
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
Seems you're getting an education in PHP and MySQL!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.