No announcement yet.

Warning: is_file() []: open_basedir restriction in effect.

  • Filter
  • Time
  • Show
Clear All
new posts

  • Warning: is_file() []: open_basedir restriction in effect.


    After i've upgraded to 3.6.7 , i get this error in Diagnostics-->Suspect File Versions.

    The error ;

    Warning: is_file() []: open_basedir restriction in effect. File(/var/www/virtual/ is not within the allowed path(s): (/var/www/virtual/ in /admincp/diagnostic.php on line [b]436

    How can i fix it?

  • #2
    First, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Now check again.
    Kerry-Anne :)

    Twitter Blog


    • #3
      When i've applied the code " define('DISABLE_HOOKS', true);" and save it , i get this error "Fatal error: Call to undefined function print_portal_output() in /var/www/virtual/ on line 5018" in main page.


      • #4
        That error is still from an add-on. Please follow all the instructiuons in post #2.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography

        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.