If you link to a page/item in the gallery that does not exist, you're presented with the message:
Error
Item not found.
Back to the Gallery
in the standalone version
However in the embedded version you receive:
A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
Error in function 'gallery_handle_request()' (gallery_base.inc:133):
Error (ERROR_MISSING_OBJECT) : Parent 2845 path filename
etc.
This to me gives the impression that the gallery has screwed up, rather than just improper linking...
Comments
Comment #1
profix898 commentedYes, by design you cant tell exactly what happened as G2 does not send an error code, but only the textual representation (you received). For example the missing object message is returned if it was in invalid item/url, but also in case of a missing database entry or stg. The error handling has already improved a lot with the 5.x-2.x-dev version.
You should note that the verbose message does not appear to your regular users, but only to users with 'administer site configuration' permission. The normal user does only read 'Embedded Gallery2 is not available or requested Gallery URL does not exist.'.