Can anyone help me?
I have a php program loaded in the www folder. It works, but gets to a point with the folowing warning notice:
Warning: fopen(admin/pages/reveal/views.txt) [function.fopen]: failed to open stream: Permission denied in /home/web/FB2/preview.php on line 19
Is this a function switched off in Bubba, or part of the php program I've loaded? I'm not good at getting into the control functions of the Bubba operating systems so it would need to be in easy understand english please.
Thanks if anyone can help.
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Functon fopen on B2
Re: Functon fopen on B2
Hi KeithH, and welcome!
Could you please send us the output of this?
From a quick google, it looks like you are trying to use something called FanPage Pro. I have no experience of this. But it would be interesting to know if all the files are under /home/web, and what the ownerships are like.
You probably need to do a:
This will change the ownership of the files to www-data (which is the user the web server uses, so it will have access to them).
You will probably have to do this as root.
Best regards,
Cheeseboy
Could you please send us the output of this?
Code: Select all
$ cat -n /home/web/FB2/preview.php | grep 19
You probably need to do a:
Code: Select all
# chown -R www-data /home/web/FB2
You will probably have to do this as root.
Best regards,
Cheeseboy
Re: Functon fopen on B2
Hi Cheeseboy,
Many thanks for your advice. with a little readup over two days in how to use Putty, I did as you advised entering the chown code you gave. It is now working correctly.
Thanks again
Keith
Many thanks for your advice. with a little readup over two days in how to use Putty, I did as you advised entering the chown code you gave. It is now working correctly.
Thanks again
Keith