Hi,
When activating the module movie_overlay, my gallery3 stops working completely. I get empty pages: the html actually contains <body></body>.
I have the relevant gallery log message included below.
Help?!
2013-10-22 22:55:25 +02:00 --- error: Missing argument 2 for movie_overlay_theme_Core::head()
#0 /usr/share/gallery3/modules/movie_overlay/helpers/movie_overlay_theme.php(36): gallery_error_Core::error_handler(2, $
#1 [internal function]: movie_overlay_theme_Core::head(Object(Theme_View))
#2 /usr/share/gallery3/modules/gallery/libraries/Theme_View.php(245): call_user_func_array(Array, Array)
#3 /usr/share/gallery3/themes/greydragon/views/page.html.php(98): Theme_View_Core->__call('head', Array)
#4 /usr/share/gallery3/themes/greydragon/views/page.html.php(98): Theme_View->head()
#5 /usr/share/gallery3/system/libraries/View.php(318): include('/usr/share/gall...')
#6 /usr/share/gallery3/system/libraries/View.php(260): View_Core->load_view('/usr/share/gall...', Array)
#7 /usr/share/gallery3/modules/gallery/libraries/MY_View.php(75): View_Core->render(false, false, false)
#8 /usr/share/gallery3/system/libraries/View.php(226): View->render()
#9 /usr/share/gallery3/modules/gallery/controllers/albums.php(77): View_Core->__toString()
#10 /usr/share/gallery3/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#11 [internal function]: Albums_Controller->index()
#12 /usr/share/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#13 [internal function]: Kohana_Core::instance(NULL)
#14 /usr/share/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#15 /usr/share/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#16 /usr/share/gallery3/index.php(116): require('/usr/share/gall...')
#17 {main}
Posts: 13
I also have movie_tools installed and activated, if that matters.
And watermark is installed, but not activated.
Posts: 27300
Do you have any items that are viewable by the guest user?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
See if changing
static function head($theme, $child) {
to
static function head($theme) {
in movie_overlay_theme.php works
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 13
Hi Dave,
I will try your suggestion later today (the day has just started here in The Netherlands).
There are no items at this moment viewable for Guest, because of the other issue I posted:
http://galleryproject.org/node/112212
I have made a user account for you, and sent you details by PM.
Also activated the module, and this is the html I get when accessing sfrauenfelder.nl:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>
Really, that's all.
Thanks.
Posts: 13
Hmm, now I seem to have myself locked out. After logging out as the admin, I would have to log in now, but I can't, since I get only an empty page...
Help!?
Posts: 13
Ok, I have a work around to be able to log in again.
Made the module inaccessible (chmod 000 movie_overlay), and I can log in again.
Then I made the subdirs inaccessible, but not the module.info file, and reset the access to the module's directory.
Then in Gallery, the module movie_overlay shows up again in the Modules page, and I have deactivated it.
Now I can reset access to subdirs again, and I am back to square one.
Posts: 27300
I don't understand
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 13
I locked myself out when I activated the module movie_overlay.
Then found a way to get back in and deactivate the module.
The issue with the module remains. But I can only show you by risking to lock myself out again. I have just done that.
As mentioned before, I have another issue with permissions:
http://galleryproject.org/node/112212
I find that issue more important, so maybe we could switch to that one?
Thanks.
Posts: 13
I just solved this one, and after my debugging, I found just now that I have applied your suggestion.
Updated the definition of function head to
static function head($theme) {
where it was
static function head($theme, $child) {
And now it's flawless.
Thanks again.
Sander
Posts: 27300
Thanks for letting us know. I have updated the modules zip file to reflect the changes.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team