Mass Upload

airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 15:11

Hi,

I just installed the latest version of Gallery yesterday. I hope I'm not beating an old horse here but is there a way to perform a mass upload? When I tried to use the local server option I got this error message " The webserver does not have permissions to read that directory."

I'm a complete noob to this. How do I change permissions?

Also, can I ftp directly into my Gallery folder on my server? If so, what folder do I ftp my pictures into?

Thanks for the space :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 15:22

galelry remote, upload applet, add from web, and add from local server are all mass upload methods.
add from local server is the only method to add albums recursively.

and as the message " The webserver does not have permissions to read that directory." says, there a problem.
please tell us which path you entered and please post a phpinfo link.
also, make sure you don't use mod_security or SELinux.
FAQ: What information is required when I ask for help in the forums?

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 15:38

When trying to use the Upload Applet I get this error message, "The upload applet relies on a G2 module that is not currently enabled. Please ask an administrator to enable the 'remote' module."

How do I install this missing module?

Sorry, I have ZERO idea how to use php let alone post a link from it. Can you tell me where to look? Thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 15:46

site admin -> modules. if it's not listed, you gotta download it from the download page of this website.

so you've given up the local upload method?

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 15:48

OK, I found the module to install the Upload Applet but according to the page the Applet is already installed and running. Soooo, I deactivated it and reactivated it and still doesn't work. :(

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 15:51
valiant wrote:
so you've given up the local upload method?

Yeah, I'm totally confused :(

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 15:59

Gallery version = 2.0 core 1.0.0
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.31 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.6c
Database = mysql 4.1.13a-Debian_1-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Thumbnail, Gd
Operating system = Linux orbital 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 16:01

OK going back to my other question. Can I use a simple FTP program to upload pics into my Gallery? If so, what folder do I import into?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 16:15

yes, but you then have to use add from local server to add pics from the ftp folder.

you should use ftp to upload to a directory which is NOT (read NOT :) ) in g2data/ .

without a phpinfo page, i can't help you.
see FAQ: What information is required when I ask for help in the forums?
for instructions on phpinfo.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 16:32

ok, this is getting frustrating. I tried to make a infophp file but I have no idea what to do w/ it next! I uploaded the new php file to my Gallery folder BUT NOW WHAT?

That FAQ you provided doesn't tell me what to do w/ it next? Help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 16:35

post a link here to your phpinfo.php file. else i can't view it.
what i'm looking for is the setting for open_basedir

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 17:23
 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 17:27

System Linux orbital 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Build Date Jun 23 2005 16:04:17
Configure Command './configure' '--with-mysql=/usr' '--enable-calendar' '--enable-force-cgi-redirect' '--with-config-file-path=/etc/php/cgi' '--enable-trans-sid' '--with-gd' '--with-ttf=/usr' '--with-freetype-dir=/usr' '--with-exif' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--enable-ftp' '--with-curl=/usr' '--with-mcrypt=/usr' '--with-gettext' '--enable-mbstring=all'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/cgi/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 17:29

had to search the correct url, the above is wrong, the correct one is: http://www.killairbrat.com/Gallery/phpinfo.php

the php settings look all good.

what path did you enter?
did you make sure that the directory is readable by the webserver user?

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 17:34
valiant wrote:
did you make sure that the directory is readable by the webserver user?

That might be my problem. How do I do that?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 17:39

what path did you enter? please answer this question. i could tell you instantly if the path doesn't make sense.

is the webserver on your own computer or on a remote server? i guess the latter.
use your ftp program to connect to the server and rightclick on this folder you entered to change the permissions.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 17:48

this is the directory I'm trying to get Gallery to upload my pics from. As of right now there's nothing in it and I granted full access to everyone.

http://www.killairbrat.com/Media

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 17:50

what path do you enter, tell me exactly what you enter in the "local upload directory" input field.
and how did you grant access, with FTP?

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 17:52

http://www.killairbrat.com/Media is what I exactly typed into the input field.

I changed access using my FTP client (SmartFTP).

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 18:00

see, if you told me that earlier when i asked, this would have been resolved in notime.

you shouldn't enter an internet address (URL). it asks for a path.
something like

/home/airbrat/killairbrat.com/Media

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 18:07

what do I need to set the permissions to on that folder?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 18:14

so you entered now:

/home/airbrat/killairbrat.com/Media

and you still get the "can't read" message?

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 18:16

ARRGH! First of all THANK YOU SO MUCH for your help. I used what you suggested and it worked like a champ! When I went back to the Upload Applet tab I still get this error message: "The upload applet relies on a G2 module that is not currently enabled. Please ask an administrator to enable the 'remote' module."

:(

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 18:20

Nevermind, IT WORKS!

THANK YOU SO MUCH!!!THANK YOU SO MUCH!!!THANK YOU SO MUCH!!!THANK YOU SO MUCH!!!THANK YOU SO MUCH!!!

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 18:26

Doh!

What does this mean? Gallery Remote can find no protocol implementation at the URL http://www.killairbrat.com/Gallery/. Check with a web browser that http://www.killairbrat.com/Gallery/ is a valid Gallery URL. :(

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 18:27

that means your remote module is probably not installed and activated.
site admin -> modules, look for the remote module.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 18:36

Yeah, it is installed and activated.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 18:52
 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 19:05

When using Gallery Remote what should the default directory be? The error message I'm getting is

Gallery Remote can find no protocol implementation at the URL http://www.killairbrat.com/Gallery/. Check with a web browser that http://www.killairbrat.com/Gallery/ is a valid Gallery URL.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 19:17

http://www.killairbrat.com/Gallery/ is correct, read the faq entry i linked. more i cannot do.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 19:27

If I give you access can you see whats wrong?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 19:31

i could check if i can connect with GR to your G2. more i couldn't do.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 19:33

Why would I get a protocol error message? Does GR need to be in standalone mode?

Thanks again for your help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 19:51

GR should be in standalone mode, yes. since your G2 is not integrated, these modes are only applicable to Gallery 1.
choose standalone mode in Gallery Remote.

 
airbrat

Joined: 2005-09-23
Posts: 29
Posted: Fri, 2005-09-23 19:57

Now I keep getting an "Unknown Host" error message.