I am using Gallery 2.3 embedded into Drupal 6.15
I frequently get errors thrown on the screen that expose internal server paths. I have also noticed that this seems to be a problem only on the embedded gallery and not the standalone gallery.
For example, using the Keyword albums and trying to generate an album for a nonexistent keyword gives me an error as follows:
warning: Invalid argument supplied for foreach() in /home/myname/webfolder/gallery2/modules/core/classes/GalleryTheme.class on line 1446.
This error is not thrown on screen when I use the standalone gallery though!
Is there some way of preventing such errors from being thrown on screen when using the gallery drupal module for embedding Gallery2 into Drupal?
Regards,
KH
Posts: 44
Some help will be greatly appreciated please. I am not sure if this is a problem with Gallery2 itself or the embedded API.
However, this is a common problem as I have found the same problem on multiple other sites:
http://www.handsinserviceocc.com/index.php?q=gallery&g2_view=keyalbum.Ke...
http://www.jimjeffery.com/index.php?q=gallery&g2_view=keyalbum.KeywordAl...
http://www.tutek.com/sacc-sandiego.org/?q=gallery&g2_view=keyalbum.Keywo...
http://h0bbel.p0ggel.org/gallery2/tag/Gran
Turning off URL Rewrite does not solve the problem.
Regards,
KH
Posts: 16504
Please don't cross post, there is already discussion happening here (anther thread you started):
http://gallery.menalto.com/node/93805
Locking this thread
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here