Posted on: 01/11/03 07:59pm
By: thedude
Has anyone seen this issue before? I'm trying to do back up for my dbase using the dbase back up in Geeklog 1.3.7 and I'm being presented with this error. I checked the file and have no clue what's wrong with it. Please help..
Fatal error: Call to undefined function: is_executable() in c:/inetpub/wwwroot/admin/database.php on line 70
Thanks..
Cheers,
The Dude
Database Backup Funky error
Posted on: 01/12/03 04:18am
By: Dirk
Hmm, I just noticed that the PHP manual includes a comment for this function saying "This function is not available on Win32."
So for now, simply replace
if (is_executable($_DB_mysqldump_path)) {
with
if (true) {
in admin/database.php
bye, Dirk
Database Backup Funky error
Posted on: 01/12/03 01:52pm
By: Anonymous (Anonymous)
I also get a backup error on a windows server:
Incorrect path or mysqldump utility not executable.
Check $_DB_mysqldump_path definition in config.php.
Variable currently defined as: /usr/bin/mysqldump
I have never tried this backup cause the server is at my office and I do on site backups, but thought I would see what happens
so I changed the path to point directly at the exe file like so:
$_DB_mysqldump_path = 'C:installsmysqlbinmysqldump.exe'
and it worked fine
Database Backup Funky error
Posted on: 01/12/03 04:51pm
By: Dirk
Well, /usr/bin/mysqldump is the name of an exectuable file on Unix/Linux - that wasn't meant to be a directory name.
bye, Dirk
Database Backup Funky error
Posted on: 01/12/03 05:38pm
By: Anonymous (Anonymous)
Dirk, I did what you suggested by replacing the tag including what the anonymous user suggested (It makes sense) and it works...
Thanks for the both of you for the help.. Y'all da man....
Cheers,
The Dude
Database Backup Funky error
Posted on: 02/16/04 08:58pm
By: johnjr
To get the GeekLog database backup function to work in Windows (Windows 2000 Pro, with Apache), in the 'main' config.php, I just changed this line:
$_DB_mysqldump_path = '/usr/bin/mysqldump';
to this:
$_DB_mysqldump_path = 'c:/mysql/bin/mysqldump.exe';
It worked great.
John Rayfield, Jr.
Database Backup Funky error
Posted on: 03/01/04 04:00pm
By: tenafternine
Thank you very much johnjr!
I was racking my brain trying to figure out why that path would work on my win box. The only thing I was missing was the '.exe' at the end. Its always the smallest things.
A curse on that Bill Gates!