Add items maximum "flag" G2

Anonymous Coward (not verified)

Posted: Tue, 2005-10-11 21:22

I've been importing my images from Local Server. there's usually a lot of images but only 20 or so can be uploaded to G2 at one time. Is there anyway of letting the user know when the max has been reach so it's not hit-and-miss guessing? (Most of my images are 20-45K)

And, because I can only add a limited amount at one time, is there a way to 'side step' having to return to the select Local Server page and just go back to the list (continue importing). Maybe option to "continue" or "add" as in choose another server or type of upload.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-10-11 22:19

what's your webhost?
please post a phpinfo link

FAQ: What information is required when I ask for help in the forums?

and no, these issues shouldn't happen and thus we can't estimate what the limit is. since there shouldn't be any limit.
well, we planned a long time ago to add a progress bar to the add item from local server method.
right now, it can time out due to the webserver (apache) timeout.

so if you have access to your apache httpd.conf file, increase the timeout.

 
raizel (not verified)

Posted: Wed, 2005-10-12 00:49

Sorry, when I started new thread I didn't copy in the prelim info again.

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.14-Debian_3-log
Toolkits = ArchiveUpload, Gd
Operating system = Linux narcissus 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p3+sata+c4+gr2b-v6.188 #1 SMP Mon Jan 31 15:15:16 PST 2005 i686
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2.2 (KHTML, like Gecko) Safari/125.8

HOST: Dreamhost.

I'll skip the httpd.conf file modification and just go for fewer files when it happens (me = chicken)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-10-12 02:08

missing the phpinfo link :)

also check your Apache error logs (not access)

20-45kb images you should be able to import 100s or 1000s of those even with a smallish timeout :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
raizel (not verified)

Posted: Wed, 2005-10-12 04:24

I just dropped a line to my web host tech support. Even though I'm on dial-up, I shouldn't be timing out like that. I had problems too accessing my own pages in my Gallery so maybe there's a server problem (although uploads have been continuous since I implemented a week ago). Will have to find my error logs (I admin the site so have full access).

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-10-12 11:13

this hasn't anything to do with your browser or your connection.
add item from local server is a server side operation.

it can timeout due to at least 2 limits:
- apache webserver timeout, usually set to 30 seconds or 5 minutes, or so. apache times out after timeout seconds if it doesn't send any data to the browser. add item from local server can take more than 30 seconds and there's no traffic during this operation, thus it qualifies for this limit.
- php execution time limit. could also be the reason, but we're already handling this in add item from local server. so it's rather not this limit. but it could be.

of course you should look at the apache error logs, there could be an entry in it which explains your issue.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-05-25 20:25

Update: We've just added a progress-bar and many improvements under the hood to make batch-adding items more reliable and user-friendly.

Upgrade to the next nightly snapshot of G2 including the itemadd module or wait for G2.3 (still months away) to get the improvements.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage