• Resolved MagineM

    (@maginem)


    Hi,

    Moved a site from one provider to another, and now I get this error in the backend when I’m on your Plugin page.

    Warning: is_dir(): open_basedir restriction in effect. File(URL – this appears to be the old server URL string) is not within the allowed path(s): (/usr/www/wwws/users/usr/wwws/users/usr/www/users/usr/home/usr/local/rmagic:/usr/share/php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www:/usr/www/share/www:/usr/share/misc:/dev/urandom:/var/www/php_profiler/xhgui) in /usr/www/users/wp-content/plugins/gotmls/index.php on line 313

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Eli

    (@scheeeli)

    It’s probably checking for the existence of a directory that may have been scanned and cleaned before. There is no harm in checking to see if a directory exists. If you want my plugin to be able to scan your site then you need to talk to your hosting provider about allowing the is_dir() function.

    Thread Starter MagineM

    (@maginem)

    Hi,

    Yes, it was looking for the old log files. Had to delete the reference in the DB to remove the error. Might be a feature to ad to the plugin that allows you to delete old logs/scans.

    Plugin Author Eli

    (@scheeeli)

    That is already a feature of the plugin. You can delete the scan log and the quarantine records. But there is still no reason to disable the is_dir function, it’s not like there is any risk in checking for the existence of a directory.

    Anywany, please try deleting all the scan logs and all the quarantine records and then let me know if that warning still comes up. Also, please make sure that you are using the latest version of my plugin.

    Thread Starter MagineM

    (@maginem)

    Hi,

    Ok cool. Is this feature only available in the paid for version?

    Plugin Author Eli

    (@scheeeli)

    No, it’s in the free version too.

    Thread Starter MagineM

    (@maginem)

    Hi, ok. I don’t seem to see any option to delete the logs etc. from the settings?

    Plugin Author Eli

    (@scheeeli)

    On the Scan Settings page in your wp-admin There is a box titled Scan Logs with a list of recent scans. Just hover over that list and a link will appear that gives you the option to clear below that point in the log.

    Thread Starter MagineM

    (@maginem)

    Ah, ok. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Getting error – open_basedir’ is closed to new replies.