Error (ERROR_MISSING_OBJECT)

cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Tue, 2013-06-18 13:15

Hi,

I am getting the following error when trying to access an album:

Error
An error has occurred.

Back to the Gallery

Error Detail -
Error (ERROR_MISSING_OBJECT) : Missing object for 20380
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1852 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 109 (GalleryStorageExtras::_identifyEntities)
in modules/core/classes/GalleryStorage.class at line 293 (GalleryStorageExtras::loadEntities)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (GalleryStorage::loadEntities)
in modules/core/classes/GalleryCoreApi.class at line 2382 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/core/classes/GalleryTheme.class at line 1243 (GalleryCoreApi::loadEntitiesById)
in themes/matrix/theme.inc at line 75 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 916 (MatrixTheme::showAlbumPage)
in modules/core/classes/GalleryView.class at line 325 (GalleryTheme::loadTemplate)
in main.php at line 386 (GalleryView::doLoadTemplate)
in main.php at line 87
in main.php at line 80

System Information

Gallery version 2.1.2
PHP version 5.3.15 apache2handler
Webserver Apache/2.2.22 (Unix) PHP/5.3.15 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2
Database mysql 5.5.22-log
Toolkits Gd
Operating system Darwin web.tiverton.devon.sch.uk 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386
Browser Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

Any help much appreciated

Thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-06-19 01:31
Quote:
Gallery version 2.1.2
PHP version 5.3.15 apache2handler

Are you sure that version of gallery? you've only been a member here for a year and that version is extremely old and not available for years.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Wed, 2013-06-19 11:04

Hi,

Yes definitely version 2.

thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-06-19 12:02
Quote:
Yes definitely version 2.

still did not answer my question
the latest in the 2.x is 2.3.2
You are claiming 2.1.2 which

Quote:
is extremely old and not available for years

and you have only been a member for 1yr.

what are the contents of g2data/versions.dat

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Wed, 2013-06-19 13:49

Hi,

I know that I have only been a member for just over a year, but the gallery we are using was installed way before that I registered.

the content of the version.dat file is:

1.1.0.2
2.1.2

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-06-19 13:57

This may not be easy as 2.3.1 was released to support PHP 5.3.x and you are way back.

start by clearing your cache
FAQ: How can I clear cached data?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Wed, 2013-06-19 15:20

Hi,

Thanks for your help. I have tried this and it still shows the same error message.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-06-19 22:45

You can try this, but I built it for 2.3.x and not sure if it will work for 2.1.2

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Fri, 2013-06-21 09:33

Hi,

Thanks for the above. I have not yet tried it. Is there anyway I could retrieve the photos and create a new album?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2013-06-21 12:01

use the server add method and just point it to a directory full of images.
problem is that you won't be able to remove the old album w/out fixing the underlying issue.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Fri, 2013-06-21 13:10

Ok thanks for that.

Im a bit of a newby so could you walk me through what exactly I have to do with the php file your linked in your last post?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2013-06-21 21:44
  • Backup your Gallery2 Database
  • Edit passPhrase on line 13
  • Upload to your gallery2 base directory
  • Visit via web browser

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
cdrake666

Joined: 2012-06-01
Posts: 8
Posted: Mon, 2013-06-24 10:55

Hi,

Thanks for that.

I have tried that I am still getting the same error.

Error Detail -
Error (ERROR_MISSING_OBJECT) : Missing object for 20380
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1852 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 109 (GalleryStorageExtras::_identifyEntities)
in modules/core/classes/GalleryStorage.class at line 293 (GalleryStorageExtras::loadEntities)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (GalleryStorage::loadEntities)
in modules/core/classes/GalleryCoreApi.class at line 2382 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/core/classes/GalleryTheme.class at line 1243 (GalleryCoreApi::loadEntitiesById)
in themes/matrix/theme.inc at line 75 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 916 (MatrixTheme::showAlbumPage)
in modules/core/classes/GalleryView.class at line 325 (GalleryTheme::loadTemplate)
in main.php at line 386 (GalleryView::doLoadTemplate)
in main.php at line 87
in main.php at line 80

Do you know of any other fix i could try?

If not, am I able to retrieve the photos from the database easily and just create a new folder with a different name?