-
- 40 Posts
Hi,
I ran your latest version of modbak and had the following problems:
The instructions say that you need to update $modx_backup_dir in download.php in one place and settings.php in another. But this line also needs to be updated in the modbak.module.tpl before being copied and pasted into MODx.
$modx_backup_dir = $_SERVER[’DOCUMENT_ROOT’].’/_backup/’;
When I ran the module, I got the "Please wait until MODx finishes loading this page..." message, which never went away, so I just clicked "Generate Database." I then got this error:
Error while inserting event log into database.
Any help?
-
- 788 Posts
Check your backup directory. The backup was likely successful, it just wasn’t inserted into the System Log.
Jesse R.
Consider trying something new and extraordinary.
Illinois Wine
Have you considered donating to MODx lately?
Donate now. Every contribution helps.
-
- 26 Posts
Hi,
I just backed up the data and got a .zip and a .sql file. The question now is how to restore the backup. I am shifting from local server to live server, and the database and user names are different. Does the method described earlier work in these circumstances?
Or is there a different route to do this? I hope the different route is not having to do a manual move...:(
Any help will be much appreciated.
Thanks
icubyx
-
- 2,204 Posts
you still need to copy the files from the zip change your login credentials for the database in the config.inc.php. then open the sql in programmers notepad or any other editor that does not mess with the file encoding then replace the server adress and paths to the new server adress (search and replace).
the import the sql file into your database using phpmyadmin or similar tool. then go to the site see if it works if you get a blank screen or error go to the manager and refresh your site (clear cache) that should do the trick.
Dimmy
-
- 26 Posts
Hi Dimmy,
Thanks. I am trying it right now. Another question. I do not wish to have all the language translations. Can I safely delete the PHP, JS files associated with those languages before uploading?
icubyx
-
- 26 Posts
Got the answer to my last question. Other language files can be safely deleted...
-
- 2,204 Posts
another thing that helps is to run the installer select update unselect all snippets etc and then update.
Dimmy
-
- 26 Posts
That works. Thanks!
icubyx