Forum Moderators: mack
I downloaded and reuploaded the site via ftp and followed the instructions for exporting and importing the databases through phpmyadmin. I edited the config files to point to the new domain/database.
Originally I was having issues with being redirected to my old domain when I logged in. From the phpbb side, I found a mod that cleared the cookies and changed settings automatically. That got things working for the forum. However, the 4images side doesn't do anything. I enter my login, get an hourglass for 1 second, then nothing happens. I'm not getting any errors but it just doesn't work.
I'm getting frustrated because I can't find any documentation on what I need to change to get this to work. Last time I had to copy one of my database sites, my host transferred it via cpanel and I had a fully functional site the same day. So why am I having so much trouble with this?
[edited by: Okapia at 9:13 pm (utc) on Aug. 5, 2007]
Can anyone give me an idea of potential problems to look into? Since I'm new to all this and I'm not getting any error messages (I even checked my error log in control panel), I can't even figure out what to research.
However the first thing is to look for is to see if the database actually got transferred over. Use your control panel to drill down into the mysql tables and see if there's actually data there. If not, there's your problem.
If there is data in the tables then it's almost certainly program related. I would double and triple check your database settings on the new host, i.e. the database username/password/localhost/permissions and so on. You might also try changing one of those so that it's wrong and checking the symptoms - if it's the same symptoms then quite likely you've got something wrong there no matter how much you think it's right.
Smaller possibility that the new account has a newer/older version of some program that's causing the problem.
Not enough info to really help you out.
I know, that's what's so frustrating about this. When I get errors I usually don't even have to ask for help because I can just do searches on them. I actually deleted the site and started from scratch again, got step by step instructions for transferring it, and I still ended up with the same problem in the end.
However the first thing is to look for is to see if the database actually got transferred over. Use your control panel to drill down into the mysql tables and see if there's actually data there. If not, there's your problem.
Checked. It's populated.
If there is data in the tables then it's almost certainly program related. I would double and triple check your database settings on the new host, i.e. the database username/password/localhost/permissions and so on. You might also try changing one of those so that it's wrong and checking the symptoms - if it's the same symptoms then quite likely you've got something wrong there no matter how much you think it's right.
When I change permission settings so they're wrong, I start getting error messages about it not being able to connect to the database. When I set everything right again, the errors go away but my site is unresponsive.
Smaller possibility that the new account has a newer/older version of some program that's causing the problem.
Probably not an issue, it's actually the same account. The settings on the two accounts should be identical.
What kind of information could I provide that would aid in solving this problem?
I'm not quite clear on the exact nature of the problem, but here's the next things I'd sniff out:
- maybe some sort of apache/server setting? Not likely, it kinda sounds like you didn't move servers.
- the ugliness of debugging the code. I'd jump into the code and start entering stuff like 'echo 'got here'' every so often. That'll let you pin down where in the code it's dying and hopefully provide some clues.
The other thing is to watch your log files if you can. Realtime is best; scroll the logs then hit the site, see what gets written to the logs.
- maybe some sort of apache/server setting? Not likely, it kinda sounds like you didn't move servers.
Just in case it makes a difference, I have a reseller account. I'm not running it as a webhosting business, but have about a dozen domains on my account. When I set up the new domains in the master account, I gave them the same 'package'.
- the ugliness of debugging the code. I'd jump into the code and start entering stuff like 'echo 'got here'' every so often. That'll let you pin down where in the code it's dying and hopefully provide some clues.
I'm willing to try this if it might help, however, if the code is identical to site1 (which is working perfectly), shouldn't it work? I mean, aside from database/domain config settings. I already tried this with the files I knew had those settings in it, though perhaps a problem could be that I missed something?
The other thing is to watch your log files if you can. Realtime is best; scroll the logs then hit the site, see what gets written to the logs.
This really confuses me but nothing is getting written in my error logs. I'm looking at the one in cpanel... I assumed this was the right place to look because it records all the mysql and 'file not found' errors. Is there anywhere else I can check?
Thanks for trying to help, wheel, and sorry I'm being difficult. I guess I'll go try some things and report back.