When I activate the Random Highlight module (v0.9.0) and go to 'Edit Album' I receive the following error:
Fatal error: Call to a member function on a non-object in /data/http-root/gallery2/modules/randomhighlight/RandomHighlightOption.inc on line 49
After deactivating the module the error disappears. I am using tonights build, but I had the problem with yesterdays build as well.
Thank you.
Posts: 7994
Just fixed this an hour ago. Try the next nightly and let us know if it isn't fixed.
Posts: 1023
had the same on adding a new sub-album, now after upgrading to todays daily build, I get a much more detailed error
Error Detail -
Error (ERROR_PLUGIN_VERSION_MISMATCH) : [classic] db: (v: 0.5 core api: 3/2, layout api: 0/8) code: (v: 0.5.1 core api: 3/4, layout api: 0/9)
in C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 169 (gallerystatus::error)
in C:\Inetpub\Scripts\GALLERY2\modules\core\classes\GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
in C:\Inetpub\Scripts\GALLERY2\modules\core\ItemEditAlbum.inc at line 451 (gallerycoreapi::loadplugin)
in C:\Inetpub\Scripts\GALLERY2\modules\core\ItemEdit.inc at line 236 (itemeditalbum::loadtemplate)
in C:\Inetpub\Scripts\GALLERY2\modules\core\ItemAdmin.inc at line 153 (itemeditview::loadtemplate)
in C:\Inetpub\Scripts\GALLERY2\modules\core\classes\GalleryView.class at line 246 (itemadminview::loadtemplate)
in C:\Inetpub\Scripts\GALLERY2\main.php at line 286 (itemadminview::doloadtemplate)
in C:\Inetpub\Scripts\GALLERY2\main.php at line 46
in C:\Inetpub\Scripts\GALLERY2\main.php at line 39
System Information
Gallery version 2.0-alpha-4+
PHP version 4.3.8 cgi-fcgi
Webserver Microsoft-IIS/5.1
Database mysql 5.0.0-alpha-nt
Toolkits ImageMagick
Operating system Windows NT DELL-4550 5.1 build 2600
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
The album is nontheless created and available.
Any idea?
Lutz
Posts: 8601
go to site admin / layouts&themes / all layouts and upgrade the classic layout.
Posts: 1023
Oh, oops - yep. That did the trick - thanks a lot
Best regards,
Lutz