The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 23 posts ] 
Author Message
PostPosted: Wed Jan 19, 2011 1:01 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
Greetings all,

I hope someone to help with this problem, which is:

happens when I try to install, Module, Template or plugings,

It always gives me access denied ERROR:

Errors like this This is installing a Template
* JFile:: write (/ home/njcastillo/domains/tecnologialibre.net/public_html/joomla16/tmp/install_4d363379a9e78/Tecnologialibre01/images/nav.png): fopen (/ home/njcastillo/domains/tecnologialibre.net/public_html/joomla16 / tmp/install_4d363379a9e78/Tecnologialibre01/images/nav.png) [function.fopen]: failed to open stream: Permission denied
* Unable to write entry

This happens to me with anything I wanted to install additional Joomla 1.6
The main error is ([function.fopen]: failed to open stream: Permission denied)
That apparently is PHP. or a bug of Joomla 1.6

I'm actually looking on the internet about this error and it seems that is something that has to do with PHP.

If anyone can help me with this case, please.

NOTE:
This is not about Joomla 1.5.22, I do not step Joomla 1.6 RC1, now the official stable version is that I pass this error.

Thanks in advance to all

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 1:28 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 24, 2007 10:35 pm
Posts: 10
It looks like your tmp file does not have the correct permissions. Inside your administration panels go to Site>System Information>Directory Permissions and see what it says. You will need to change them on your server. Your ftp program usually has this ability. You need to make the tmp directory writable, in this case: / home/njcastillo/domains/tecnologialibre.net/public_html/joomla16/tmp

Also make sure the extensions you are trying to install are compatible with 1.6. Most of the extensions available are not yet made for 1.6.

_________________
I still vote at this late date to change the name of 1.6 to 2.0 to mitigate the confusion


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 1:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 24, 2007 10:35 pm
Posts: 10
I also just noticed a space in the path. You may have simply added a space in between / and home in your path in configuration.php file. "/ home" is very different from "/home" and the server wont be able to find the files properly. If the above post didn't fix the issue this may be it.

_________________
I still vote at this late date to change the name of 1.6 to 2.0 to mitigate the confusion


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 1:45 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
Thank you very much for answering,
Indeed, I've tried to chmod 777 and chmod 775

But do not let me write, as I said, with Joomla 1.6 RC1 version I passed it.
I am also sure I'm installing the module support for Joomla 1.6 thong
I have Joomla 1.5 and this does not pass this error,

I've tried everything

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 1:47 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
I also just noticed a space in the path. You may have simply added a space in between / and home in your path in configuration.php file. "/ home" is very different from "/home" and the server wont be able to find the files properly. If the above post didn't fix the issue this may be it.

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 1:47 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
configuration.php, review the file and everything is ok!

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 12:46 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 23, 2008 9:53 am
Posts: 7
I have a similar problem. Something seems to be wrong with the file libraries/joomla/filestream/archive/zip.php

The problem is partly solved by replacing the zip.php file with the Joomla 1.5 version, though it does not work when you use language packs. You may try to use the version of Joomla 1.6 RC1 (I cannot try this because I do not have this version).


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 12:51 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Nov 09, 2010 12:52 pm
Posts: 3
Location: Iceland
I'm having the same problem over here. I'm running roughly 30 joomla sites on the same server. All sites have the same dir settings. Joomla 1.5.22 works brilliantly but Joomla 1.6 refuses to install any addons due to this error
Code:
JFile: :write(/myuserdirectorypath/public_html/tmp/install_4d36dc92aeb6d/apple_touch_icon.png): fopen(/myuserdirectorypath/public_html/tmp/install_4d36dc92aeb6d/apple_touch_icon.png) [function.fopen]: failed to open stream: Permission denied
* Unable to write entry]

Here I am for example installing a template onto a site which has the whole dir structure chmoded to 775, running on a centos server. Any ideas?


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 2:45 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
Since Joomla 1.6 released I've had this problem apparently is a bug of Joomla 1.6 stable, now with Joomla 1.6 RC1 and Joomla 1.5.22 does not pass this, hope someone help us or wait to correct this problem in future Joomla release 1.6.01

Greetings to all

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 2:51 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
The problem is related to PHP, as seen here:
Code:
[function.fopen]: failed to open stream: Permission denied

http://php.net/manual/es/function.fopen.php

Now I repeat, everything seems to be a bug of Joomla 1.6 version and some operating systems such as Red Hat distributions (Fedora, CentOS, etc.)

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 3:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 23, 2008 9:53 am
Posts: 7
njcastillo wrote:
Since Joomla 1.6 released I've had this problem apparently is a bug of Joomla 1.6 stable, now with Joomla 1.6 RC1 and Joomla 1.5.22 does not pass this, hope someone help us or wait to correct this problem in future Joomla release 1.6.01

Greetings to all

Quote:
FreeBSD s67.webhostingserver.nl 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #1: Tue Jul 20 12:48:39 CEST 2010 root@s67.webhostingserver.nl:/usr/obj/usr/src/sys/GENERICQUOTA i386

My Joomla runs on FreeBSD. Maybe this helps one of the experts. Can you please let us know on which OS you run?

