Permission denied in php50x.php

Phoca Favicon - simple creation of favicon in Joomla! CMS
gadjah1966
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Mar 2009, 23:59

Permission denied in php50x.php

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Permission denied in php50x.php

Post 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
If you find Phoca extensions useful, please support the project
gadjah1966
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Mar 2009, 23:59

Re: Permission denied in php50x.php

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Permission denied in php50x.php

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
fentas
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Jul 2010, 21:49

Re: Permission denied in php50x.php

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Permission denied in php50x.php

Post 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
If you find Phoca extensions useful, please support the project
fentas
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Jul 2010, 21:49

Re: Permission denied in php50x.php

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Permission denied in php50x.php

Post 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
If you find Phoca extensions useful, please support the project
Post Reply