PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 11th, 1999, 11:48 PM
spaceman
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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?

Reply With Quote
  #2  
Old August 12th, 1999, 02:18 AM
spaceman
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
OK, so I'm replying to myself here: we have a possible hard drive failure which may be causing the problem. Investigating now...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > 'include' problem: failed opening ...

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap