Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 9:18 pm (All times are UTC )

 


Forum rules

Forum Rules
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  [ 17 posts ] 
Author Message
Posted: Fri Feb 01, 2008 1:08 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1246
Trying to install MyBlog into 1.5 stable, got a permission error:

Code:
Warning: file_put_contents(C:\wamp\www\Joomla-1.5.0\tmp\install_47a26d665f5e3\) [function.file-put-contents]: failed to open stream: No such file or directory in C:\wamp\www\Joomla-1.5.0\libraries\joomla\filesystem\file.php on line 298


Its seems this was found sometime ago and a fix described.

viewtopic.php?f=431&t=225424&start=0&st=0&sk=t&sd=a

Mod Note: replaced old link with new link (old link: index.php/topic,225424.msg1184019.html#msg1184019)

_________________
Joomlashack - Professional Hand Coded Joomla Templates
www.joomlashack.com/professional-joomla-templates
Fully Managed Joomla Hosting
www.joomlashack.com/joomla-hosting


Last edited by compass on Mon Feb 04, 2008 3:20 pm, edited 1 time in total.

Top
   
 
Posted: Fri Feb 01, 2008 7:37 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11669
Location: **Translation Matters**
Ever heard about bug tracker?

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Fri Feb 01, 2008 2:09 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1246
Hmmmmm

Actually, I thought the process was that end users should post bugs here and then the Q&T team would evaluate and submit to the bug tracker as needed/appropriate.....

Hence this sticky with all the tags the team use:
http://forum.joomla.org/index.php/topic,129730.0.html

_________________
Joomlashack - Professional Hand Coded Joomla Templates
www.joomlashack.com/professional-joomla-templates
Fully Managed Joomla Hosting
www.joomlashack.com/joomla-hosting


Top
   
 
Posted: Fri Feb 01, 2008 6:14 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11669
Location: **Translation Matters**
code proposed is
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) != '\\') {


_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Fri Feb 01, 2008 6:30 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11669
Location: **Translation Matters**
Hmmm,
anyhow, Bugsquad can't test as your extension is commercial.
We will gladly test any non-commercial extension to try to reproduce the error.

No issue here to install Translation Manager for example.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Fri Feb 01, 2008 9:43 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 12:32 pm
Posts: 990
Location: Tewkesbury, UK
Barrie can you post the XML file of the component please? - well just the first parts up until the filenames

Are you installing this with legacy plugin enabled or disabled?

_________________
Phil Taylor - Full Time Expert Joomla-Only Developer
Blue Flame IT Ltd.
-- http://www.phil-taylor.com/
SPEED UP Joomla 1.5.x Admin Console with this: http://extensions.joomla.org/extensions ... 53/details


Top
   
 
Posted: Fri Feb 01, 2008 9:45 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1246
We'll have to get it from Azrul, I am not sure its general release yet.

It was in legacy mode.

_________________
Joomlashack - Professional Hand Coded Joomla Templates
www.joomlashack.com/professional-joomla-templates
Fully Managed Joomla Hosting
www.joomlashack.com/joomla-hosting


Top
   
 
Posted: Sat Feb 02, 2008 5:27 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 12, 2005 2:45 am
Posts: 1574
Location: Toowoomba, Australia
Could be any number of things.  As Phil suggests would have to see the XML file and at least the file manifest of the zip.  As JM suggests, park this on the Tracker.  All the Q&T stuff is under review atm, but for long time members of the community I'd really appreciate if they'd just go straight to where it's most efficient for us to process (ie, the Tracker).  Actually on second thoughts, I'd throw this one back to the author first.  Could well be that he's already received the feedback and fixed it.

_________________
Andrew Eddie - Tweet @AndrewEddie
<><
http://www.theartofjoomla.com
http://www.kiva.org/team/joomla - Got Joomla for free? Pay it forward and help fight poverty.


Top
   
 
Posted: Sat Feb 02, 2008 11:35 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Jan 18, 2006 1:48 pm
Posts: 112
Here is the xml file

Code:
<?xml version="1.0" encoding="utf-8"?>
<mosinstall type="component">
   <name>My Blog</name>
   <creationDate>2008-02-01</creationDate>
   <author>Azrul</author>
   <copyright>Copyright 2007 by Slashes & Dots Sdn Bhd. All rights reserved</copyright>
   <authorEmail>support@azrul.com</authorEmail>
   <authorUrl>www.azrul.com</authorUrl>
   <version>1.1 Beta Build 112</version>
   <scoutProject>My Blog</scoutProject>
   <description>Multi-user blog system for Joomla</description>
   <files>
      <filename>admin.zip</filename>
      <filename>com.zip</filename>
      <filename>azrul.zip</filename>
      <filename>cmslib.zip</filename>
      <filename>azvideobot.zip</filename>
   </files>
   <install>
      <queries>
         <query>
         ...... some sql queries here ....
         </query>
      </queries>
   </install>
   <uninstall>
      <queries> </queries>
   </uninstall>
   <installfile>install.myblog.php</installfile>
   <uninstallfile>uninstall.myblog.php</uninstallfile>
   <administration> <menu>My Blog</menu>
      <files>
         <filename>install.myblog.php</filename>
         <filename>functions.admin.php</filename>
         <filename>uninstall.myblog.php</filename>
      </files>
      <images/>
   </administration>
</mosinstall>



What could be an issue is that the files consist of additional zip files, which are unzipped by during the installation process. I did remember that on RC1, i had to rename all these files as a .php file to fool the installer into thinking that it is just a normal php file.

_________________
www.jomsocial.com - Social networking component build for Yoomla


Top
   
 
Posted: Sat Feb 02, 2008 4:17 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 12:32 pm
Posts: 990
Location: Tewkesbury, UK
IIRC the element is the part that creates the folder, so or your xml file  E.g.  "com_My Blog"

So if I am right your name element should be

myblog

Quote:
i had to rename all these files as a .php file to fool the installer into thinking that it is just a normal php file.


We also do this with our components that have zip files inside zip file, we rename them to *.bf

The same is true (or was tru in J1.0.x) that additional xml files needed not to have an xml extension

_________________
Phil Taylor - Full Time Expert Joomla-Only Developer
Blue Flame IT Ltd.
-- http://www.phil-taylor.com/
SPEED UP Joomla 1.5.x Admin Console with this: http://extensions.joomla.org/extensions ... 53/details


Last edited by PhilTaylor-Prazgod on Sat Feb 02, 2008 4:18 pm, edited 1 time in total.

Top
   
 
Posted: Sun Feb 03, 2008 2:25 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 12, 2005 2:45 am
Posts: 1574
Location: Toowoomba, Australia
Also, also take an optional folder attribute to help separate files with the same name in different spots (has done since, um, Mmabo 4.5.2 iirc).  For example:


...

 

Where your file tree for the zip would look like:

myblog.xml
/site
../all the files for frontend
/admin
../all the files for backend

However, I'm not sure there should be a problem with zip's within zip's.  They probably shouldn't be unzipped by the installer class (rather left for you to process through the custom install php file).  If that is the case though I'd raise a tracker artifact and we'll look into it further.

_________________
Andrew Eddie - Tweet @AndrewEddie
<><
http://www.theartofjoomla.com
http://www.kiva.org/team/joomla - Got Joomla for free? Pay it forward and help fight poverty.


Top
   
 
Posted: Sun Feb 03, 2008 12:56 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1246
sooph wrote:
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!


Same issue?

_________________
Joomlashack - Professional Hand Coded Joomla Templates
www.joomlashack.com/professional-joomla-templates
Fully Managed Joomla Hosting
www.joomlashack.com/joomla-hosting


Top
   
 
Posted: Mon Feb 11, 2008 1:47 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 06, 2006 10:39 am
Posts: 36
Same same for me, did an upgrade to 1.5.1 before I installed  com_extplorer_2.0.0_RC2 - no success  :-[

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

Best Cllaus


Top
   
 
Posted: Mon Feb 11, 2008 5:29 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
For extplorer, I have found that the scripts.zip file caused some problems. I unzip everything and do an install from  directory and it works fine.

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Top
   
 
Posted: Mon Feb 11, 2008 5:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 06, 2006 10:39 am
Posts: 36
Yes, worked!
good idea, but if you do not allow ftp but only sftp, a new problem starts ...

Claus


Last edited by cloc on Mon Feb 11, 2008 6:04 pm, edited 1 time in total.

Top
   
 
Posted: Wed Feb 13, 2008 8:55 am 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 5759
Location: New York
Sftp, that's an interesting question. That I think definitely should be in the tracker.

_________________
Read your words before posting and think about how other people will read them.
Be polite. Be kind. Be constructive. Say thank you.
Freedom-Equality-Trust-Community-Collaboration-Usability
http://opensourcematters.org/index.php?Itemid=134


Top
   
 
Posted: Wed Feb 27, 2008 2:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 08, 2005 7:55 am
Posts: 21
Well I just got the same error trying to install com_extplorer_2.0.0_RC2.zip.
This error only appeared on my WAMP5 server. On my JSAS server there were no errors at all.

Both time the component was installed on the latest j1.5...

Tried to replace the code as mentioned, but that did not solve the problem. So in my situation it looks like a local server problem, but this could just be me :)


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

Quick reply

 



Who is online

Users browsing this forum: Baidu [Spider], bstewart662 and 21 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 © 2000, 2002, 2005, 2007 phpBB Group