Link to home
Start Free TrialLog in
Avatar of Terry Rogers
Terry RogersFlag for United Kingdom of Great Britain and Northern Ireland

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?bday=1&issue=03/05/2006' for inclusion (include_path='.:/usr/share/pear') in /vol1/intranet/just4us/issue28-apr06/issue28.php on line 65

Warning: Failed opening '/calendar/holidays.php?issue=03/05/2006' for inclusion (include_path='.:/usr/share/pear') in /vol1/intranet/just4us/issue28-apr06/issue28.php on line 69

Line 65 is <?php include '/calendar/holidays.php?bday=1&issue=03/05/2006'; ?>

and Line 69 is <?php include '/calendar/holidays.php?issue=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?
ASKER CERTIFIED SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Terry Rogers

ASKER

Sorry the includes above are wrong, they are set as follows ...

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.
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.
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.