|
|||||||
![]() |
Forum Index > glFusion > glFusion Support |
|
|
Restore from Backup... basic directions
|
|||
| First | Previous | 1 2 | Next | Last | | | Printable Version |
|
Jason | ||||||||
|
Could someone point me in a direction where I could find information on the process of restoring from a gl fusion backup.... I'm sure it's here but I'm having a hard time finding it... much appreciated. |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
I think that I made a little head way on this. Unfortunately site isn't back up but I feel a little closer. |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
It sounds like you've followed the directions in the Moving glFusion to a new site / URL which is basically the steps you follow to backup / restore a site to a new server or location. One step that folks seem to always miss is to make sure you: PHP Formatted Code // +--------------------------------------------------------------------------+ // | Root debug - Display detailed error messages. | // | | // | NOTE: This option should not be enabled on production sites since it | // | will display configuration options and other details that could | // | expose confidential data such as database logins, etc. | // +--------------------------------------------------------------------------+ $_SYSTEM['rootdebug'] = false;
glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
Thanks Mark, I will be working on this again this evening. Will let you know how it goes and anything that I might run into. |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
Hey there Mark... PHP Formatted Code An error has occurred:This is being displayed as "Root Debugging" is enabled in your glFusion siteconfig.php. If this is a production website you should disable this option once you have resolved any issues you are troubleshooting. 2 - mysql_connect() [function.mysql-connect]: Access denied for user 'xxxx'@'localhost' (using password: YES) @ /xxxx/xxxx/xxxx/system/databases/mysql.class.php line 125 array(0) { }
|
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
That error is pretty specific. What it means is that the database username / password you have in your private/db-config.php file is not correct for the database server. glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
Thanks for the fast reply there Mark, |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
could it possibly be looking for the old login and pass from the old server before? |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
Can you double check that you have the new username / password correct in the db-config.php file. Double check for typos. glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
Thanks Mark, PHP Formatted Code Mon Feb 28 21:50:28 2011 - 1146: Table 'jason_glf.plugins' doesn't exist. SQL in question: SELECT COUNT(*) FROM plugins WHERE pi_name = 'bad_behavior2' AND pi_enabled = '1'
|
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
just took a look at things through PHPmyadmin and in the table for bad_behavior2 all the request_uri 's are of the old values from the previous server... might be the cause of this... |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
That error sounds like the database restore did not completely restore everything. The plugins table is a standard glFusion table that has existed in all versions of glFusion. So, I'm guessing the restore didn't actually restore that table, and possible others too.... PHP Formatted Code $_DB_table_prefix = 'gl_';
glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Mark | ||||||||
Quote by: Jasonjust took a look at things through PHPmyadmin and in the table for bad_behavior2 all the request_uri 's are of the old values from the previous server... might be the cause of this... No, Bad Behavior logs the URI that is rejected, so my guess is that you restored that table so it has all the old URIs that were rejected. It doesn't have anything to do with the configuration. See my previous post, I think it is the table prefix that is the problem. glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Jason | ||||||||
|
Just looked at the original backup of the db_config and there was no prefix at all in there, just blank. |
![]() Chatty Group Comfort Level:: +2 ![]()
Registered: 03/02/09 |
||||||||
|
|||||||||
|
Mark | ||||||||
|
Would it be possible for me to get access to phpMyAdmin on your site? I think we can get to the bottom of this a little faster if I can take a look at the database directly. You can email me at mark@glfusion.org if this is a possibility. glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
| First | Previous | 1 2 | Next | Last |
| All times are CDT. The time is now 05:16 pm. |
|
|