"ERROR!" on Item Creation in Established Gallery

travelvice
travelvice's picture

Joined: 2005-07-16
Posts: 112
Posted: Tue, 2008-01-15 20:22

I'm freakin' out a little bit -- all of a sudden I'm getting this error when I try and upload via the browser or from the local server.

The only thing that has changed since three days ago was that I started playing around with the RSS feed, but I have returned to the disabled mode, and the error still persists!

Thoughts?

Error

Item not found.

Back to the Gallery
Error Detail -
Error (ERROR_MISSING_OBJECT) : Missing object for 25603

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 2075 (gallerycoreapi::error)
    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 98 (gallerystorageextras::_identifyentities)
    * in modules/core/classes/GalleryStorage.class at line 298 (gallerystorageextras::loadentities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 71 (mysqlstorage::loadentities)
    * in modules/core/classes/GalleryCoreApi.class at line 2259 (galleryentityhelper_simple::loadentitiesbyid)
    * in modules/watermark/WatermarkOption.inc at line 96 (gallerycoreapi::loadentitiesbyid)
    * in modules/core/ItemAdd.inc at line 146 (watermarkoption::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/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database 	mysqlt 4.1.22-standard
Toolkits 	SquareThumb, ImageMagick, Thumbnail, Gd
Operating system 	Linux gator102.hostgator.com 2.6.22_hg_grsec_pax #45 SMP Thu Dec 6 03:29:19 CST 2007 i686
Browser 	Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11


Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.7 cgi
Webserver = Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysqlt 4.1.22-standard, lock.system=flock
Toolkits = Exif, Thumbnail, ImageMagick, Gd, Getid3, SquareThumb
Acceleration = full/43200, none/0
Operating system = Linux gator102.hostgator.com 2.6.22_hg_grsec_pax #45 SMP Thu Dec 6 03:29:19 CST 2007 i686
Default theme = travelvice2008
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 128
Rows in GalleryAccessSubscriberMap table = 5491
Rows in GalleryUser table = 2
Rows in GalleryItem table = 5472
Rows in GalleryAlbumItem table = 230
Rows in GalleryCacheMap table = 7426

****UPDATE****

I also remembered that I enabled the watermarking feature. I disabled this plug-in and the upload worked fine. Any thoughts how I can keep this feature enabled w/o losing the ability to upload?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-01-15 21:52

> ERROR_MISSING_OBJECT) : Missing object for 25603

check your watermark db table etc.

canned response:

DATA INTEGRITY:

Error (ERROR_MISSING_OBJECT) : Missing object for ...

some part of your g2 database isn't 100% ok, the data integrity is a little corrupted.
reason: unknown. fix: it's not easy, but you can fix the database manually, someone else had the same problem and i gave a few instructions:

http://gallery.menalto.com/node/57319#comment-209935

http://gallery.menalto.com/node/32741

http://gallery.menalto.com/node/38916

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

 
travelvice
travelvice's picture

Joined: 2005-07-16
Posts: 112
Posted: Tue, 2008-01-15 22:25

Hi there,

I'm sure it's no coincidence that object "25603" shows up in g2_PluginParameterMap as the default watermark (g_parameterValue) -- and that disabling the watermark feature allows for items to be uploaded...

so... knowing these pieces, what would suggest for a next step?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-01-15 23:27

> check your watermark db table etc.
and follow the instructions from above.