You said:
if there are tables missing your script cannot communicate with certain areas of the database...
you need to export (backup) your entire database
then erase the database and create a new (empty one)
then install the webdate version and with plugins you wish to install upload plug ins after the main script,, then check off all the plug ins when running the install http://yoursite.com/install.php
after the script is up and running with the new database you can then go to phpmyadmin and import your old database... now all the required tables and fields should exist.
Hope you understand what I am getting at
also you might want to try and download a fresh copy of the install script from webscribbles site as the files do become corrupted on download at times.
1. I have a backup of the entire db.
2. I erased it and created a new, empty db.
3. I installed the site with all the plug-ins previously used. When I checked the new db I could see that it had 71 tables. The same number as in the backup. The site itself is visible in its default format, but of course, with no members.
4. The db backup is too large to import from phpmyadmin, so I have to do it from the command line on the server, but that produces a new problem:
- Code: Select all
[root@xxxxx httpdocs]# mysql xxxxx < xxxxx.sql
ERROR 1050 (42S01) at line 19: Table 'dt_address_book' already exists
So presumably I have to drop all the tables first, then restore the database.
5. So dropped the tables and and the restore command to rebuild the database.
- Code: Select all
[root@xxxxx httpdocs]# mysql -u xxxxxx -p xxxxx < xxxxx.sql
Enter password:
[root@xxxxx httpdocs]#
Now, the site itself is not loading a page because it's waiting for something. It's just sitting there waiting for the page to load. In phpmyadmin I can see (eventually) that the database has been restored: 71 tables, and all the profiles.
I don't understand. What's gone wrong now?
