Wednesday, 17 September 2014 11:35
beggarly

Reinstall Problems

zOOm Media Gallery for Joomla 1.5

Reinstall Problems

Postby rosebud11 » Sat Sep 13, 2008 8:32 pm

Hello,
I've been attempting to get Zoom to work for several days to no avail. The problems started when I was unable to upload pictures to new galleries. I found a fix for this in these postings and tried putting the new zoom.class.php file up. That didn't work so I attempted to reinstall Zoom with the new file.

When I did this I got an error, so I went in and made sure all of the Zoom files had been deleted. I then uploaded the com_zoom to a new directory via ftp. I was able to reinstall, but then when I tried to make changes Joomla said that there was a permissions error writing to the zoom config file in the components folder (the new install was in the tmp folder). So I tried to uninstall and reinstall in the components folder and got this error:

Component Install: Another Component is already using directory: "/home/holland1/public_html/myfamonline/components/com_zoom"

This directory is where the previous Zoom was installed, the new one was in the tmp file. No matter what I do (numerous deletes and reinstalls) it seems to continue to look for the files (toolbox.class.php and more) in the components folder, though there is nothing there. Any help would be much appreciated.
rosebud11
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Aug 22, 2008 4:54 pm

Re: Reinstall Problems

Postby guilleva » Sat Sep 13, 2008 8:55 pm

Hi, please follow this steps:

1) Uninstall the component
2) Make sure the folders /components/com_zoom and /administrator/components/com_zoom doesn't exits
3) Reintall the component from the folder you have just uploaded com_zoom
4) Tell me about the results.

If you have the message about zoom config file permissions, then please check its permissions, make sure your all can read it, and you and your web server can write it. Usually they should be 774 or 744 depending of your server configuration.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Reinstall Problems

Postby rosebud11 » Sun Sep 14, 2008 11:27 am

I followed your instructions. I uninstalled and deleted all zoom components, then uploaded the file to the components folder again. When I went in to install the component from a directory this is the error I received:

Component Install: Another Component is already using directory: "/home/holland1/public_html/myfamonline/components/com_zoom"

I was not able to install the component.
rosebud11
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Aug 22, 2008 4:54 pm

Re: Reinstall Problems

Postby guilleva » Sun Sep 14, 2008 3:27 pm

Hi, you don't have to upload the folder into the components folder, you should upload it into a direferent folder, like /tmp or /your/joomla/path/tmp and the install it from there.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Reinstall Problems

Postby rosebud11 » Mon Sep 15, 2008 1:51 pm

I removed the com_zoom from the components folder. I then installed it from the tmp folder.

I went to the settings panel to adjust the settings and when I saved them this is what I received:

Configuration updated succesfully!
Error
JFile::read: Unable to open file: '/home/holland1/public_html/myfamonline/components/com_zoom/etc/popup.css'
JFile::read: Unable to open file: '/home/holland1/public_html/myfamonline/components/com_zoom/etc/zoom.css'

You'll notice that it's trying to access the files from the wrong directory. There are no zoom pieces in the components folder, nor is that where I installed the component from. I have received this error before and when I went to create a gallery or add media the errors just multiplied.

When I closed the settings panel I also got these errors:
Warning: getconfig(/home/holland1/public_html/myfamonline/components/com_zoom/etc/safemode.php) [function.getconfig]: failed to open stream: Permission denied in /home/holland1/public_html/myfamonline/components/com_zoom/lib/zoom.class.php on line 1239

Warning: getconfig() [function.include]: Failed opening '/home/holland1/public_html/myfamonline/components/com_zoom/etc/safemode.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/holland1/public_html/myfamonline/components/com_zoom/lib/zoom.class.php on line 1239

Again, all pointing to the wrong folder.
rosebud11
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Aug 22, 2008 4:54 pm

Re: Reinstall Problems

Postby guilleva » Mon Sep 15, 2008 2:02 pm

Okay, here is how the installation works, you upload the component installer into a temporal folder and then you install it from there. Then, joomla creates the folders /components/com_zoom and /administrator/components/com_zoom and take the files from your temp folder and copy them into those folders, that's why it fails the installation if those folders already exists and that's why you cannot install it from there. ;)

After the component is installed, you can safely delete the zoom installer folder (the one you uploaded into your temp directory )

So, now, if you take a look at those folders, you should see the zoom structure in there. Go to /components/com_zoom/etc and make sure your web server can write into that folder and the following files are writable:
zoom.css
popup.css
safemode.php
zoom_config.php
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Reinstall Problems

Postby rosebud11 » Mon Sep 15, 2008 3:37 pm

guilleva wrote:Go to /components/com_zoom/etc and make sure your web server can write into that folder and the following files are writable:
zoom.css
popup.css
safemode.php
zoom_config.php



I looked at these files, and the server could write to them but not read them. I changed the permissions. I then went into the settings to adjust things once more and I received the same errors. I then double-checked the permissions and they had reverted to not allowing the server to read those files.

I changed them again, closed my programs, and then checked again to see that the changes had been saved and they had. When I opened the component again and tried to change and save items in the settings I got the errors once more, went and checked the permissions, and they had again reverted back to not allowing the server to read the files.
rosebud11
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Aug 22, 2008 4:54 pm

Re: Reinstall Problems

Postby guilleva » Mon Sep 15, 2008 3:50 pm

Hi, when was the last time you downloaded the component? Please download it again and reinstall it from that just downloaded package

Thanks
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Reinstall Problems

Postby rosebud11 » Mon Sep 15, 2008 5:03 pm

I was working off of a download from 3 weeks ago. I downloaded the recent packet and reinstalled, everything (including the galleries) seems to be working fine now :D Thanks!
rosebud11
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Aug 22, 2008 4:54 pm

Re: Reinstall Problems

Postby seaape » Fri Oct 24, 2008 11:59 am

Im getting the following errors, anytime I make a change to the gallery settings via the back end I get these,


Warning: main(/usr/www/users/stealtf/components/com_zoom/etc/zoom_config.php) [function.main]: failed to open stream: Permission denied in /usr/www/users/stealtf/administrator/components/com_zoom/admin.zoom.php on line 47

Warning: main() [function.include]: Failed opening '/usr/www/users/stealtf/components/com_zoom/etc/zoom_config.php' for inclusion (include_path='.:/usr/share/php') in /usr/www/users/stealtf/administrator/components/com_zoom/admin.zoom.php on line 47

Warning: Invalid argument supplied for foreach() in /usr/www/users/stealtf/components/com_zoom/lib/zoom.class.php on line 1232

when I reinstall its fine for about 10 seconds, really sucks! please help me :)
seaape
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Oct 24, 2008 11:43 am

Next

Return to zOOm



Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest