PDA

View Full Version : Php error


AznGuyJTran
02-11-2003, 07:16 AM
hey
when i use php to make my website i have cutenews included and i was using the home.php?home code. when i show the full story or comments i get this error ::
Warning: Failed opening 'subaction=showfull&id=1044942576.txt' for inclusion (include_path='.;c:\php4\pear') in F:\website-data\TheAnimeVault\pagefiles\menu.txt on line 12
::
so is there a script so that it ignores the problem and not show the warning
?????

InTrKtEVO
02-12-2003, 05:15 AM
its giving the error because its looking for the directory
"F:\website-data\TheAnimeVault\pagefiles\menu.txt"
which doesn't probably exsist. Fix the filepath and everything should work

AznGuyJTran
02-12-2003, 06:24 AM
well thats the thing :
i want to know if theres a script that ignores php errors just like a script that ignores java errors

InTrKtEVO
02-12-2003, 07:51 PM
why dont you link it to somewherer than exsists and fix the error rather than reporting it..


<?
error_reporting(4);

PHP CODE

?>


I use 4, someone told be about that code, other numbers might work and stuff not sure.

AznGuyJTran
02-13-2003, 04:48 AM
thankz it works
:D

InTrKtEVO
02-14-2003, 01:44 AM
yeah no problem, you should always try to fix it though!:cool:

keito
02-20-2003, 08:50 PM
sry man im still learning php. I know phpBB2 though.