Terry Rogers
asked on
Help! Failed opening for inclusion Error
I have no idea why but im getting the following error when accessing http://will01.williams.uk.com/just4us/issue28-apr06/issue28.php
Warning: Failed opening '/calendar/holidays.php?bd ay=1&issue =03/05/200 6' for inclusion (include_path='.:/usr/shar e/pear') in /vol1/intranet/just4us/iss ue28-apr06 /issue28.p hp on line 65
Warning: Failed opening '/calendar/holidays.php?is sue=03/05/ 2006' for inclusion (include_path='.:/usr/shar e/pear') in /vol1/intranet/just4us/iss ue28-apr06 /issue28.p hp on line 69
Line 65 is <?php include '/calendar/holidays.php?bd ay=1&issue =03/05/200 6'; ?>
and Line 69 is <?php include '/calendar/holidays.php?is sue=03/05/ 2006'; ?>
The scripts that the include points to works fine in the browser on its own.
http://will01/calendar/holidays.php?bday=1&issue=03/05/2006
& http://will01/calendar/holidays.php?issue=03/05/2006
Whats wrong with it?
Warning: Failed opening '/calendar/holidays.php?bd
Warning: Failed opening '/calendar/holidays.php?is
Line 65 is <?php include '/calendar/holidays.php?bd
and Line 69 is <?php include '/calendar/holidays.php?is
The scripts that the include points to works fine in the browser on its own.
http://will01/calendar/holidays.php?bday=1&issue=03/05/2006
& http://will01/calendar/holidays.php?issue=03/05/2006
Whats wrong with it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
RQuadling, your echo file_get_contents did not work.
Just get a blank area where id expect to see my results.
If you look here ...
http://will01.williams.uk.com/calendar/holidays.php?bday=1&issue=03/05/2006 &
http://will01.williams.uk.com/calendar/holidays.php?issue=03/05/2006
You can see the scripts work fine.
Just get a blank area where id expect to see my results.
If you look here ...
http://will01.williams.uk.com/calendar/holidays.php?bday=1&issue=03/05/2006 &
http://will01.williams.uk.com/calendar/holidays.php?issue=03/05/2006
You can see the scripts work fine.
ASKER
ok, I have it working now. I replaced the will01 with the machine ip address and all started to work again.
Thanks for the help.
Thanks for the help.
ASKER
Line 65 is <?php include 'http://will01/calendar/holidays.php?bday=1&issue=03/05/2006'; ?>
and Line 69 is <?php include 'http://will01/calendar/holidays.php?issue=03/05/2006'; ?>
I changed them to the above post to see if they would work.
This include has worked for the past 3-4 months and now isn't, and I don't know why. Need some help in working out what is wrong.
Also I don't use iFrames and do not want to. Just want to get it working again how it was.