PHP/Wordpress problem :S

4 replies
Hey Guys,

I wouldn't normally make a post just to announce that I have arrived on a forum. However I have a bit of a problem that I was wondering if anyone has any idea how to fix.

See my site here:
danmassicottespositiveliving dot com
(Sorry about that, but I'm not going to post all over the forum so I reach the required post count)

Notice the two errors:

Warning: include(/home2/dansboys/public_html/blog//wp-content/plugin/content-gallery/gallery.php) [function.include]: failed to open stream: No such file or directory in /home2/dansboys/public_html/blog/wp-content/themes/Grungezine/featured.php on line 3

Warning: include() [function.include]: Failed opening '/home2/dansboys/public_html/blog//wp-content/plugin/content-gallery/gallery.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/dansboys/public_html/blog/wp-content/themes/Grungezine/featured.php on line 3

Anyone have any idea how to fix these? I verified that the file path is accurate, which indeed it is. I also google'd various strings of these errors and still no luck. I'm really stumped on these and want to have my blog fixed up this weekend (I just changed themes).

Any help would really be appreciated.

Thanks

Dan

P.S. I'm really enjoying reading these forums
#blog #error #php or wordpress #problem #wordpress
  • Profile picture of the author Kat Bartone
    Dan,

    I'm wondering if your gallery plugin is incompatible with your new theme?

    Try disabling it and see if that helps.


    - Kat Bartone
    Signature

    Your search for the perfect WordPress theme is over. Here it is.

    Coming soon: Compelling Content from the PLR Article Wizard

    {{ DiscussionBoard.errors[324137].message }}
  • Profile picture of the author The Pension Guy
    Your theme (=Grungezine) has a file named featured.php - and that file is looking for a file, namely: plugin/content-gallery/gallery.php - and it is not there.

    Furthermore, you have an issue with that installation, see this path can not be correct:
    public_html/blog//wp-content/ <== notice the double slash // between blog and wp-content?
    Signature

    {{ DiscussionBoard.errors[324142].message }}
  • Profile picture of the author Dantplayer
    I see what you mean about the double slash, but I'm not sure how to get rid of it. The coding in the featured.php doesn't have the double slash.

    Kat,

    What gallery plugin do you mean? Are you referring to Flickr at the bottom of the site? I tried disabling it and I didn't get any further.
    Signature

    Join the Madness on Facebook!

    {{ DiscussionBoard.errors[324172].message }}
  • Profile picture of the author TheRichJerksNet
    Originally Posted by Dantplayer View Post

    Hey Guys,

    I wouldn't normally make a post just to announce that I have arrived on a forum. However I have a bit of a problem that I was wondering if anyone has any idea how to fix.

    See my site here:
    danmassicottespositiveliving dot com
    (Sorry about that, but I'm not going to post all over the forum so I reach the required post count)

    Notice the two errors:

    Warning: include(/home2/dansboys/public_html/blog//wp-content/plugin/content-gallery/gallery.php) [function.include]: failed to open stream: No such file or directory in /home2/dansboys/public_html/blog/wp-content/themes/Grungezine/featured.php on line 3

    Warning: include() [function.include]: Failed opening '/home2/dansboys/public_html/blog//wp-content/plugin/content-gallery/gallery.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/dansboys/public_html/blog/wp-content/themes/Grungezine/featured.php on line 3

    Anyone have any idea how to fix these? I verified that the file path is accurate, which indeed it is. I also google'd various strings of these errors and still no luck. I'm really stumped on these and want to have my blog fixed up this weekend (I just changed themes).

    Any help would really be appreciated.

    Thanks

    Dan

    P.S. I'm really enjoying reading these forums
    Dan,
    I do not have the theme you use but..

    1. Make sure you fix that // double backslash as it could be an issue. (depends upon your server, but should be fixed anyways)

    2. Open featured.php with a text editor (TextEdit for Mac Notepad for Windows). Look at line 3 .. If it has a "include" for gallery.php and gallery.php does not exist then that is your issue. Looking at your site it says gallery.php does not exist so recheck the plugin and download new version.

    3. If the above does not fix your issue then your theme may be a problem. Not all themes work for all versions of wordpress.

    4. Viewing your main site your header has
    PHP Code:
       ')"> 
    Meaning your code is broken, you need to check your header under edit themes.

    5. You are running a out-of-date wordpress - see WordPressSecured.com :: secure, security, wordpress, exploits, hackers, secured, wordpress.org

    6. Just noticed the path to your plugins is wrong it is not wp-content/plugin/ it is supposed to be wp-content/plugins/ -- notice the "s" - But I also noticed you do not have a content-gallery folder in your plugins...

    James
    {{ DiscussionBoard.errors[324200].message }}

Trending Topics