The Joomla! Forum ™



Forum rules


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



Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Mon Oct 22, 2007 2:34 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 12, 2006 1:14 pm
Posts: 28
When i go to install any add in I get this error

Unable to write entry


Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10032 is not allowed to access /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/tmp/install_471c0b2128ac5 owned by uid 48 in /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/libraries/joomla/filesystem/file.php on line 296

Warning: file_put_contents(/var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/tmp/install_471c0b2128ac5/mod_load_values.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/libraries/joomla/filesystem/file.php on line 296

I know at one time they had something that you could turn on and it would go ahead and install but maybe I am crazzy. Anyone seen this error before been searching and trying to get this corrected for 2 days now.  I know Safe Mode is on but I am not sure it would make this big of a problem not letting anything be installed on it.


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 5:16 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 12, 2006 1:14 pm
Posts: 28
I have installed the version Joomla! 1.0.13 Stable and I am still having problem I am unable to install any add on under com/mod/mam

I get errors in this version of
Upload module - Upload Failed 
ERROR: Could not find an XML setup file in the package. 
[ Continue ... ] 
Upload module - Failed 
Installation file not found:
/var/www/vhosts/gameonline365.com/httpdocs/okatvriders3/media/install_471d83531b98a/ 
[ Continue ... ] 

But I checked and
media/ Writeable
administrator/modules/ Writeable
modules/ Writeable

So somthing is not working right or I am just dumb any one have any ideas on this?


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 3:32 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 12, 2006 1:14 pm
Posts: 28
So I reinstalled 1.5 and I am still not able to load anything in the system nother works in the install area I get can't copy error's


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 3:46 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 12, 2006 1:14 pm
Posts: 28
After making sure all the permissions are setup right I now get the following error. any one have any idea on correcting this



Error
Unable to write entry


Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10039 is not allowed to access /var/www/vhosts/gameonline365.com/subdomains/okatvriders/httpdocs/tmp/install_471e16ec61eed owned by uid 48 in /var/www/vhosts/gameonline365.com/subdomains/okatvriders/httpdocs/libraries/joomla/filesystem/file.php on line 285

Warning: file_put_contents(/var/www/vhosts/gameonline365.com/subdomains/okatvriders/httpdocs/tmp/install_471e16ec61eed/mod_rafweather.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/gameonline365.com/subdomains/okatvriders/httpdocs/libraries/joomla/filesystem/file.php on line 285


Top
 Profile  
 
PostPosted: Thu Oct 25, 2007 6:48 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Oct 25, 2007 6:44 am
Posts: 1
edit joomla/libraries/joomla/filesystem/archive/zip.php
at line 198:
search:
Code:
if (substr($this->_metadata[$i]['name'], -1, 1) != '/' && substr($this->_metadata[$i]['name'], -1, 1) != '\\') {

replace to:
Code:
if (!empty($this->_metadata[$i]['name']) && substr($this->_metadata[$i]['name'], -1, 1) != '/' && substr($this->_metadata[$i]['name'], -1, 1) != '\\') {


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 4:43 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Nov 08, 2007 4:34 pm
Posts: 2
Silv3rF0x wrote:
When i go to install any add in I get this error

Unable to write entry


Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10032 is not allowed to access /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/tmp/install_471c0b2128ac5 owned by uid 48 in /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/libraries/joomla/filesystem/file.php on line 296

Warning: file_put_contents(/var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/tmp/install_471c0b2128ac5/mod_load_values.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/gameonline365.com/httpdocs/okatvriders2/libraries/joomla/filesystem/file.php on line 296

I know at one time they had something that you could turn on and it would go ahead and install but maybe I am crazzy. Anyone seen this error before been searching and trying to get this corrected for 2 days now.  I know Safe Mode is on but I am not sure it would make this big of a problem not letting anything be installed on it.


I have the same problem when I try to install Docman extension, can anyone help me??(sorry my english bad)

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 1147 is not allowed to access /home/ultima/www/tmp/install_4733387000f58 owned by uid 33 in /home/ultima/www/libraries/joomla/filesystem/file.php on line 296

Warning: file_put_contents(/home/ultima/www/tmp/install_4733387000f58/CHANGELOG.php) [function.file-put-contents]: failed to open stream: No such file or directory in /home/ultima/www/libraries/joomla/filesystem/file.php on line 296

I have Joomla 1.5.0 and com_docman_1.4.0rc1 help me please  :'( :'( :'(

PHP Built on:  Linux www 2.6.20.9 #1 Wed Sep 12 16:51:33 EEST 2007 i686
Database Version: 4.0.24_Debian-10sarge2-log
Database Collation: N/A (mySQL < 4.1.2)
PHP Version: 5.2.4
Web Server: Apache/2.0.61 (Unix) DAV/2 PHP/5.2.4
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.0 Production/Stable [ Takriban ] 5-October-2007 21:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7


Last edited by sbt_jacker on Thu Nov 08, 2007 4:44 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Nov 10, 2007 10:26 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Nov 08, 2007 4:34 pm
Posts: 2
Now I have other problem, when I try to install docman I use "Install from directory" and type ../administrator/components/com_installer/module/

and after that I have error
        * JFolder::create: Could not create directory
        * JInstaller::install: Failed to create directory "/home/ultima/www/components/com_docman/assets/css"

Message

        * Install Component Error

DOCman is a document management and download component for Joomla! v1.0.x and v1.5.x

HELP! :((((


Top
 Profile  
 
PostPosted: Fri Feb 01, 2008 1:05 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1347
hshh wrote:
edit joomla/libraries/joomla/filesystem/archive/zip.php
at line 198:
search:
Code:
if (substr($this->_metadata[$i]['name'], -1, 1) != '/' && substr($this->_metadata[$i]['name'], -1, 1) != '\\') {

replace to:
Code:
if (!empty($this->_metadata[$i]['name']) && substr($this->_metadata[$i]['name'], -1, 1) != '/' && substr($this->_metadata[$i]['name'], -1, 1) != '\\') {



I just tried to install MyBlog on 1.5 stable and got similar errors. Editing the zip.php file as noted above fixed the issue. Something not get fixed in stable release?

_________________
Follow me on Twitter @compassdesign
www.compassdesigns.net - Get get free templates and news for Joomla
simplweb.com/joomla-hosting - Fully Managed Joomla Hosting - Unlimited Support


Top
 Profile  
 
PostPosted: Sun Feb 03, 2008 10:26 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Feb 01, 2008 7:41 pm
Posts: 1
I just tried to install eXtplorer and got similar errors.
Editing the zip.php file as noted above fixed :D the issue.

it's good  :)

Thanks!


Top
 Profile  
 
PostPosted: Mon Feb 04, 2008 5:31 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Aug 22, 2005 3:31 pm
Posts: 169
Location: Norfolk, UK
This seems to be a similar problem:

Trying to install com_extplorer_2.0.0_RC1.zip

Warning: file_put_contents(/home/sxhnbiuo/public_html/sddtc/tmp/install_47a744f2325ec/) [function.file-put-contents]: failed to open stream: Is a directory in /home/sxhnbiuo/public_html/sddtc/libraries/joomla/filesystem/file.php on line 298

system info:
Database Version:  4.1.22-standard 
Database Collation:  utf8_general_ci 
PHP Version:  5.2.1 
Web Server:  Apache/1.3.39 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.30 OpenSSL/0.9.7a PHP-CGI/0.1b 
Web Server to PHP interface:  cgi-fcgi 
Joomla! Version:  Joomla! 1.5.0 Production/Stable [ Khepri ] 21-January-2008 23:55 GMT
legacy mode OFF

Solutions tried:
adjusted zip.php as above post - failed
removed legacy xml from the extplorer leaving the 1.5 xml (see component specific forum on joomla code:)
http://joomlacode.org/gf/project/joomla ... ad_id=7776
failed
redownloaded the component zip, didn't alter it, and tried again - failed.

Just uploaded a template and that installed ok - have left the adjusted zip.php until further instructions :)

Can you help me please?

Hils

_________________
Start Joomla! the right way
http://lvsonline.com/online-joomla-class/


Top
 Profile  
 
PostPosted: Wed Feb 06, 2008 11:43 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Jan 04, 2006 9:50 am
Posts: 3
Like hils here above I tried the same solutions and failed.
When I changed the zip.php Joomla 1.5 told me to switch legacy mode on,
because I was trying to install an older component.
It definitely was eXtplorer I was installing and not
its previous incarnation JoomlaXplorer.

Cheers and thanks for assisting us !!


Top
 Profile  
 
PostPosted: Sun Feb 10, 2008 12:38 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7687
Location: New York
A lot of times these are caused by errors in the xml file. 1.5 requires strict xml and I have found that many older extensions have errors.

Also in regards to the inital post

Quote:
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect.


Is safe mode actually in effect? If so you MUST use the ftp layer. A lot of people have problems setting the ftp configuration in exactly the right way. For example, with one of my hosts you cannot use local host as the ftp address,you must actually put in ftp.xxxx.com.
Also make sure you have the @domain.com in the ftp user name and that you save the username and password.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Last edited by mcsmom on Sun Feb 10, 2008 1:04 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Feb 10, 2008 6:14 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Aug 29, 2005 10:58 am
Posts: 109
Location: Germany
I have opened a Tracker Item on Joomlacode.org to resolve this issue:
http://joomlacode.org/gf/project/joomla ... em_id=9701

Maybe you can help over there.

Thanks,
Sören

_________________
VirtueMart Lead Developer
Other projects: eXtplorer & joomlaXplorer, DocBook:Collab


Top
 Profile  
 
PostPosted: Mon Feb 11, 2008 12:37 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7687
Location: New York
The initial issue in this thread is caused by safemode being on. We still have not heard from the reporter whether using the ftp layer correctly has solved he problem.

Unfortunately a number of other unrelated issues have been mixed into this thread.

Hils,

For extplorer problems. I was able to unzip and install from directory today, but not able to use the installer It may be that it is timing out; it is a very big extension since it is really a standalone. On the other hand, iirc i had a problem this summer caused by the scripts.zip file.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Mon Feb 11, 2008 11:39 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Aug 29, 2005 10:58 am
Posts: 109
Location: Germany
Correct,
a number of unrelated issues have been mixed into this topic.
"Unfortunately" installing eXtplorer on Joomla! 1.5 has never caused me any problem - even with the Legacy Plugin unpublished.
My guess is that sometimes zipped archives in Component Installer Packages cause trouble with Joomla!s Archive Extraction Library.

ciao, Sören

_________________
VirtueMart Lead Developer
Other projects: eXtplorer & joomlaXplorer, DocBook:Collab


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



Who is online

Users browsing this forum: No registered users and 31 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