WordPress.org

Support

Support » Plugins and Hacks » Weather Report and a sleepless idiot

Weather Report and a sleepless idiot

  • I’m the sleepless idiot.

    “Weather Report” is the plug-in with the bad luck to be chosen by me.

    I think I installed everything correctly, but when I activated the plug-in I got the following immediately and the site was frozen until I deleted the plug-in via ftp:

    Warning: main(): open_basedir restriction in effect. File(/bullspeak/wp-config.php) is not within the allowed path(s): (/home/omar/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/omar/public_html/bullspeak/wp-content/plugins/weather-report.php on line 36

    Warning: main(/bullspeak/wp-config.php): failed to open stream: Operation not permitted in /home/omar/public_html/bullspeak/wp-content/plugins/weather-report.php on line 36

    Fatal error: main(): Failed opening required ‘/bullspeak/wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/omar/public_html/bullspeak/wp-content/plugins/weather-report.php on line 36“

    Any ideas where I went wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    You will have to edit the weather-report.php file (as per the installation instructions).

    Where it says define ('WP_DIR', '/path-to-your-wp-directory/');

    make sure you have the full path to your directory. This is /home/omar/public_html/bullspeak/ (looking at what you have posted above). You probably just have /bullspeak/ which is pointing to a completely different directory.

    Rob

    Thanks, Rob!

    Rob was absolutely correct, and that’s why when I haven’t slept in days I should restrict myself to reading rather than modifying my blog…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Weather Report and a sleepless idiot’ is closed to new replies.