Closed (fixed)
Project:
Boost
Version:
6.x-1.13
Component:
Installation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2009 at 19:28 UTC
Updated:
30 Dec 2009 at 10:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedThis is a really weird error. Boost is using the hook_views_pre_view() views hook which uses module_implements() to figure out if the function should be called. What kind of Op Code cache are you using'?
Comment #2
mikeytown2 commentedComment #3
jasbeau commentedLooks like eaccelerator. php.ini attached
Comment #4
mikeytown2 commentedTry 2 things:
* Up the memory
* Disable eaccelerator
Let me know the results.
Comment #5
jasbeau commentedset:
memory_limit: 64M
eaccelerator.enable="0"
enable boost
restart apache
errors same as before
Jasbeau
Comment #6
mikeytown2 commentedIn comment #1 I should have said that boost uses hook_views_pre_render(). It never uses hook_views_pre_view() and for some reason module_implements() thinks boost has defined that function. Drupal uses the module_hook() function to see if a module has declared a hook.
You can try this
patchhack, It declares an empty boost_views_pre_view() function. But something is wrong, PHP is thinking that function exists when it doesn't.If I get more reports of this happening then I will add in the hack, but for now I would like to keep this out of the boost module.
Comment #7
jasbeau commentedpatch produces warnings:
* warning: Missing argument 2 for boost_views_pre_view(), called in /home/rxymfash/public_html/drupal/modules/views/includes/view.inc on line 769 and defined in /home/rxymfash/public_html/drupal/sites/all/modules/boost/boost.module on line 159.
* warning: Missing argument 3 for boost_views_pre_view(), called in /home/rxymfash/public_html/drupal/modules/views/includes/view.inc on line 769 and defined in /home/rxymfash/public_html/drupal/sites/all/modules/boost/boost.module on line 159.
remove &$view, &$display_id, from function definition and warnings go away
Jasbeau
Comment #8
mikeytown2 commentedSo this should work then
Comment #9
mikeytown2 commentedis this still an issue for anyone?
Comment #10
preper commentedI have the same problem.
Comment #11
mikeytown2 commentedscrew it; hack has been committed.
Comment #12
mikeytown2 commentedjust wondering, what 3rd party views modules are you using?
Comment #13
preper commentedViews 6.x-2.1
Views exporter 6.x-2.1
Views UI
I use just those... I disable views modules and tried again but I have taken the same problem again...
Comment #14
mikeytown2 commentedIt's not a views module, its a 3rd party module that uses views that is causing the error.
Comment #15
preper commentedI closed the panels and views module then tried again boost module works great. but when I enable the views module (not panels) it gives the same errror again. I think there is a problem with views module.
Comment #16
preper commentedI remove panels module from the system and enable views module boost does not work again. The problem is about views module...
Comment #18
preper commentedis there any solution?
Comment #19
mikeytown2 commented@preper
get the latest dev