Gallery uploading problem - Error (ERROR_PLATFORM_FAILURE) - Half the image is a grey box?

track21

Joined: 2010-08-30
Posts: 6
Posted: Mon, 2010-08-30 14:33

I'm new to gallery. One of our clients is using it on a site we setup along time ago.

I'm covering someones maternity leave so I'm not the one that originally set everything up.

I'm trying to upload new image but I keep getting errors and I'm not having any luck.

Here are the errors I'm getting, any direction on fixing the problem would be a big help!

Error (ERROR_PLATFORM_FAILURE)

* in modules/core/ItemAddFromBrowser.inc at line 89 (GalleryCoreApi::error)
* in modules/core/ItemAdd.inc at line 159 (ItemAddFromBrowser::handleRequest)
* in ??? at line 0 (ItemAddController::handleRequestWithProgressBar)
* in modules/core/classes/GalleryTemplateAdapter.class at line 1092
* in g2data/smarty/templates_c/%%441206275/matrix/%%3A^3A8^3A818B59%%theme.tpl.php at line 60 (GalleryTemplateAdapter::trailer)
* in lib/smarty/Smarty.class.php at line 1255
* in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 241 (GallerySmarty::fetch)
* in main.php at line 506 (GalleryTemplate::display)
* in main.php at line 104
* in main.php at line 88

Thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Mon, 2010-08-30 20:50

try clearing the template and database caches in gallery admin -> maintenance

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
track21

Joined: 2010-08-30
Posts: 6
Posted: Tue, 2010-08-31 13:29
suprsidr wrote:
try clearing the template and database caches in gallery admin -> maintenance

That seemed to do the trick sort of...

I'm able to upload a couple of images in a row and then have to perform the maintenance you mentioned again and again.

The only problem is its really not uploading properly. The images say they upload fine but when I view them they appear to be half the image and half grey box.

Does any one know what might be causing these problems.

thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2010-08-31 13:34

Post your system info so we can see how you're setup. This explains how to get the info needed:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
track21

Joined: 2010-08-30
Posts: 6
Posted: Tue, 2010-08-31 13:45
nivekiam wrote:
Post your system info so we can see how you're setup. This explains how to get the info needed:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

http://www.easybuildingproducts.ca/phpinfo.php

Gallery URL = http://www.easybuildingproducts.ca/gallery/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.13 cgi-fcgi
Webserver = Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.1.48, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux explorer.websitewelcome.com 2.6.34.6 #1 SMP Fri Aug 27 18:43:47 CDT 2010 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 31
Rows in GalleryAccessSubscriberMap table = 34
Rows in GalleryUser table = 2
Rows in GalleryItem table = 33
Rows in GalleryAlbumItem table = 5
Rows in GalleryCacheMap table = 0

Hope this helps

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2010-09-01 19:13
Quote:
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail, Gd

Let's start with simplification. Uninstall EXIF, Getid3, GD, SquareThumb. You can do all that under Site Admin > Plugins

Once those are uninstalled, go to Site Admin > ImageMagick and test settings. Does it pass?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
track21

Joined: 2010-08-30
Posts: 6
Posted: Wed, 2010-09-01 19:43
nivekiam wrote:
Quote:
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail, Gd

Let's start with simplification. Uninstall EXIF, Getid3, GD, SquareThumb. You can do all that under Site Admin > Plugins

Once those are uninstalled, go to Site Admin > ImageMagick and test settings. Does it pass?

I've gone ahead and uninstalled what you said, ran the test and passed everything.

Uploads seem to be working but only if the images are really small < 200kb.

Thoughts?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2010-09-01 21:01

Well, php isn't limiting the size. Take a look and see if the Size Limit plugin is installed in G2 (Site Admin > Plugins) If it is you'll need to dig in and see what the settings are. On your main page click on Edit Album > Album (tab) and near the bottom you'll have those settings.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
track21

Joined: 2010-08-30
Posts: 6
Posted: Wed, 2010-09-01 23:50

Looks like the Size Limit plugin was installed and set to 1500. I changed it to no limit, and it didn't make a difference. I deactivated it and it didn't make a difference.

I'm still getting the same error Any other thoughts?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2010-09-01 23:53

But gallery into debug mode, upload a couple of images that don't work then copy and paste the debug output into a text file, zip it and attach to this thread.

We just need the debug info from the main page, not from the smarty debug popup.
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
track21

Joined: 2010-08-30
Posts: 6
Posted: Thu, 2010-09-02 15:56
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2010-09-02 16:07

At this point I only have 2 suggestions.

Double check everything in this FAQ:
FAQ: I get a ERROR_PLATFORM_FAILURE, what should I do?

If it still continues then ask your host if they can see anything going on. It looks like you're hitting some resource limit or something.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here