PDA

View Full Version : Warning: require(connect.php) [function.require]: failed to open stream: No such file



GoldenMerc
30-12-2007, 09:21 PM
Erm on my DJ panel where the rare values system is im getting this error:


Warning: require(connect.php) [function.require (http://hhgs.net/radiodjpanel/rares/function.require)]: failed to open stream: No such file or directory in /home/hhgsnet/public_html/radiodjpanel/rares/check.php on line 3

Warning: require(connect.php) [function.require (http://hhgs.net/radiodjpanel/rares/function.require)]: failed to open stream: No such file or directory in /home/hhgsnet/public_html/radiodjpanel/rares/check.php on line 3

Fatal error: require() [function.require (http://hhgs.net/radiodjpanel/rares/function.require)]: Failed opening required 'connect.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hhgsnet/public_html/radiodjpanel/rares/check.php on line 3
+rep twice if someone helps me.

MrCraig
30-12-2007, 09:21 PM
Check if you have a connect.php file in the directory :S?

Edit:

Try changing



<?php
require("connect.php");
?>


to



<?php
require("../connect.php");
?>

Blob
30-12-2007, 09:23 PM
Check if you have a connect.php file in the directory :S?

Edit:

Try changing



<?php
require("connect.php");
?>


to



<?php
require("../connect.php");
?>


As i was helping you earlier, ross, that will work.

GoldenMerc
30-12-2007, 09:24 PM
What file to change?

MrCraig
30-12-2007, 09:26 PM
check.php

it should be near the top.

--ss--
30-12-2007, 09:26 PM
What file to change?
The file you are trying to view above ;)

GoldenMerc
30-12-2007, 09:28 PM
Will you marry me, +rep il +rep u again when i can omgosh u saved my life !
Joke!

MrCraig
30-12-2007, 09:30 PM
as long as its a nice ring ross :P

GoldenMerc
30-12-2007, 09:33 PM
Buy your own ring !!!
repped ;)

Want to hide these adverts? Register an account for free!