Hi
In my index.php file I have a call to require_once():
// html page settings
require_once('php/page.php');
Warning: require_once(php/page.php) [function.require-once]: failed to open stream: Permission denied in /home/gmseed/public_html/web/trunk/index.php on line 27
Fatal error: require_once() [function.require]: Failed opening required 'php/page.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/gmseed/public_html/web/trunk/index.php on line 27
Does anyone know why I'm getting this error message?
I'm using the php5 version installed as part of Netbeans 6.5 on Ubuntu 8.1.
Thanks for an help.
Cheers
Graham
require_once() error
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: require_once() error
What are the permissions set on the "php" directory?
Re: require_once() error
Hi
Thanks for your reply.
Having just moved over for good from Windows to Ubuntu Linux I for got to check the dir/file permissions.
Changing the access permissions has now sorted out my problem.
Thanks again.
Graham
Thanks for your reply.
Having just moved over for good from Windows to Ubuntu Linux I for got to check the dir/file permissions.
Changing the access permissions has now sorted out my problem.
Thanks again.
Graham