• Resolved piterat

    (@piterat)


    I have placed my propertysearch.php in my public_html folder and have used [includeme file=”propertysearch.php”] in my wordpress page and am getting the following error: Warning: include(/home/username/public_html/propertysearch.php): failed to open stream: No such file or directory in /home/username/public_html/wp-content/plugins/include-me/plugin.php on line 25
    I am uncertain what I am doing wrong, or how I would use ABSPATH to define the location of the file

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Is that path correct?
    /home/username/public_html/propertysearch.php

    Stefano.

    Thread Starter piterat

    (@piterat)

    yes it is, which is what is confusing me. my thought is the [includeme] is not telling it to look in this location and I thought of adding ADSPATH but I am not sure how. I am uncertain what I am doing wrong so any help would be appreciated

    Plugin Author Stefano Lissa

    (@satollo)

    When the path starts with / includeme does not change the path. The error comes from PHP, it means PHP is not able to find (or has not permission to read) the file.

    Stefano.

    Thread Starter piterat

    (@piterat)

    is there a video tutorial explaining the procedure from start to finish on wordpress? I would really like to use this plugin and without it I am afraid many people may be experiencing the same issue

    Plugin Author Stefano Lissa

    (@satollo)

    There is the documentation on satollo.net. But if you have such an error, it’s a PHP problem.

    [includeme file=”/path/to/file”]

    try to rewrite the whole line in your blog.

    Stefano.

    Thread Starter piterat

    (@piterat)

    how would you write it with ABSPATH?

    Plugin Author Stefano Lissa

    (@satollo)

    You don’t need, it’s already added. See the documentation page: https://www.satollo.net/plugins/include-me.

    Stefano.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘php file not found’ is closed to new replies.