Upload from local server stops after 30 secs

bendix

Joined: 2006-12-28
Posts: 24
Posted: Thu, 2007-01-25 13:37

Hei...

When i add pictures through the feature "upload from local server", the browser seems to time out, and says "the page cannot be displayed". This happpens exatcly after 30 secs everytime.
This meens that only some pictureThumbs is created, and other (ofen in subfolder) isnt. So everything seems to be working the first 30 secs.

I have added: "php_value max_execution_time 200" and "php_value upload_max_filesize 5000M"
to the .htaccess file, but still the same error.

When i add from local server it is folders/subfolders with +1000 images, so it just inst possible to add smaller amount of pictures at the time.
My webHotel says that it cannot be timeout on the server
Really hope you guys can help me out here - thanks

Kind Regards
Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-01-25 13:50

please upgrade to g2.2 to see if that helps.
in g2.2, "item add from server" is handled by the new "itemadd" module.

--------------
Enter the Gallery 2 Theme Contest today!

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Thu, 2007-01-25 15:01

OK, I have just upgraded.
Under Gallery -> Add items, isnt anylonger the possibility "add from local server"
How should that be handled in 2.2 ?

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Thu, 2007-01-25 15:24

You need to install/activate the appropriate module under plugins in g2 siteadmin.
(upgrading deactivates it afair)
linkfelhő oldal | My gallery 2 about dogs

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Thu, 2007-01-25 21:30

Hi

under "site admin" i used to add the module, byt the "module" isnt in the left pane anylonger in 2.2
Please inform me where to look - thanks

Kind Regards
Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-01-25 22:43

please see documentation -> installation -> installing additional comonents

--------------
Enter the Gallery 2 Theme Contest today!

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Mon, 2007-01-29 13:36

Hi

Just added all plugins, but still cant find - "upload from local server" - what is that option called now ?
Is it still possible to type a url and add pictures from local server ?
Cant find that option - please help

Regards
Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-01-29 14:56

plugin id: itemadd
name: "Add items"

--------------
Enter the Gallery 2 Theme Contest today!

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Mon, 2007-02-05 07:10

If I go under: Site admin -> Plugins, There isnt any "itemadd" or "Add item" - I just cant find it.
Shouldent it be there in 2.2 ?
Thank you 4 your help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-02-05 07:16

maybe you didn't get the full g2.2 package.

site admin -> plugins -> get more plugins: enable the experimental repository, download the list, install the new module.

--------------
Enter the Gallery 2 Theme Contest today!

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Wed, 2007-02-07 09:14

Ok, found It under Show repositores list - will test it and return.. Thanks so far.

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Wed, 2007-02-07 10:00

Hi again.

Ok added the module, but i still get the error after 30 secs.
Anything else I can do..?
Can I get my hostCompany to try anything to resolve this issue ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-02-07 10:05

please post a phpinfo link, maybe they disabled the set_time_limit function.
FAQ: What information is required when I ask for help in the forums?

--------------
Enter the Gallery 2 Theme Contest today!

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Fri, 2007-02-16 20:40

Hi again Valiant - and thanks

PHPinfo:
-----------
System Linux node3.c20 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686
Build Date Dec 5 2006 11:09:21
Configure Command './configure' '--with-apache=../apache' '--prefix=/imports/php5' '--with-config-file-path=/imports/php5/' '--with-openssl' '--with-dom' '--with-iconv' '--with-curl' '--with-mysql=/usr/local' '--with-gettext' '--enable-mbstring' '--with-xml' '--enable-track-vars' '--enable-exif' '--with-jpeg-dir' '--with-zlib' '--with-zlib-dir' '--with-png-dir' '--with-gd' '--with-gettext' '--with-freetype-dir' '--enable-ftp' '--with-pear' '--with-pspell' '--with-mysqli=/usr/local/bin/mysql_config' '--with-ldap' '--with-ldap-sasl' '--with-imap=../imap-2004g' '--with-imap-ssl' '--with-libxml' '--with-xsl' '--with-libexpat-dir=/usr' '--enable-bcmath' '--with-mime-magic' '--enable-calendar'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /imports/php5/php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*
---------------
Really hope that the answer is here

Kind regards
Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-02-16 21:20

that's just the header of the phpinfo page.
please post a link to your phpinfo page.
see:
FAQ: What information is required when I ask for help in the forums?

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

 
modragonfly

Joined: 2007-02-17
Posts: 2
Posted: Sat, 2007-02-17 19:33

hello,
i like to use the upload applet to send some pictures in one time...
but I can hardly send one in one time
i would like to know if we can change the permission about the size that we can upload in one time
thank you for your help

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-02-17 21:04

modragonfly

see: FAQ: Why can't I upload big files (over a megabyte or two)?
and please create a new forum thread for your case. thanks.

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

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Thu, 2007-02-22 08:11

Ok, sorry...
Here is the link: http://www.bendix-it.dk/bendix/phpinfo.php
Kind of you to spend some time to troubleshoot for me - thanks!

Regards
Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-02-22 16:10

- so you still get a execution time limit error after exactly 30 seconds after starting submiting the request?

- doesn't it report where it stops (line, file)? e.g. in the webbrowser window (after enabling display_errors in config.php)? or in your server's error log?

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

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Thu, 2007-02-22 21:28

No just get a "page cannot be displayed".
It was exactly 30 secs before, but now its pretty random.. Sometimes after 30 secs, other times after 2 minutes.
All the thumbs does not get created within that time...
Afterwards when I delete the folder (through G2) i sometimes get the following error.

Error Detail -
Error (ERROR_PERMISSION_DENIED) : Don't have permission to delete this item
in modules/core/ItemDelete.inc at line 66 (GalleryCoreApi::error)
in main.php at line 231 (ItemDeleteController::handleRequest)
in main.php at line 94
in main.php at line 83

Could it have something to do with it..? I only recieve it when I try to delete.

Thanks

Bendix

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-02-22 22:36

> It was exactly 30 secs before, but now its pretty random.. Sometimes after 30 secs, other times after 2 minutes.

good.

i suggest you try smaller batches.

@ERROR_PERMISSION_DENIED:
thanks for mentioning this. could be related to a slightly corrupted db as a result of errors when adding items.

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

 
bendix

Joined: 2006-12-28
Posts: 24
Posted: Fri, 2007-03-02 10:08

Ok, I will do it the hard waw ;)
Thanks for your support

Kind Regards
Bendix