Jump to content

error in a php, mysql script


stelthius

Recommended Posts

Hi guys,

 

just wondering if anyone can shed some light on this little problem im having,

 

i get this error on a MySQL backup script

 

Warning: mkdir() [function.mkdir]: No such file or directory in /var/www/html/panel/modules/mysql/backup.php on line 24

Database Backup

 

 

Here is lines 20 - 30 from that page

 

 

$path = $row_User['homedir'] . '/_Backups/';

 

if (!is_dir($path))

{

mkdir($path, 0777);   <- This is line 24

}

 

echo "<b>Database Backup</b><br>";

 

$database = $db_name;

$counter = 0;

 

Any help or ideas is welcome guys,

Link to comment
https://forums.phpfreaks.com/topic/116060-error-in-a-php-mysql-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.