WordPress.org

Ready to get started?Download WordPress

Forums

what does this mean? (5 posts)

  1. hazelbug
    Member
    Posted 5 years ago #

    I installed the theme and plug ins. The top featured area is getting an error.

    I have 3 domains on one host. In the directory, the secondary sites have their own folders.

    So it's under public_html/healingforallhumanity/index.php

    I opened up "home.php" and tried putting a variety of hard links in the code(ie /index_html/healingforallhumanity.com/wp-content/etc.), but none are working. This seems to be the line that I am working with... maybe i completely wrong.

    <?php include (ABSPATH . '/wp-content/plugins/content-gallery/gallery.php'); ?>

  2. hazelbug
    Member
    Posted 5 years ago #

    sorry, here is the link to the site

    http://healingforallhumanity.com/

  3. hazelbug
    Member
    Posted 5 years ago #

    anyone know?

  4. Your code shows this:
    /home/mckenna/public_html/healingforallhumanity.com//healingforallhumanity.com/wp-content/plugins/content-gallery/gallery.php

    Compare that to this:
    /home/mckenna/public_html/healingforallhumanity.com/wp-content/themes/lifestyle_10/home.php

    I've bolded the relevant part and I think you'll see where it's weirded out :) It's putting in an extra /healingforallhumanity.com/ in the path, so you'll need to see where that's getting set. Try just outputting ABSPATH via PHP to see what the base root is.

  5. hazelbug
    Member
    Posted 5 years ago #

    Thanks Ipstenu...

    Fixed that, but it' still not working.
    Pulled the ABSPATH via PHP and it looks right in the error message
    (/home/mckenna/public_html/healingforallhumanity.com/)

    I checked the directories and all the files are there. Any other ideas?

    So the code in the Home.php is
    <?php include (ABSPATH . '/wp-content/plugins/content-gallery/gallery.php'); ?>

    and I am still getting this error:
    Warning: include(/home/mckenna/public_html/healingforallhumanity.com//healingforallhumanity.com/wp-content/plugins/content-gallery/gallery.php) [function.include]: failed to open stream: No such file or directory in /home/mckenna/public_html/healingforallhumanity.com/wp-content/themes/lifestyle_10/home.php on line 13

Topic Closed

This topic has been closed to new replies.

About this Topic