Support » Plugins and Hacks » Headline Images install issue

Headline Images install issue

  • Hi All,

    I’ve been through all the issues I could find on here to no avail.

    I’ve installed the Headline Images plugin on my WP 1.5 install. Install was done by dropping the files into the wp-content/plugins/image-headlines/ dir.

    I’m getting the following error message when I try to access ‘Headlines’ from the ‘Options’ menu – http://royaltech.net/blog/wp-admin/image-headlines.php

    Warning: main(/home/royal618/public_html/wp-config.php): failed to open stream: No such file or directory in /home/royal618/public_html/blog/wp-admin/image-headlines.php on line 41

    Fatal error: main(): Failed opening required ‘/home/royal618/public_html/wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/royal618/public_html/blog/wp-admin/image-headlines.php on line 41

    Any thoughts or assistance would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Les Bessant


    keeper of the Tiggers

    Looks like some path-related confusion.

    Everything appears to be in your “blog” folder, but the plugin is looking at the root of your site.

    Assuming your paths are set correctly, and nothing else is broken, how about editing line 41 of the plugin so that it looks for wp-config.php in the right place. It probably looks like this:

    require_once (dirname(dirname(dirname(__FILE__))) . "/wp-config.php");

    You could force it to the correct location:


    Faling that, the author does appear to be providing support on his site.

    Thanks, but it didn’t work I’m afraid. I’ve left a note for the author. Any one else here with an idea?

    Things look to be installed in the wrong place. Please see this comment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Headline Images install issue’ is closed to new replies.