Cannot access admin panel on cloned site | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Cannot access admin panel on cloned site
February 4, 2014
8:52 pm
Avatar
susan
New Member
Members
Forum Posts: 2
Member Since:
February 4, 2014
sp_UserOfflineSmall Offline

I just did a backup of my wordpress site and then cloned it to a subdirectory. When checking the live cloned site- I was missing widgets from most pages

When I checked phpmyadmin - I saw that only 25 of the 53 tables were copied and this is why the site does not appear correctly + I cannot log in to the admin of the site

 

How can I create a successful backup?

 

thanks

Susan

February 5, 2014
1:19 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

HI Susan. Did you get any errors when restoring the backup? Did you by any chance excluded some of the tables when creating the original backup?

February 5, 2014
9:02 pm
Avatar
susan
New Member
Members
Forum Posts: 2
Member Since:
February 4, 2014
sp_UserOfflineSmall Offline

XCloner! Support said:

HI Susan. Did you get any errors when restoring the backup? Did you by any chance excluded some of the tables when creating the original backup?



I did not exclude any tables when creating the original backup

when restoring the backup- I did get an sql error - regarding a table that could not be copied and we edited the code and at the end the backup got stuck at 99.53%.  The SQL error had to do with the fact that there was a foreign key constraint on a table that was being created but the referenced table had not been created yet. It seemed like the tables were being recreated in alphabetical order but that was not the way they had been created originally. Below is the part of the create table sql that caused the problem. The table that was being created was wordpress_rokgallery_file_loves which referenced wordpress_rokgallery_files

 
  CONSTRAINT `wordpress_file_loves_file_id_files_id` FOREIGN KEY (`file_id`) REFERENCES `wordpress_rokgallery_files` (`id`) ON DELETE CASCADE ON UPDATE CASCADE

I don't know how to resolve that issue for further backups

what do you advise?

thanks

Susan

++++++++++++++++++++

February 7, 2014
5:10 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

I would suggest to manually edit the administrator/backups/database-sql.sql file after the files restore, and remove those references, and continue with the import process when done.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10048
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Gayira Duncan
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0