SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast GirlsOnBikes's Avatar
    Join Date
    May 2002
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with error

    Hello All,
    I am getting the following errors:

    Warning: main(/home/gob/public_html/includes/nav_3.inc.php) [function.main]: failed to create stream: No such file or directory in /home/gob/public_html/pages/page01/girls_01_001.php on line 29

    Warning: main() [function.main]: Failed opening '/home/gob/public_html/includes/nav_3.inc.php' for inclusion (include_path='.:/php/includes:/usr/local/lib/php:/usr/lib/php') in /home/gob/public_html/pages/page01/girls_01_001.php on line 29
    Here is the page: http://www.girls-on-bikes.com/pages/...rls_01_001.php
    Anybody have any ideas what might be causing this? Do you need more info?
    Thanks!

  2. #2
    My precious!!! astericks's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, BC
    Posts
    1,971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it means that your include path is not pointing to an existing file.

    do you have your nav_3.inc.php in your 'rootfolder/includes/ folder? Seems like the 01_001.php page is having trouble finding it

    try this instead

    include '../../includes/nav_3.inc.php';

  3. #3
    SitePoint Enthusiast GirlsOnBikes's Avatar
    Join Date
    May 2002
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OMG!
    Yeah, I guess it does help to upload the new include file doesn't it.
    (hangs his head in shame)

    I was thinking there was a problem because I was including a file with some JS in it.
    Thank you very much, now I know what that error means!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •