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
Permission denied in php50x.php
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Permission denied in php50x.php
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
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
-
- Phoca Newbie
- Posts: 2
- Joined: 06 Mar 2009, 23:59
Re: Permission denied in php50x.php
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Permission denied in php50x.php
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 24 Jul 2010, 21:49
Re: Permission denied in php50x.php
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.
http://www.raudondvaris.hostingas.in/info/111.jpg
I am not expert in php management, could anybody suggest a solution? Thanks a lot.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Permission denied in php50x.php
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
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
-
- Phoca Newbie
- Posts: 2
- Joined: 24 Jul 2010, 21:49
Re: Permission denied in php50x.php
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?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Permission denied in php50x.php
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
Did you try to enable FTP layer?
Jan
If you find Phoca extensions useful, please support the project