ERROR_MISSING_OBJECT

wcktklwn
wcktklwn's picture

Joined: 2004-03-27
Posts: 5
Posted: Sat, 2004-03-27 21:24

I get this error when I get done migrating my database from gallery1. I got a good idea on where the missing part is. but there is not way to just delete that area of the gallery to reget the images. and Also when I try to use Gallery Remote it can't connect even though I have the module for remote activated.

Error (ERROR_MISSING_OBJECT): Missing object for 6 
in file modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1674 (gallerystatus::error) 
in file modules/core/classes/GalleryStorage/DatabaseStorage.class at line 306 (mysqldatabasestorage::_identifyentities) 
in file modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 77 (mysqldatabasestorage::loadentities) 
in file modules/core/classes/GalleryCoreApi.class at line 1883 (galleryentityhelper_simple::loadentitiesbyid) 
in file layouts/matrix/layout.inc at line 422 (gallerycoreapi::loadentitiesbyid) 
in file layouts/matrix/layout.inc at line 122 (matrixlayout::_loadalbumtemplate) 
in file modules/core/ShowItem.inc at line 98 (matrixlayout::loadtemplate) 
in file modules/core/classes/GalleryView.class at line 213 (showitemview::loadtemplate) 
in file main.php at line 260 (showitemview::doloadtemplate) 
in file main.php at line 24 
 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2004-03-29 07:12

Can you give me a description of what happened when you were actually attempting your migration? Did you get any errors during that process?

 
wcktklwn
wcktklwn's picture

Joined: 2004-03-27
Posts: 5
Posted: Tue, 2004-03-30 06:33

I don't remember seeing any errors when I was running the migration utility. but I just got a feeling that it didn't copy all of the pictures over to the new album directory when I did that. is there a way I can just delete the one directory out of gallery and see if that is where it is?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2004-03-30 07:05

I think that I found this answer to this, but I'm not sure. I fixed a big bug that was causing a bunch of strange behaviors - including possibly this one.

Would you mind trying the import again? Would you mind sharing the url of the results with me?

Thank you for your help!

 
wcktklwn
wcktklwn's picture

Joined: 2004-03-27
Posts: 5
Posted: Tue, 2004-03-30 09:57

do you want me to whip the slate clean and start fresh? and then try the import again?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2004-03-30 16:59

Yep, that's the basic idea.

I update the code but keep my config.php, then delete my gallery data, drop the G2 database, add a new G2 database, and then visit the setup page again. I sometimes do this a few times a night.

Until we go beta, or at least alpha, you might have to do this from time to time. Probably not more than once in a while.

 
wcktklwn
wcktklwn's picture

Joined: 2004-03-27
Posts: 5
Posted: Wed, 2004-03-31 05:01

ok, well.. I deleted everything in the gallery dir and redownloaded it with cvs and did the migration and it worked fine. I was just wondering where I can get a compatible gallery remote with the g2?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2004-03-31 23:40
jmullan wrote:
I update the code but keep my config.php, then delete my gallery data, drop the G2 database, add a new G2 database, and then visit the setup page again. I sometimes do this a few times a night.

I think you can go to gallery2/setup/test/index.php and execute the ReInitializeGallery test to do the same more easily..

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Thu, 2004-04-01 00:00

I'm pretty sure that you can, but I have an update script that does it for me (I just have to enter passwords) and then I know that it will work no matter what.

:)

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Sat, 2004-09-18 14:30

Actually, I have the same error, but only on one single page on a sub-album ...

Quote:
Error (ERROR_MISSING_OBJECT)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 330
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91
in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 191
in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 84
in modules/panorama/classes/PanoramaHelper.class at line 93
in modules/panorama/module.inc at line 154
in modules/core/classes/GalleryLayout.class at line 370
in layouts/matrix/layout.inc at line 470
in layouts/matrix/layout.inc at line 158
in modules/core/ShowItem.inc at line 125
in modules/core/classes/GalleryView.class at line 247

