Recent Topics

[fixed] open_basedir restriction in effect

Started by on Sep 10, 2007 – Contents updated: Sep 10, 2007

Sep 10, 2007 21:08    

Got this error after installing 2.0.0, upgraded from 1.9.x, but as the installation guide said to delete everything and copy all new files.
I could not get into the admin section.


Warning: AdminUI_general::disp_html_head() [function.disp-html-head]: open_basedir restriction in effect. File(/_html_header.inc.php) is not within the allowed path(s): (/var/www/vhosts/jpopdb.org/subdomains/blog/httpdocs:/tmp) in /var/www/vhosts/jpopdb.org/subdomains/blog/httpdocs/skins_adm/_adminUI_general.class.php on line 385

Warning: AdminUI_general::disp_html_head(_html_header.inc.php) [function.disp-html-head]: failed to open stream: Operation not permitted in /var/www/vhosts/jpopdb.org/subdomains/blog/httpdocs/skins_adm/_adminUI_general.class.php on line 385

Fatal error: AdminUI_general::disp_html_head() [function.require]: Failed opening required '_html_header.inc.php' (include_path='.:') in /var/www/vhosts/jpopdb.org/subdomains/blog/httpdocs/skins_adm/_adminUI_general.class.php on line 385

I went looking into the php file, and found this function:

        /**
         * Display doctype + <head>...</head> section
         */
        function disp_html_head()
        {
                global $adminskin_path;
                require $adminskin_path.'_html_header.inc.php';
        }

But it seems that $adminskin_path does not exist, it needs to be $adminskins_path, with and extra s after adminskin.

Edit:
The same thing happens in the disp_global_footer() function as well.

Sep 11, 2007 12:17

wow, impressive stuff Hatix


Form is loading...

Advanced CMS – This forum is powered by b2evolution CMS, a complete engine for your website.