This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Old variables in use in file 'tool_db_baclkup.php'?.
#1

('/.../' means complete filesystem path to admin folder)

Is tool_db_backup.php using old variables for mysql connect? I'm getting next messages while backuping database.

lp, stariocek

---------------------------------------------------------------------
Notice: Undefined variable: mysql_host in /.../includes/pages/tool_db_backup.php on line 43
Notice: Undefined variable: mysql_username in /.../includes/pages/tool_db_backup.php on line 43
Notice: Undefined variable: mysql_password in /.../includes/pages/tool_db_backup.php on line 43
Notice: Undefined variable: mysql_database in /.../includes/pages/tool_db_backup.php on line 43
Reply
#2

Hi,

Yes I noticed this last night.

Replace:
PHP Code:
<?php 
$command
= $cmtx_settings->mysqldump_path . "mysqldump --host=$mysql_host --user=$mysql_username --password=$mysql_password $mysql_database > $backup_file";

With:
PHP Code:
<?php 
$command
= $cmtx_settings->mysqldump_path . "mysqldump --host=$cmtx_mysql_host --user=$cmtx_mysql_username --password=$cmtx_mysql_password $cmtx_mysql_database > $backup_file";

I will update v2.0 today to fix this because it's quite a major bug.

Have you completed the interview?
Reply
#3

It is working. Thanks.

lp, stariocek
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)