I suspect the cause is a corrupted image, but I'm not sure.
I'll try the latest build and see it is goes away.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Sat, 2004-09-18 17:22
Malachim wrote:
Actually, I have the same error, but only on one single page on a sub-album ...

Quote:
Error (ERROR_MISSING_OBJECT)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 330
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91
in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 191
in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 84
in modules/panorama/classes/PanoramaHelper.class at line 93
in modules/panorama/module.inc at line 154
in modules/core/classes/GalleryLayout.class at line 370
in layouts/matrix/layout.inc at line 470
in layouts/matrix/layout.inc at line 158
in modules/core/ShowItem.inc at line 125
in modules/core/classes/GalleryView.class at line 247

I suspect the cause is a corrupted image, but I'm not sure.
I'll try the latest build and see it is goes away.

Your error is actually completely different (though it's also a MISSING_OBJECT error). If you put gallery into buffered debug mode (edit your config.php to do this) you will get a more detailed error about what's going wrong in the database layer. If you can grab that and post it here, we can probably sort out what's going on.

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Sun, 2004-09-19 12:47

Sure, cheers...

With debug true the error message for line 391 appears on every page.
With the default setting, the only problems visible are in album 8, page 12.

Anyway, here you go:

Quote:

Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391

http://www.rickshell.com/gallery/main.php?g2_view=core:ShowItem&g2_itemId=65&g2_page=1
Gallery Debug Output

file_exists(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fopen(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba,
rb, 0)
filesize(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fread(Resource id #1, 4352)
fclose(Resource id #1)
file_exists(/home/shellrick/bin/g2data/cache/module/core/0/0/0.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)

(mysql):
SELECT
g2_PluginMap.g_pluginId,
g2_PluginMap.g_active
FROM
g2_PluginMap
WHERE
g2_PluginMap.g_pluginType = 'module'

opendir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/)
readdir(Resource id #4)
readdir(Resource id #4)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/cart)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/cart/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/customfield)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/customfield/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/debug)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/debug/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/ffmpeg)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/ffmpeg/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/gd)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/gd/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageblock)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageblock/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/migrate)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/migrate/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/netpbm)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/netpbm/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/nokiaupload)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/nokiaupload/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/photoaccess)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/photoaccess/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/slideshow)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/slideshow/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/squarethumb)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/squarethumb/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)
readdir(Resource id #4)
closedir(Resource id #4)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
[1095597411] can't guarantee 5 -- extending!
file_exists(/home/shellrick/bin/g2data/cache/entity/0/0/4.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/0/6/65.inc)
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)

(mysql): UPDATE g2_ItemAttributesMap SET g_viewCount =
g2_ItemAttributesMap.g_viewCount + 1 WHERE g_itemId=65

file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../layouts/matrix/layout.inc)
file_exists(/home/shellrick/bin/g2data/cache/layout/matrix/0/0/0.inc)
file_exists(/home/shellrick/bin/g2data/cache/layout/matrix/0/6/65.inc)

(mysql):
SELECT
g2_PermissionSetMap.g_module,
g2_PermissionSetMap.g_permission,
g2_PermissionSetMap.g_description,
g2_PermissionSetMap.g_bits,
g2_PermissionSetMap.g_flags
FROM
g2_PermissionSetMap

realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
Binding text domain: modules_core ->
/home/shellrick/public_html/gallery/modules/core/locale
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
Binding text domain: modules_comment ->
/home/shellrick/public_html/gallery/modules/comment/locale

(mysql):
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupMap, g2_Group
WHERE
g2_Group.g_id = g2_UserGroupMap.g_groupId
AND
g2_UserGroupMap.g_userId = 4
ORDER BY
g2_Group.g_groupName
LIMIT 18446744073709551615

Array
(
[limit] => Array
(
[count] =>
[offset] =>
)

)

(mysql):
SELECT
g2_ChildEntity.g_id , g2_ItemAttributesMap.g_orderWeight
FROM
g2_ChildEntity, g2_Item, g2_PermissionMap,
g2_ItemAttributesMap
WHERE
g2_ChildEntity.g_parentId = 65
AND
g2_ChildEntity.g_id = g2_Item.g_id
AND
(g2_PermissionMap.g_userId = 4
OR
g2_PermissionMap.g_groupId IN (3))
AND
g2_PermissionMap.g_permission & 1 > 0
AND
g2_PermissionMap.g_itemId = g2_ChildEntity.g_id
AND g2_ItemAttributesMap.g_itemId = g2_ChildEntity.g_id
GROUP BY
g2_ChildEntity.g_id , g2_ItemAttributesMap.g_orderWeight
ORDER BY g2_ItemAttributesMap.g_orderWeight
LIMIT 18446744073709551615

realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/imageframe/classes/ImageFrameImpl.class)
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
is_dir(/home/shellrick/public_html/gallery/modules/imageframe/classes/../frames/polaroid)
file_exists(/home/shellrick/public_html/gallery/modules/imageframe/classes/../frames/polaroid/frame.inc)
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
Binding text domain: modules_imageframe ->
/home/shellrick/public_html/gallery/modules/imageframe/locale
is_dir(/home/shellrick/public_html/gallery/modules/imageframe/classes/../frames/shadow)
file_exists(/home/shellrick/public_html/gallery/modules/imageframe/classes/../frames/shadow/frame.inc)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2004-09-19 16:22

Malachim, probably bharat was asking for the debug output for album 8, page 12.. but just from your error message it looks like you have a resized derivative that is missing in the db. Try doing Edit Album for that album and rebuilding the resized images (there's a checkbox for that).

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Mon, 2004-09-20 13:47

The error seens to lie with the option to ' Recreate resized images '

It includes this section to the top of the errors:

Quote:
file_exists(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fopen(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba,
rb, 0)
filesize(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fread(Resource id #1, 18289)
fclose(Resource id #1)
[1095687758] can't guarantee 5 -- extending!
file_exists(/home/shellrick/bin/g2data/cache/entity/0/0/5.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)

The actual page, with debug, offers this lot:

The main error appears to be in this line:

file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
[1095687231] can't guarantee 5 -- extending!

Quote:
Error (ERROR_MISSING_OBJECT)

* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 330
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91
* in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 191
* in modules/core/classes/helpers/GalleryDerivativeHelper_medium.class at line 84
* in modules/panorama/classes/PanoramaHelper.class at line 93
* in modules/panorama/module.inc at line 154
* in modules/core/classes/GalleryLayout.class at line 370
* in layouts/matrix/layout.inc at line 470
* in layouts/matrix/layout.inc at line 158
* in modules/core/ShowItem.inc at line 125
* in modules/core/classes/GalleryView.class at line 247

Gallery Debug Output

file_exists(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fopen(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba,
rb, 0)
filesize(/home/shellrick/bin/g2data/sessions/07d9bc02c85cdd8b5dbcdc6f8bd1a8ba)
fread(Resource id #1, 19649)
fclose(Resource id #1)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)

(mysql):
SELECT
g2_PluginMap.g_pluginId,
g2_PluginMap.g_active
FROM
g2_PluginMap
WHERE
g2_PluginMap.g_pluginType = 'module'

opendir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/)
readdir(Resource id #4)
readdir(Resource id #4)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/cart)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/cart/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/customfield)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/customfield/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/debug)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/debug/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/ffmpeg)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/ffmpeg/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/gd)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/gd/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageblock)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageblock/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/migrate)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/migrate/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/netpbm)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/netpbm/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/nokiaupload)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/nokiaupload/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/photoaccess)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/photoaccess/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/slideshow)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/slideshow/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/squarethumb)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/squarethumb/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
readdir(Resource id #4)
is_dir(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)
readdir(Resource id #4)
closedir(Resource id #4)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
[1095687231] can't guarantee 5 -- extending!
file_exists(/home/shellrick/bin/g2data/cache/entity/0/0/5.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/2/2/229.inc)
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)

(mysql): UPDATE g2_ItemAttributesMap SET g_viewCount =
g2_ItemAttributesMap.g_viewCount + 1 WHERE g_itemId=229

file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../layouts/matrix/layout.inc)
file_exists(/home/shellrick/bin/g2data/cache/layout/matrix/0/0/0.inc)
file_exists(/home/shellrick/bin/g2data/cache/layout/matrix/2/2/229.inc)

(mysql):
SELECT
g2_PermissionSetMap.g_module,
g2_PermissionSetMap.g_permission,
g2_PermissionSetMap.g_description,
g2_PermissionSetMap.g_bits,
g2_PermissionSetMap.g_flags
FROM
g2_PermissionSetMap

realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
Binding text domain: modules_core ->
/home/shellrick/public_html/gallery/modules/core/locale
realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../..)
Binding text domain: modules_comment ->
/home/shellrick/public_html/gallery/modules/comment/locale

(mysql):
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupMap, g2_Group
WHERE
g2_Group.g_id = g2_UserGroupMap.g_groupId
AND
g2_UserGroupMap.g_userId = 5
ORDER BY
g2_Group.g_groupName
LIMIT 18446744073709551615

(mysql):
SELECT
g2_ChildEntity.g_parentId, COUNT(DISTINCT g2_ChildEntity.g_id)
FROM
g2_ChildEntity, g2_PermissionMap
WHERE
g2_ChildEntity.g_parentId IN (229)
AND
g2_PermissionMap.g_itemId = g2_ChildEntity.g_id
AND
(g2_PermissionMap.g_userId = 5
OR
g2_PermissionMap.g_groupId IN (1, 3, 2))
AND
g2_PermissionMap.g_permission & 1 > 0
GROUP BY
g2_ChildEntity.g_parentId

(mysql):
SELECT
g2_DescendentCountsMap.g_itemId,
g2_DescendentCountsMap.g_descendentCount
FROM
g2_DescendentCountsMap
WHERE
g2_DescendentCountsMap.g_userId = 5
AND
g2_DescendentCountsMap.g_itemId IN (229)

Array
(
[limit] => Array
(
[count] => 9
[offset] => 99
)

)

(mysql):
SELECT
g2_ChildEntity.g_id , g2_Item.g_description
FROM
g2_ChildEntity, g2_Item, g2_PermissionMap
WHERE
g2_ChildEntity.g_parentId = 229
AND
g2_ChildEntity.g_id = g2_Item.g_id
AND
(g2_PermissionMap.g_userId = 5
OR
g2_PermissionMap.g_groupId IN (1, 3, 2))
AND
g2_PermissionMap.g_permission & 1 > 0
AND
g2_PermissionMap.g_itemId = g2_ChildEntity.g_id
AND g2_Item.g_id = g2_ChildEntity.g_id
GROUP BY
g2_ChildEntity.g_id , g2_Item.g_description
ORDER BY g2_Item.g_description
LIMIT 99, 9

file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1645.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1648.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1651.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1654.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1657.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1660.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1663.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1666.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1669.inc)

(mysql):
SELECT
g2_PermissionMap.g_itemId,
BIT_OR(g2_PermissionMap.g_permission)
FROM
g2_PermissionMap
WHERE
g2_PermissionMap.g_itemId IN (229, 1645, 1648, 1651, 1654,
1657, 1660, 1663, 1666, 1669)
AND
(g2_PermissionMap.g_userId = 5
OR
g2_PermissionMap.g_groupId IN (1, 3, 2))
GROUP BY
g2_PermissionMap.g_itemId

file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/comment/module.inc)

(mysql):
SELECT
g2_ChildEntity.g_parentId,
COUNT(g2_Comment.g_id)
FROM
g2_Comment, g2_ChildEntity
WHERE
g2_ChildEntity.g_parentId IN (1645, 1648, 1651, 1654, 1657,
1660, 1663, 1666, 1669)
AND
g2_ChildEntity.g_id = g2_Comment.g_id
GROUP BY
g2_ChildEntity.g_parentId

file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/exif/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imageframe/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/members/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/panorama/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/register/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/remote/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/search/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/thumbnail/module.inc)
file_exists(/home/shellrick/public_html/gallery/modules/core/classes/helpers/../../../../modules/uploadapplet/module.inc)

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (1645, 1648, 1651, 1654,
1657, 1660, 1663, 1666, 1669)

AND
g2_Derivative.g_derivativeType IN (1)
ORDER BY g2_Derivative.g_id ASC

file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1646.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1649.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1652.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1655.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1658.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1661.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1664.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1667.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1670.inc)
Begin: Rebuilding cache
End: Rebuilding cache

(mysql):
SELECT
g2_ItemAttributesMap.g_itemId, g2_ItemAttributesMap.g_viewCount
FROM
g2_ItemAttributesMap
WHERE
g2_ItemAttributesMap.g_itemId IN (1645, 1648, 1651, 1654,
1657, 1660, 1663, 1666, 1669)

file_exists(/home/shellrick/bin/g2data/cache/entity/0/0/6.inc)
Array
(
[limit] => Array
(
[count] =>
[offset] =>
)

)

(mysql):
SELECT
g2_ChildEntity.g_id , g2_ItemAttributesMap.g_orderWeight
FROM
g2_ChildEntity, g2_Item, g2_PermissionMap,
g2_ItemAttributesMap
WHERE
g2_ChildEntity.g_parentId = 6
AND
g2_ChildEntity.g_id = g2_Item.g_id
AND
(g2_PermissionMap.g_userId = 5
OR
g2_PermissionMap.g_groupId IN (1, 3, 2))
AND
g2_PermissionMap.g_permission & 1 > 0
AND
g2_PermissionMap.g_itemId = g2_ChildEntity.g_id
AND g2_ItemAttributesMap.g_itemId = g2_ChildEntity.g_id
GROUP BY
g2_ChildEntity.g_id , g2_ItemAttributesMap.g_orderWeight
ORDER BY g2_ItemAttributesMap.g_orderWeight
LIMIT 18446744073709551615

file_exists(/home/shellrick/bin/g2data/cache/entity/1/3/1379.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/5/150.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/8/186.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/2/2/228.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/2/3/230.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/2/3/231.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/2/3/232.inc)

(mysql):
SELECT
g2_ItemAttributesMap.g_parentSequence
FROM
g2_ItemAttributesMap
WHERE
g2_ItemAttributesMap.g_itemId = 229

file_exists(/home/shellrick/bin/g2data/cache/module/core/0/0/0.inc)
file_exists(/home/shellrick/bin/g2data/cache/module/panorama/0/0/0.inc)

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (1645, 1648, 1651, 1654,
1657, 1660, 1663, 1666, 1669)

AND
g2_Derivative.g_derivativeType IN (3)
ORDER BY g2_Derivative.g_id ASC

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (1645, 1648, 1651, 1654,
1657, 1660, 1663, 1666, 1669)

AND
g2_Derivative.g_derivativeType IN (2)
ORDER BY g2_Derivative.g_id ASC

file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1647.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1650.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1653.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1656.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1659.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1662.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1665.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1668.inc)
file_exists(/home/shellrick/bin/g2data/cache/entity/1/6/1671.inc)

(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN ('1647',
'1650', '1653', '1656', '1659', '1662', '1665', '1668', '1671')

(mysql): SELECT g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_ChildEntity.g_parentId,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_DerivativeImage.g_width, g2_DerivativeImage.g_height FROM g2_Entity,
g2_ChildEntity, g2_Derivative, g2_DerivativeImage WHERE g2_Entity.g_id IN
(1647, 1650, 1653, 1656, 1659, 1662, 1665, 1668, 1671) AND
g2_ChildEntity.g_id=g2_Entity.g_id AND g2_Derivative.g_id=g2_Entity.g_id
AND g2_DerivativeImage.g_id=g2_Entity.g_id

realpath(/home/shellrick/public_html/gallery/modules/core/classes/../../../)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Mon, 2004-09-20 19:08

I'm suspicious about this bit:

Malachim wrote:
Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391 Warning: Undefined property: _linkedEntity in /home/shellrick/public_html/gallery/modules/core/classes/GalleryEntity.class on line 391

I'm confused as to why the _linkedEntity property would be empty. Since this happened pretty early on, it's an indicator that perhaps you have an incompatible database schema. Did you upgrade your code without reinstalling your data from scratch? That might cause both of the problems that you're seeing now.

The "can't guarantee 5 -- extending" message is fine. It just means that Gallery was taking too long and realized that it needed to reset the time limit. (When the time limit expires, PHP kills your script so you have to let it know that you're still alive and kicking).

Can you verify that this happens with a clean build with that same image? From your original stack trace it appeared to be from a panorama related operation...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2004-09-20 19:12
bharat wrote:
Can you verify that this happens with a clean build with that same image? From your original stack trace it appeared to be from a panorama related operation...

Panorama module was trying to load the derivatives for the item (while checking the image width to see if it should add the "view panorama" item link)..

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Wed, 2004-09-22 07:30

Hi Bharat,

No, straight build from (a late August) Alpha.
I was going to update with the nightly rebuilds but never got round to it.

For panorama, I have no idea if he's tried this.

Personally I'd have wiped and reinstalled but what's the point in playing with Alpha software if you don't chase all these bugs, eh :)

I'll try a rebuilt and see what happens.

~ Paul

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Thu, 2004-09-23 21:02

Any word?

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Thu, 2004-10-07 14:52

:( Played, played some more, give up!

I've reinstalled the lasted builds, tried deleting the album, everything I can thing of.

Something has good ugly pear shaped and I can't even delete the (sub) album.

I keep getting this message:

Quote:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 362
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91
in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 61
in modules/core/classes/GalleryItem.class at line 378
in modules/core/classes/GalleryDataItem.class at line 239
in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 119
in modules/core/classes/GalleryItem.class at line 378
in modules/core/classes/GalleryAlbumItem.class at line 235
in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 119
in modules/core/ItemDelete.inc at line 88
in main.php at line 163
in main.php at line 67

:o The section in question did have 150 pictures, 'deleting' the album removed all the ones that were working fine and left what I assume are the troublesome photos.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Sat, 2004-10-09 05:34

Malachim, your new stack trace is different from your last one so it would appear that you're having a different problem now. So now I'm not sure what you problem is at all. Can we start over again? Can you install the latest snapshot and see if you can reproduce this problem at all, and if so tell us the exact steps and which version of the code to reproduce it with? If so, that will help greatly. Thanks!

 
jashby

Joined: 2004-03-12
Posts: 48
Posted: Sat, 2004-10-09 15:27

Hello,
I seem to have this problem when entering the galery for the first time after configuration.

Error (ERROR_MISSING_OBJECT)
in F:\wwwroot\actionphotos\gallery2\modules\core\classes\GalleryUrlGenerator.class at line 278 (gallerystatus::error)
in F:\wwwroot\actionphotos\gallery2\main.php at line 95 (galleryurlgenerator::parsecurrenturl)
in F:\wwwroot\actionphotos\gallery2\main.php at line 47
in F:\wwwroot\actionphotos\gallery2\main.php at line 40
file_exists(F:\g2data\sessions\bfa94c92e7357b4011bfe5b73df9c8a7)
file_exists(F:\g2data\cache\module/core/0/0/0.inc)
realpath(F:\wwwroot\actionphotos\gallery2\modules\core\classes/../../../)
file_exists(F:\g2data\cache\module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(F:\wwwroot\actionphotos\gallery2\modules\core\classes\helpers/../../../../modules/core/module.inc)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2004-10-10 04:27

jashby, there's already a topic about your error, here