[thelist] PHP require_once links not working? [SOLVED]

Pringle, Ron RPringle at aurora-il.org
Fri Aug 18 11:02:35 CDT 2006


Joe wrote:


> Hi Ron
> 
> Try using ini_set to switch on errors:
> 
> ini_set("display_errors", true);
> 
> in terms of the path, if this '_includes/classes/etc' works, but 
> 'validation/_includes/classes/etc' doesn't, try:
> 
> require_once('../validation/includes/classes/etc/validation/Va
> idationSet.php');
> 
> Paul's suggestion of using the document root variable for all 
> includes 
> is really handy too.
> 
> 
> hth
> 
> joe


Thanks to Joe's suggestion, I got the errors to display and tracked down
the errant includes paths that weren't working. And thanks to everyone
else who helped as well.

regards,
Ron 



More information about the thelist mailing list