Go!
 
 
May 16, 2008, 05:26:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Initial Image Upload Fine; After That Cannot Upload  (Read 9543 times)
Rev. Don
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: December 30, 2006, 06:33:13 PM »

I have looked through the forums, and I understand that this has been discussed, but I can't seem to find a work-around for it, and the one suggested fix (the ftp path) isn't working for me, and every path I try except '/' gives me a cannot find path error.  '/' seems to be the only one that finds the path.

When I installed Easy Gallery, I uploaded a test image into a category, and everything seemed to work fine.  In fact, if I create a category and upload one or a whole .zip file, there is no issue with getting the pictures there.  It is only after I want to add a picture do I have a problem.  When I try to add a picture to an existing category, I get a file already found when it tries to do a mkdir on line 92 in the FTP classes directory.  This is the point where you're checking to see if the directory exists.

I have even tried to use the path in the error description, which would be /home/hgreat26/public_html and so on, and took that path and chopped it down by taking the first directory off all the way down to just a '/', and at each step, it couldn't find the path until I got back down to '/'.  And all the permissions on those directories are 777.

Any suggestions, or is there perhaps a code fix for the directory check?  I would hate to go in and manually take the database entries out, delete the directories, and so on, just to upload one file (since I only get one shot at a category at the moment and would have to do it all at one time).  Then it doesn't become Easy Gallery anymore  Grin.

Anyway, thanks, and kudos to you for the other modules in the Easy line.  I run a web design company, and when I am installing Joomla, these are some of my "base" components.  First time I have tried to use Easy Gallery though, and the first problem I have had with your stuff.

As Always,
Don
Logged
Adam
Administrator
Hero Member
*****
Offline Offline

Posts: 4.253



View Profile WWW
« Reply #1 on: December 31, 2006, 01:57:38 PM »

Yeah, it turns out to be quite an issue, but I haven't been able to replicate it on either of my test servers.

Could you give me access through ftp and to joomla so I might have a look where things go ill..
Logged

- Joomla developer -

IMPORTANT: http://www.joomla-addons.org/option,com_smf/Itemid,7/topic,1332.0.html
Do not send support requests by PM. Post on the forum in stead.
annalisa
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #2 on: January 07, 2007, 03:40:38 PM »

just another newbie who has read all you have written on this (including the FAQ) and tried everything over the last 5 days but still cant upload more than one photo...   your demo looks great so i really want to replicate it... is there hope on the horizon?  by the way what do you use to get your rollover info texts??
best wishes
jack
Logged
bdavisonui
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #3 on: January 07, 2007, 10:58:19 PM »

I'm having the same problem as the original post.  I'd like to know if this problem has been resolved.  I can give access to my page if helpful.

server:
- Linux OS
- PHP 4

easygallery:
- path seems to be correct.  No trailing slash
- permissions seem appropriate: read/write all levels.
- fails on second upload to a category (folder already exists error)
Logged
Mara
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #4 on: January 08, 2007, 09:38:51 AM »

Same problem here, first upload wents smooth, but any additional uploads to same category fails. Error message points to ftp.php, line 92. Seems to be that the check of existing category folder fails and php tries to create a folder that already exists.
Logged

14 years of SGML/XML -> hair turning gray
Adam
Administrator
Hero Member
*****
Offline Offline

Posts: 4.253



View Profile WWW
« Reply #5 on: January 08, 2007, 03:35:36 PM »

And you are all using a leading slash in your ftp path?
weird.. will have to look into it again Smiley
Logged

- Joomla developer -

IMPORTANT: http://www.joomla-addons.org/option,com_smf/Itemid,7/topic,1332.0.html
Do not send support requests by PM. Post on the forum in stead.
Mara
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #6 on: January 09, 2007, 07:47:56 AM »

This is what EasyGallery responds after trying to add new image(s) to existing gallery.

I also tested all (?) possible variations of paths in the ftp configuration of EG -> same results.

Hope this helps to figure out what goes wrong.

I also noticed that loading a zip file to gallery..only the first image is loaded, next image gives the same error (well, without looking into code, it is almost the same as loading two images independently one after another. Both upload methods give same result)
Logged

14 years of SGML/XML -> hair turning gray
Azor
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #7 on: January 09, 2007, 08:40:19 AM »

Same shit with me...I've tried all combinations of directories, nothing works. With IPswitch (FTP browser) I can see the 1rst image and thumbnail but impossible to add a new image. Hum! seems a lot of poeple runs through this bug.
JP
Logged
Adam
Administrator
Hero Member
*****
Offline Offline

Posts: 4.253



View Profile WWW
« Reply #8 on: January 09, 2007, 10:46:07 AM »

Jup, will have a look at it again.
For now, make sure /images/stories/easygallery and all subdirectories are writable to php and disabled the ftp layer in the configuration if you run into this issue.
Logged

- Joomla developer -

IMPORTANT: http://www.joomla-addons.org/option,com_smf/Itemid,7/topic,1332.0.html
Do not send support requests by PM. Post on the forum in stead.
Azor
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #9 on: January 09, 2007, 01:55:58 PM »

It works now...I've change the FTP to disabled in Manage Configuration (easygallery). Many thanks.
JP
Logged
Mara
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #10 on: January 09, 2007, 02:01:10 PM »

I disabled the FTP in config and now I get:


Warning: copy(/home/kotikosk/public_html/joomla//images/stories/easygallery/7/1168347199_kuva5.jpg) [function.copy]: failed to open stream: Permission denied in /home/kotikosk/public_html/joomla/administrator/components/com_easygallery/classes/photos.php on line 566

When I go in with FTP client (Filezilla) it shows the root as "publiuc_html". Joomla is installed under www (public_html is symbolic link to www).

I've tried all possible combination of paths, no luck. File/folder permissions looks to be ok.
Logged

14 years of SGML/XML -> hair turning gray
Adam
Administrator
Hero Member
*****
Offline Offline

Posts: 4.253



View Profile WWW
« Reply #11 on: January 09, 2007, 02:41:58 PM »

Make sure /images/stories/easygallery and all subdirectories are writable to php (0777 rights)
Logged

- Joomla developer -

IMPORTANT: http://www.joomla-addons.org/option,com_smf/Itemid,7/topic,1332.0.html
Do not send support requests by PM. Post on the forum in stead.
Mara
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #12 on: January 09, 2007, 03:37:16 PM »

Just a question..

Still no luck..image files are owned by "nobody" according to JoomlaXplorer and have -rw-r--r-- permissions. The upload stores only the 1. image file. After manually changing the permission, EG loads next image and so on..
Logged

14 years of SGML/XML -> hair turning gray
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Joomla-addons.org © 2006 | www.bandhosting.nl | JCD-A Member | Newsletter | Sitemap |