I have G2 up and running in spite of the fact that I get errors in step 9. I chose activate all modules and plugins but when logging as admin, click plugins link I get a blank page, also when I create an album, I only can add images no videos no mp3...
Here is my configuration
Gallery URL = http://salamlinux/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.3.3 apache2handler
Webserver = Apache/2.2.15 (Fedora)
Database = mysqli 5.1.47, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Getid3, ImageMagick, LinkItemToolkit, NetPBM, SquareThumb, Gd
Acceleration = none, none
Operating system = Linux salamlinux 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100622 Fedora/3.6.4-1.fc13 Firefox/3.6.4
Rows in GalleryAccessMap table = 30
Rows in GalleryAccessSubscriberMap table = 2
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0
In step 9, I see the phrase Nokia image on the progress bar with the following error down
Quote:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 3723972 bytes) in /usr/share/gallery2/modules/core/classes/Gallery.class on line 756 Call Stack: 0.0006 773584 1. {main}() /usr/share/gallery2/install/index.php:0 0.0149 4819080 2. InstallOtherModulesStep->processRequest() /usr/share/gallery2/install/index.php:165 21.5730 23946448 3. GalleryCoreApi->loadPlugin() /usr/share/gallery2/install/steps/InstallOtherModulesStep.class:59 21.5730 23946544 4. GalleryPluginHelper_simple->loadPlugin() /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class:273 21.5792 24600432 5. Gallery->debug() /usr/share/gallery2/modules/core/classes/helpers/GalleryPluginHelper_simple.class:114
I refresh the page progress bar continues then I get another error
Quote:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 2359389 bytes) in /usr/share/gallery2/modules/core/classes/Gallery.class on line 756 Call Stack: 0.0006 757912 1. {main}() /usr/share/gallery2/install/index.php:0 0.0148 4803312 2. InstallOtherModulesStep->processRequest() /usr/share/gallery2/install/index.php:165 15.5714 23426296 3. ThumbnailModule->activate() /usr/share/gallery2/install/steps/InstallOtherModulesStep.class:109 15.5714 23426344 4. ThumbnailModuleExtras->activate() /usr/share/gallery2/modules/thumbnail/module.inc:105 15.6764 24566592 5. ThumbnailHelper->addItem() /usr/share/gallery2/modules/thumbnail/ThumbnailModuleExtras.inc:393 15.6765 24566720 6. ThumbnailImage->create() /usr/share/gallery2/modules/thumbnail/classes/ThumbnailHelper.class:237 15.6769 24566968 7. GalleryFileSystemEntity->create() /usr/share/gallery2/modules/thumbnail/classes/ThumbnailImage.class:182 15.6770 24567064 8. GalleryCoreApi->getLegalPathComponent() /usr/share/gallery2/modules/core/classes/GalleryFileSystemEntity.class:88 15.6770 24567064 9. GalleryFileSystemEntityHelper_medium->getLegalPathComponent() /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class:1936 15.6774 24567496 10. GalleryFileSystemEntityHelper_medium->checkPathCollision() /usr/share/gallery2/modules/core/classes/helpers/GalleryFileSystemEntityHelper_medium.class:116 15.6775 24568520 11. Gallery->search() /usr/share/gallery2/modules/core/classes/helpers/GalleryFileSystemEntityHelper_medium.class:61 15.6775 24568784 12. GalleryStorage->search() /usr/share/gallery2/modules/core/classes/Gallery.class:209 15.6787 24616480 13. GalleryStorage->_traceStop() /usr/share/gallery2/modules/core/classes/GalleryStorage.class:489 15.6787 24575232 14. Gallery->debug() /usr/share/gallery2/modules/core/classes/GalleryStorage.class:1344
I refresh the browser again the progress bar finishes and I get the following message
Quote:
Install Plugins
* Activated the Thumbnail Page module successfully
* Activated the User Albums module successfully
* Activated the Watermark module successfully
* Activated the WebCam module successfully
* Activated the WebDAV module successfully
* Activated the Zip Download module successfully
* Activated the Gd module successfully
Thanks for your help
Posts: 16504
There is no need to install all modules and on limited resource systems, it's kind of prohibitive as it's a pretty resource intensive task to install all those at once.
Uninstall all but ImageMagick
If you really only have about 24MB of memory available to PHP, you're going to need to get that bumped up to 32MB to reliably run G2, this FAQ explains how:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
That should get you up and running. Then decide what you want to do.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here