Unable to browse /var/www/directory

Ric Moore wayward4now at gmail.com
Mon Jul 18 21:03:05 UTC 2011


On Mon, 2011-07-18 at 15:00 +0100, Colin Law wrote: 
> On 18 July 2011 14:38, Amrit Pal Pathak <amritpalpathak1 at gmail.com> wrote:
> >
> >
> > On Mon, Jul 18, 2011 at 8:23 AM, Colin Law <clanlaw at googlemail.com> wrote:
> >>
> >> On 18 July 2011 12:52, Amrit Pal Pathak <amritpalpathak1 at gmail.com> wrote:
> >> > Log of access.log file of apache when i was browing.
> >> >
> >> >  127.0.0.1 - - [18/Jul/2011:07:49:52 -0400] "GET /GNDEC-SMS-Service/
> >> > HTTP/1.1" 500 274 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
> >> > rv:1.9.2.3)
> >> > Gecko/20100423 Ubuntu/10.04 (lucid) FireDownload/2.0.1 Firefox/3.6.3"
> >> >
> >> >
> >> > Log of error.log file:
> >> >
> >> > [Mon Jul 18 07:49:50 2011] [notice] Apache/2.2.14 (Ubuntu)
> >> > PHP/5.3.2-1ubuntu4.9 with Suhosin-Patch configured -- resuming normal
> >> > operations
> >> > [Mon Jul 18 07:49:52 2011] [error] [client 127.0.0.1] PHP Warning:
> >> > require_once(/var/www/GNDEC-SMS-Service/config.php): failed to open
> >> > stream:
> >> > Permission denied in /var/www/GNDEC-SMS-Service/constants.inc on line 61
> >> > [Mon Jul 18 07:49:52 2011] [error] [client 127.0.0.1] PHP Fatal error:
> >> > require_once(): Failed opening required 'config.php'
> >> > (include_path='.:/usr/share/php:/usr/share/pear') in
> >> > /var/www/GNDEC-SMS-Service/constants.inc on line 61
> >>
> >> Have you tried to understand the error messages?
> >> It says error in file constants.inc at line number 61 which is
> >
> >       require_once(FILE_CONFIG);
> >        And config.php file is still exist in same directory.
> 
> OK, so it appears to say it cannot open the file config.php due to a
> permissions problem though your previous posts seem to suggest that it
> should be ok.  I don't know much about php.  Now that we have got to
> the nub of the problem has anyone else got a suggestion?

Maybe his friend could fix it?? :) Ric

-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 





More information about the ubuntu-users mailing list