Page 1 of 1

Permission denied in php50x.php

Posted: 07 Mar 2009, 00:20
by gadjah1966
Dear Jan,
I got following messages while installing Phoca Favicon :
Warning: file_put_contents() failed to open stream: Permission denied in /home/propcong/public_html/propcon/libraries/joomla/utilities/compat/php50x.php on line 66
Phoca Favicon is creating favicon now. Please wait...
Creating of favicon from file PROPCON LOGO.jpg ... OK

I had check the permisson at php50x.php file, it was okay.
The image was created, but seem it was not installed in my website : http://www.propcongolf.com

Any suggestion on this....?

Thank you,
GM

Re: Permission denied in php50x.php

Posted: 08 Mar 2009, 11:56
by Jan
Hi, no idea about the installing error you got ???

Did you clear the cache of your webbrowser to see the favicon... see if the favicon is here (you can find it in the folder of template and you should see there the .bak file for the old favicon)

Jan

Re: Permission denied in php50x.php

Posted: 08 Mar 2009, 22:35
by gadjah1966
Jan
Finally it was reseolved. As I said, the image 16x16 pixel was created (image.jpg), then I rename it into favico.ico and move the image file into /image directory. And I mannually add the following at index.php, before the <head> :

<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/images/favicon.ico" />

And it works...! Thanks for your time anyway...!

Regards,
GM

Re: Permission denied in php50x.php

Posted: 14 Mar 2009, 20:39
by Jan
Ok

Re: Permission denied in php50x.php

Posted: 24 Jul 2010, 21:55
by fentas
Hello, I have a similar problem, while creating favicon such an error apears:

http://www.raudondvaris.hostingas.in/info/111.jpg

I am not expert in php management, could anybody suggest a solution? Thanks a lot.

Re: Permission denied in php50x.php

Posted: 26 Jul 2010, 17:01
by Jan
Hi, seems you have no permissions to write files or folders on your site, try to check your pemissions and ownersip of the files or folders, see e.g.:


https://www.phoca.cz/documents/50-phoca/ ... y-settings
https://www.phoca.cz/documents/38-tools/ ... nd-folders
...

Jan

Re: Permission denied in php50x.php

Posted: 10 Sep 2010, 13:23
by fentas
Hello once again, I am still struggling with trying to make Favicon appear. Now my site's all directories are all writable and set to 777, but still the same error. Can there be any other solutions?

Re: Permission denied in php50x.php

Posted: 14 Sep 2010, 20:57
by Jan
Hi, did you check the ownership too? Does the script have the same ownership as was created for folder (e.g. if this was created by FTP, does the Joomla! user FTP)?

Did you try to enable FTP layer?

Jan