WordPress.org

Ready to get started?Download WordPress

Forums

Headline Images install issue (4 posts)

  1. royal
    Member
    Posted 8 years ago #

    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.

  2. 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:

    require_once("/home/royal618/public_html/blog/wp-config.php");

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

  3. royal
    Member
    Posted 8 years ago #

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

  4. ColdForged
    Member
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags