Re: [PHP] Newb PHP Question

2004-08-13 Thread Andy Moore
httpd got access to all the files? Ah! I fixed it now. Ok, this problem is solved, thanks all :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newb PHP Question

2004-08-13 Thread Hannes Magnusson
httpd got access to all the files? If the include path is wrong include() will rase error, I'm guessing httpd don't got permission to read one ( or more ) of the files. On Fri, 13 Aug 2004 11:53:46 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: > > Can we see some of the code throwing the error? P

Re: [PHP] Newb PHP Question

2004-08-13 Thread Andy Moore
Can we see some of the code throwing the error? PHP is working correctly if you got the page above (a handy thing to keep around BTW). I assumed it was a configuration error because the error occured on line 0. But in any case, here's some lowdown. main.php - the file everyone will be seeing, and

Re: [PHP] Newb PHP Question

2004-08-13 Thread Curt Zirzow
* Thus wrote Andy Moore: > I'm getting an error... And I have no idea how to fix it. I've never > been able to get PHP to work. > > --- > Warning: Unknown(/var/www/test.php): failed to open stream: Permission > denied in Unknown on line 0 > > Warning: (null)(): Failed opening '/var/www/test.php

Re: [PHP] Newb PHP Question

2004-08-13 Thread Hannes Magnusson
Are you trying to include or fopen file? httpd have access to that file? - Hannes On Fri, 13 Aug 2004 11:37:08 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: > > Andy do a small page with only this in it and see if it will load. > > > > > > > phpinfo(); > > > > ?> > > That churned out a rather

Re: [PHP] Newb PHP Question

2004-08-13 Thread John Nichel
Andy Moore wrote: Andy do a small page with only this in it and see if it will load. phpinfo(); ?> That churned out a rather long page with all sorts of information... so now I'm assuming that PHP is parsing correctly, but I have some sort of configuration error? What that would be, I'm unsure.

RE: [PHP] Newb PHP Question

2004-08-13 Thread Jay Blanchard
[snip] That churned out a rather long page with all sorts of information... so now I'm assuming that PHP is parsing correctly, but I have some sort of configuration error? What that would be, I'm unsure... [/snip] Can we see some of the code throwing the error? PHP is working correctly if you go

Re: [PHP] Newb PHP Question

2004-08-13 Thread Andy Moore
Andy do a small page with only this in it and see if it will load. phpinfo(); ?> That churned out a rather long page with all sorts of information... so now I'm assuming that PHP is parsing correctly, but I have some sort of configuration error? What that would be, I'm unsure... -Andy -- PHP Ge

RE: [PHP] Newb PHP Question

2004-08-13 Thread Jay Blanchard
[snip] I'm getting an error... And I have no idea how to fix it. I've never been able to get PHP to work. [/snip] Andy do a small page with only this in it and see if it will load. No HTML or anything else, just this -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht