Posted on: 03/12/02 01:23pm
By: squatty
I've been playing around with the DB Backup feature of 1.3.4 (very nice BTW) and have noticed that each backup I run results in an empty geeklog_db_backup file? I don't receive any error messages. Any ideas as to why the file is empty?
paths?
Posted on: 03/13/02 06:35am
By: Tony
Look in system/lib-database.php and verify the path to your mysqldump binary is correct. If it is correct, post your OS and MySQL version here.
-----
The reason people blame things on previous generations is that there's only one other choice.
paths?
Posted on: 03/13/02 08:52am
By: squatty
I looked at system/lib-database.php and there was no reference to a mysqldump path? I then opened admin/database.php and noticed the reference to $_DB_mysqldump_path. Putting two and two together, I decided to set the following in admin/database.php:
$_DB_mysqldump_path = '/usr/bin/mysqldump';
The database backup works fine now. As for my OS and MySQL versions, I'm running RedHat 7.2 and MySQL 3.23.48.
Thanks,
Danny
paths?
Posted on: 03/13/02 10:50am
By: Tony
Please report this as a bug!
-----
The reason people blame things on previous generations is that there's only one other choice.
paths?
Posted on: 03/13/02 03:58pm
By: squatty
Reguest ID: 529673
include_once
Posted on: 03/13/02 09:55pm
By: Anonymous (Anonymous)
Or you can add this to the top of all the admin files.
include_once('/path/to/geeklog/config.php');
I've installed above the public web-tree so don't know if its an issue with a 'normal' install. Think some of the 'out of the box' files had this already, maybe not. Has worked fine for me.