I am trying to upload > 100 photos from server directory with plugin "From local Server".
Photos are pretty small (10k - 150k).
Upload from Server location leads to "Platform Error".
When uploading only 10, 20 or 50 pictures everything is fine.
Quote:
Platform Error
An error has occurred while interacting with the platform.
The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.
Back to the Gallery
Error Detail -
Error (ERROR_PLATFORM_FAILURE)
* in modules/core/classes/GalleryDerivative.class at line 313 (gallerycoreapi::error)
* in modules/core/classes/GalleryDerivativeImage.class at line 153 (galleryderivative::rebuildcache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 839 (galleryderivativeimage::rebuildcache)
* in modules/core/classes/GalleryCoreApi.class at line 914 (galleryderivativehelper_advanced::rebuildcache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 49 (gallerycoreapi::rebuildderivativecache)
* in modules/core/classes/GalleryCoreApi.class at line 901 (galleryderivativehelper_simple::rebuildcacheifnotcurrent)
* in modules/core/CreateThumbnailOption.inc at line 66 (gallerycoreapi::rebuildderivativecacheifnotcurrent)
* in modules/core/ItemAdd.inc at line 146 (createthumbnailoption::handlerequestafteradd)
* in main.php at line 231 (itemaddcontroller::handlerequest)
* in main.php at line 94
* in main.php at line 83
System Information
Gallery version 2.2.4
PHP version 4.4.7 cgi
Webserver Apache/2.2.6
Database mysqlt 4.0.27-log
Toolkits Thumbnail, SquareThumb, NetPBM, Gd
Operating system Linux frodo 2.6.18-4-xen-vserver-686 #1 SMP Thu May 10 04:02:17 UTC 2007 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 ImageShackToolbar/4.3.5 Firefox/2.0.0.11
Output System Info:
Quote:
Get system details; useful for copy/paste into G2 support forum.
Last Run Details:
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.7 cgi
Webserver = Apache/2.2.6
Database = mysqlt 4.0.27-log, lock.system=flock
Toolkits = Exif, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux frodo 2.6.18-4-xen-vserver-686 #1 SMP Thu May 10 04:02:17 UTC 2007 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 ImageShackToolbar/4.3.5 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 27
Rows in GalleryAccessSubscriberMap table = 353
Rows in GalleryUser table = 3
Rows in GalleryItem table = 351
Rows in GalleryAlbumItem table = 12
Rows in GalleryCacheMap table = 0
Nevertheless, all pictures were copied to the album location but not displayed as thumbnails in the corresponding album.
No error message when I try to upload the photos via e.g. Windows XP or Applet, but same behavior that photos were copied to the server location but not displayed as thumbnails.
No idea what the reason is or whethter it would be possible to re-create the thumbnail view ...
Any help is appreciated!
Kind regards,
Thomas
Posts: 32509
it's likely that an error or timeout occurred and that your database is now out of sync' with your storage folder.
see:
- http://gallery.menalto.com/node/57932#comment-236417
- http://www.google.com/search?hl=en&q=site%3Agallery.menalto.com+%22add+from+Server%22+error&btnG=Search
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 23
after setting the following parameters, everything works fine now (not sure whether all have to set to solve this issue)
max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (16MB)