#1
  1. No Profile Picture
    spaceman
    Guest
    Devshed Newbie (0 - 499 posts)
    I'm having a problem using includes in PHP3. The error I'm getting is, for example: Warning: Failed opening 'test5.php3' for inclusion in test4.php3 on line 6.

    It seems that when I do multi-level includes, this command fails on the 4th level of include. I wrote a series of small test scripts like so:

    <?
    echo "this is test4.php3";
    include "test5.php3";
    ?>

    where test1 included test2, test2 included test3, and so on up to test6. The error message reproduced above occurs when test4.php3 tried to include test5.php3. OK, I accept that using this many levels of includes may not be great technique, but the REALLY bizarre thing is that a few days ago some test code I was writing WASN'T erroring, but now it is - and I'll be damned if I know what's changed with the system environment to have caused this. We're running Apache web servers, with no other failues reported in other areas.

    Can anyone shed some light?
  2. #2
  3. No Profile Picture
    spaceman
    Guest
    Devshed Newbie (0 - 499 posts)
    OK, so I'm replying to myself here: we have a possible hard drive failure which may be causing the problem. Investigating now...

Similar Threads

  1. Pointer problem in opening a file
    By LAKI in forum C Programming
    Replies: 13
    Last Post: February 11th, 2004, 09:27 AM
  2. Pointer problems opening file *formatted*
    By LAKI in forum C Programming
    Replies: 4
    Last Post: February 11th, 2004, 07:06 AM
  3. PHP link opening problem
    By Real World in forum PHP Development
    Replies: 2
    Last Post: February 5th, 2004, 07:48 AM
  4. Problem with opening a file
    By Psantiago in forum C Programming
    Replies: 3
    Last Post: February 3rd, 2004, 08:31 PM
  5. semaphore problem
    By paulr1984 in forum C Programming
    Replies: 6
    Last Post: January 27th, 2004, 07:59 AM

IMN logo majestic logo threadwatch logo seochat tools logo