[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
Warning: open_basedir restriction in effect. File is in wrong directory in /home/lntsvvn/public_html/gallery/admin/admin_global.php on line 29Warning: Failed opening './../global.php' for inclusion (include_path='') in /home/lntsvvn/public_html/gallery/admin/admin_global.php on line 29Warning: open_basedir restriction in effect. File is in wrong directory in /home/lntsvvn/public_html/gallery/admin/admin_global.php on line 30Fatal error: Failed opening required './../includes/sessions.php' (include_path='') in /home/lntsvvn/public_html/gallery/admin/admin_global.php on line 30
define('ROOT_PATH', './../');
define('ROOT_PATH', '/home/lntsvvn/public_html/gallery/');
open_basedir stringLimit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off. When a script tries to open a file with, for example, fopen or gzopen, the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink. The special value . indicates that the directory in which the script is stored will be used as base-directory. Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited. The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "open_basedir = /dir/incl/" Note: Support for multiple directories was added in 3.0.7. The default is to allow all files to be opened.
hiz noway resolve this problems....... I can't access Control panel now.... hiz ..... Chac phai iu cau admin VNT turn off open_basedir qu'a
body: /4images/admin/.htaccessphp_value include_path = .:/images:/plugins
$src = (!@file_exists($media_src) && @file_exists(preg_replace("/\/{2,}/", "/", get_document_root()."/".$media_src))) ? preg_replace("/\/{2,}/", "/", get_document_root()."/".$media_src) : $media_src;