I just updated my galery2 to 0.8.11 or something like that... but... now i cant view the pictures with comments
I got those errors:
Quote:
Error Detail -
Error (ERROR_MISSING_OBJECT) :
in .\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 1633 (gallerystatus::error)
in .\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 299 (mysqldatabasestorage::_describeentitymembers)
in .\modules\core\classes\GalleryStorage.class at line 113 (mysqldatabasestorage::loadentities)
in .\modules\core\classes\helpers\GalleryEntityHelper_simple.class at line 89 (gallerystorage::loadentities)
in .\modules\core\classes\GalleryCoreApi.class at line 2101 (galleryentityhelper_simple::loadentitiesbyid)
in .\modules\comment\classes\GalleryCommentHelper.class at line 100 (gallerycoreapi::loadentitiesbyid)
in .\modules\comment\module.inc at line 214 (gallerycommenthelper::fetchcomments)
in .\modules\core\classes\GalleryLayout.class at line 555 (commentmodule::loaditemdetails)
in .\layouts\matrix\layout.inc at line 454 (matrixlayout::loadlayouttemplate)
in .\layouts\matrix\layout.inc at line 152 (matrixlayout::_loadsingletemplate)
in .\modules\core\ShowItem.inc at line 124 (matrixlayout::loadtemplate)
in .\modules\core\classes\GalleryView.class at line 246 (showitemview::loadtemplate)
in .\main.php at line 257 (showitemview::doloadtemplate)
in .\main.php at line 46
in .\main.php at line 39
Posts: 53
So there is nothing i can do?
Posts: 7994
Edit your config.php and turn on buffered debug mode like this:
$gallery->setDebug('buffered');
Then try again. This time, you'll get quite a lot of debug output
when you get the error. Look towards the bottom of the debug output
and scan backwards for anything that looks like an error, then report
that here. Usually that will give us enough information to work with.
If you can't understand what you're seeing, err on the side of posting
more info. If it's going to be more than 30-40 lines of output, you
should save it into a text file and publish it on your own website and
post a link to it here (so that the forum remains readable).
Posts: 53
Ok... here are the problems:
Viewing pictures with comments:
http://debug.theweed.org/comments.htm
Registration:
http://debug.theweed.org/registration.htm
Help
Posts: 8601
try deactivating and reactivating the comments module.. does that help?
Posts: 53
Ok... helped with registration and pictures with comments... thanx! But... still got a problem with view all comments function. Maybe im doing something wrong?
1. I'm entering gallery.
2. Selecting album that contains commented pictures.
3. Clicking on the left menu "view comments"
And it says that no comments available for this item...
Posts: 8601
bharat may not understand your question.
In G2 you can comment on a photo or on the album.
Clicking "view comments" while viewing the album shows all comments for that album, I think... you are asking to see all comments on all photos that are in that album, right?
Posts: 53
Yes.
Posts: 22
I have the similar problem, but mine is worse because I can't access anything.
Can somebody can take a look at my site: http://www.donggiang.com/photos/main.php
Cheers,
Dong.
Posts: 8601
access photos/upgrade on your site and run though that process. it you still have errors you'll need to deactivate and reactivate randomhighlight module.
Posts: 22
Thank you for your help! However, the problem is that I can't access any thing incl. admin functions. Therefore, I cannot deativate any module.
I ran the Upgrade wizard but at the Upgrade other modules step, all the module names displayed are User Album. Maybe there is a bug in the Upgrade code.
Cheers,
Dong.
Posts: 22
To update:
I've just installed the new night release. The upgrade process finished successfully. No more abnormality this time. However, the problem is still the same. I cannot access any page to config my gallery further.
Cheers,
Dong.
Posts: 8601
trungdong, the upgrade did help.. you can now go here to login and then here to deactivate/reactivate the randomhighlight module.
Posts: 22
Thanks a lot! Things look brighter now. However, it is required that I disable Random Highlight in 4 of my albums. I use the button provided `Reset all albums' but it fails (see debug msgs here).
I'm thinking of disable Random in each album individually but I don't know the link to the Setting page of an album. Can it be done modifying data in the database?
Cheers,
Dong.
Posts: 8601
yes, that might be your best bet at this point.
look in your g2_Entity table and find g_entityType = 'RandomHighlightDerivativeImage'
change all those to 'GalleryDerivativeImage'
then go to lib/tools/test/index.php in your browser and do the FlushCache test.
now you should be able to deactivate/reactivate.
Posts: 22
Thank you very much, mindless!
The problem is solved now.
Dong.
Posts: 8601
cool... now we just need bharat to fix the upgrade bug so this won't happen to others!