• 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'); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter hazelbug

    (@hazelbug)

    sorry, here is the link to the site

    https://healingforallhumanity.com/

    Thread Starter hazelbug

    (@hazelbug)

    anyone know?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    Thread Starter hazelbug

    (@hazelbug)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘what does this mean?’ is closed to new replies.