I've been running phpBB for several years with hosting on 1&1 Internet (UK). However, 1&1 drives me nuts so I've moved to Hostgator in the US which has been fantastic. I recently changed the DNS of the domain name to point to a specified home directory in my Hostgator space and then copied over all the phpBB files etc. A new database was created to accomodate the backend.
Although I didn't do a full database backup via the "old" phpBB 3.0.4 install (I changed the DNS settings a bit too early!) I did do a dump of "all" using phpMyAdmin on 1&1 via my admin panel.
BTW I still have access to the database on the old server (MySQL version 5.1.*)
However, having installed everything on the new server - using Bigdump to overcome timeout issues, etc - I found that although everything at first seemed to be OK, I noticed that whilst I could make new posts, all the posts prior to the move were not available. Everything else is there - forums, structure, member list, admin, etc etc - just no posts. Even post topic titles are there!
I've created various dumps from within phpMyAdmin on the old server, but as I'm not adept at using this I'm not sure how to check contents of the user posts.
How can I check for sure that the posts are still there and - just as important - is there an idiot's guide to migrating the database properly using phpMyAdmin from an old install to a new install?
It's weird that everything but posts is there on the new setup.
Steve - yes, I've resynched everything that can be synched and I've purged the db cache as well. Still no joy. What's interesting is the ACP is telling me that my database size is about half (approx 47MB) what I think it should be - at least the last time it was running on the old server.
I'm going to have a go at uploading and restoring the DB from scratch on the new server and see where it takes me.
Thanks for your help so far. I'll be back, by the looks of it!
Steve - update: Resynching does appear to have restored things. The bulk of the posts and topics are now there - although ones where I clicked Resynch within actual forums have emptied out the topics and posts for some silly reason.
Still, I can always go a few steps back and source the original backup so there's hope yet.
I've created a "test" database into which I've uploaded the database from my old server (1&1) as an uncompressed .sql file using bigdump.php, which has done so successfully. I've modded the database config details in my phpBB's config.php file to reflect the use of an alternative db, and then I check how the board displays.
Each time, I get the full structure, all the category headings, threads, post titles, author details, dates etc etc, but when I click a topic to read it all I get is "The requested topic does not exist." which is daft because it clearly does.
I've purged the cache in the ACP and click the three resynch options. No difference.
When I use "Manage Forums" in the ACP and select the "resynch" icon in a forum in the index, I get the popup progress bar which then confirms that sync has been successful. Alternatively, I select an individual sub-category and do the same, and when I do I get the posts text in each case. However, what invariably happens is that I lose a lot of posts, usually from recent months. Why?
Under one category, I lose all the topics and posts after resynching.
The database dump is of the last use of the board before I chose to switch hosts (this was several weeks ago and the board's been offline since), so it's not like it's an older backup file or anything.
You need to start looking in the database to see if the post_id in the topics table is present and properly associated with the topic_id in the posts table.
For REALLY good and VERY inexpensive hosting CLICK HERE
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
stevemaury wrote:You need to start looking in the database to see if the post_id in the topics table is present and properly associated with the topic_id in the posts table.
Trouble is I wouldn't know what, specifically, to look for Steve! I'm approaching the limit of my competence in this respect.
When I dump from 1&1 as an uncompressed SQL file using phpMyAdmin it's 113MB, but when it installs into my Hostgator database (using bigdump) it's about 44MB (can't figure that one out!).
I've got another problem now in that I can't access the board at all - I get a "General Error
Could not get style data" error message. Gawd knows why.
colinb wrote:When I dump from 1&1 as an uncompressed SQL file using phpMyAdmin it's 113MB, but when it installs into my Hostgator database (using bigdump) it's about 44MB (can't figure that one out!).
I've got another problem now in that I can't access the board at all - I get a "General Error
Could not get style data" error message. Gawd knows why.
Time to give up soon, methinks.
the reason the database is so much smaller is because it is missing all the posts etc.
zip up the 113mb database and upload it to your server somewhere.
then PM me a link to it and I will see what the problem is with it.
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.