I hope this is the correct place to post 2.2 question.
.
In 2.1.2 I can bypass the php upload limit (2MB max file size) by ftp all photos to local server folder first and in Gallery use From Local Server to add items. This way I can upload 500 MB of photos including directory structure quickly.
.
This trick doesn't work in 2.2 anymore. I can only upload a maximum of around 50 MB at one time from local server. The php limit is 2MB per file and 32MB per process. I have no idea why 50MB limit. The debug info seem to be cache related. My Rows in GalleryCacheMap table is 0 , is this upload problem memory limit related?
.
.
Error (ERROR_PLATFORM_FAILURE)
.
* in modules/core/classes/GalleryDerivative.class at line 310 (GalleryCoreApi::error)
* in modules/core/classes/GalleryDerivativeImage.class at line 151 (GalleryDerivative::rebuildCache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 830 (GalleryDerivativeImage::rebuildCache)
* in modules/core/classes/GalleryCoreApi.class at line 904 (GalleryDerivativeHelper_advanced::rebuildCache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 49 (GalleryCoreApi::rebuildDerivativeCache)
* in modules/core/classes/GalleryCoreApi.class at line 891 (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
.
Gallery version = 2.2-svn core 1.1.25
PHP version = 5.2.0 apache2handler
Webserver = Apache
Database = mysqli 5.0.24a-Debian_9-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb, Ffmpeg, ImageMagick
Acceleration = none, none
Operating system = Linux web128.88.tc 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 25
Rows in GalleryAccessSubscriberMap table = 98
Rows in GalleryUser table = 2
Rows in GalleryItem table = 96
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 0
Posts: 32509
- This has nothing to do with the GalleryCacheMap table. The CacheMap table is for page level caching, which is unrelated to adding items.
- As you say correctly, PHP post / upload_max_filesize limits don't apply to the "add item from server" method.
-The above error is from building thumbnails.
Maybe you can add more files at once if you choose to not create thumbnails at add-item time (they're generated automatically on first visit anyway).
-> Disable the "Create thumbnails now" option on the add-item from server page.
Posts: 3
You are right, I can upload more with create thumbnail off.
Another problem come up, 15 folders are uploaded into g2data, I saw them through FTP program but those folders are missing in Gallery frontend. I can not reupload and cannot delete them through FTP. What should I do?
Posts: 32509
probably you can use lib/support/ -> filesystem permissions to chmod your g2data open, then you can delete those folders via ftp.