(Joomla 1.6 has a system info menu on the Site menu item that displays this information.


Top
 Profile  
 
PostPosted: Wed Jan 19, 2011 6:37 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Feb 21, 2009 7:54 pm
Posts: 4
RudolfJan wrote:
I have a similar problem. Something seems to be wrong with the file libraries/joomla/filestream/archive/zip.php

The problem is partly solved by replacing the zip.php file with the Joomla 1.5 version, though it does not work when you use language packs. You may try to use the version of Joomla 1.6 RC1 (I cannot try this because I do not have this version).


Same problem on our test-site, the solution mentioned by RudolfJan works, so the problem is somewhere within the 1.6 release version of the zip.php file itself, this will probably be fixed by joomla staff for 1.6.01 soon. Until then run a neutral language site and use an old zip.php file.


Top
 Profile  
 
PostPosted: Thu Jan 20, 2011 3:19 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 23, 2007 4:55 am
Posts: 14
Here's a work-around that proves this is a permission issue bug (and probably in the zip.php file coding from the above I suspect). I was successful in installing a template doing the following. First I wanted to install yoo_noble_j16.tar, the YooTheme template.

1. In the tmp folder in the installed Joomla folder, I created the folder yoo_noble_j16.
2. Chmod the permissions for the yoo_noble_j16 folder to 755 (chmod 775 yoo_noble_j16).
3. Ftp'd the yoo_noble_j16.tar directly inside the yoo_noble_j16 folder.
4. Via the command line (with super user privileges) from within that yoo_noble_j16 folder, I executed this: tar -xzvf ./yoo_noble_j16.tar
5. Now back in the Joomla administration interface for my site, in the Extension Manager: Install page, I then use the Install From Directory option to install the template.
There were no errors.


Top
 Profile  
 
PostPosted: Thu Jan 20, 2011 3:59 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Feb 21, 2009 7:54 pm
Posts: 4
An tracker has been opened for the issue
http://joomlacode.org/gf/project/joomla ... m_id=24517


Top
 Profile  
 
PostPosted: Thu Jan 20, 2011 7:07 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
Who helped ??????
us with this virus or problem

Code:
        * JFile: :write(/home/user/domains/tecnologialibre.net/public_html/joomla16/tmp/install_4d38872d2d998/mod_gtranslate16/helper.php): fopen(/home/user/domains/tecnologialibre.net/public_html/joomla16/tmp/install_4d38872d2d998/mod_gtranslate16/helper.php) [function.fopen]: failed to open stream: Permission denied
        * Unable to write entry


This is tried to install mod_gtranslate16

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Thu Jan 20, 2011 7:47 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 29, 2010 6:02 pm
Posts: 19
Location: Santo Domingo
:'( A temporary solution to this :'(

:eek: Global Settings -> Server -> FTP Settings :eek:

:eek: Enable FTP Make NO :eek:

:geek: This error does not install any package, of course it is for Joomla 1.6 :geek:

_________________
Nelson Castillo
TecnologiaLibre.Net
http://www.tecnologialibre.net
Santo Domingo, Dominicana Republic


Top
 Profile  
 
PostPosted: Fri Jan 21, 2011 9:40 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 23, 2008 9:53 am
Posts: 7
njcastillo wrote:
:'( A temporary solution to this :'(

:eek: Global Settings -> Server -> FTP Settings :eek:

:eek: Enable FTP Make NO :eek:

:geek: This error does not install any package, of course it is for Joomla 1.6 :geek:


You should read other contributions on this topic for a workaround.


Top
 Profile  
 
PostPosted: Sun Jan 30, 2011 4:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 26, 2010 9:41 pm
Posts: 9
There's an issue reported on the JoomlaCode website (http://joomlacode.org/gf/project/joomla ... m_id=24517) where the issue is described. It has been confirmed but no action has been taken yet.


Top
 Profile  
 
PostPosted: Sat Mar 19, 2011 10:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Mar 19, 2011 9:59 pm
Posts: 1
Joomla 1.6.0 and 1.6.1

\libraries\joomla\filesystem\archive\zip.php
Line 252 >> action delete: , true

Line 252 - zip.php, not working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer, true) === false) {

Line 252 - zip.php update, working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer) === false) {


This should solve the problem!


Top
 Profile  
 
PostPosted: Tue Mar 22, 2011 4:15 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 28, 2006 3:23 pm
Posts: 8
BeOriginal wrote:
Joomla 1.6.0 and 1.6.1

\libraries\joomla\filesystem\archive\zip.php
Line 252 >> action delete: , true

Line 252 - zip.php, not working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer, true) === false) {

Line 252 - zip.php update, working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer) === false) {


This should solve the problem!



Thank you!
This post really helped me :)


Top
 Profile  
 
PostPosted: Mon Apr 11, 2011 7:54 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Apr 05, 2011 10:08 am
Posts: 2
Mihc wrote:
BeOriginal wrote:
Joomla 1.6.0 and 1.6.1

\libraries\joomla\filesystem\archive\zip.php
Line 252 >> action delete: , true

Line 252 - zip.php, not working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer, true) === false) {

Line 252 - zip.php update, working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer) === false) {


This should solve the problem!



Thank you!
This post really helped me :)




This worked just fine. Thank you also.


Top
 Profile  
 
PostPosted: Wed Apr 13, 2011 4:24 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 16, 2007 9:22 am
Posts: 3
Quote:
Joomla 1.6.0 and 1.6.1

\libraries\joomla\filesystem\archive\zip.php
Line 252 >> action delete: , true

Line 252 - zip.php, not working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer, true) === false) {

Line 252 - zip.php update, working version -
if (JFile::write($destination.DS.zip_entry_name($file), $buffer) === false) {

Perfect! Many thanks BeOriginal !


Top
 Profile  
 
PostPosted: Fri Apr 22, 2011 9:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Apr 19, 2011 10:57 pm
Posts: 12
this was perfect solution, thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 



Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group