Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
Előfordulhat, hogy a legújabb (RC2.2a) verzió telepítése után nem működik az adatbázis mentés, mert ehez hasonló hibaüzenetet kapunk:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/home/helihob:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/helihob/public_html/admin/backup.php on line 443
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): (/home/helihob:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/helihob/public_html/admin/backup.php on line 444
Megoldás:
az admin/includes/application_top.php fájlban keressük meg ezt:
// Used in the "Backup Manager" to compress backupsdefine('LOCAL_EXE_GZIP', '/usr/bin/gzip');define('LOCAL_EXE_GUNZIP', '/usr/bin/gunzip');define('LOCAL_EXE_ZIP', '/usr/local/bin/zip');define('LOCAL_EXE_UNZIP', '/usr/local/bin/unzip');
és cseréljük le erre:
// Used in the "Backup Manager" to compress backupsdefine('LOCAL_EXE_GZIP', 'gzip');define('LOCAL_EXE_GUNZIP', 'gunzip');define('LOCAL_EXE_ZIP', 'zip');define('LOCAL_EXE_UNZIP', 'unzip');
Módosítás: ( 2009. szeptember 25. péntek, 17:43 )


