By zenessa on
HI
I have worked so hard on my drupal site and now have one of those horrible error pages
Fatal error: Call to undefined function invite_page_title() in /public_html/includes/menu.inc on line 500
Im pulling my hair out trying to figure this out. I know it probably has something to do with that file, but Im not sure how to fix it
thanks in advance for any help
Vanessa
Comments
Some random things
to try. I guess the invite module has a function inside it with that name. Can you search for "function invite_page_title" using grep/agent ransack or similar to make sure that function does exist?
What were you doing just before the error?
You can disable the invite module by updating the "system" table, find the record for the invite module and set its status field to 0.
The menu stuff happens early in Drupal's page build (bootstrap) so this is a fundamental problem and there has to be reason!
HTH.
www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy
Thanks for your reply, it is
Thanks for your reply, it is appreciated.
I have disabled the invite module yet it made no difference. I used agent ransack to find "function invite_page_title" and it was there.
The last thing I did before this crash was install and activate an adsense module. I ended up uninstalling it too, yet it made no difference.
Still scratching my head....
Problem fixed:) Im not sure
Problem fixed:) Im not sure how all I did was activate the invite module again.
Thanks again
menu cache
There are several cache tables, one is for the menu. You probably have to flush this when enabling/disabling modules via the system table. Did not think of this before, however great that it is working again!
www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy
Solved my problem, but
in my case I had to set the status to '1', so I had to reactivate 'invite' again. I then had access to the modules list again.
Errors in menu.inc
I am getting the following errors in menu.inc file. Is there a way how can replace the menu.inc with the original installation file? I installed WYSIWYG editors.
One or more problems were detected with your Drupal installation. Check the status report for more information.
Notice: Undefined variable: tab_root_map in _menu_translate() (line 770 of /hermes/web01/b687/moo.govmakecom/FOIAEXCHAGNGECOM/drupalx/includes/menu.inc).
Warning: implode() [function.implode]: Invalid arguments passed in _menu_translate() (line 770 of /hermes/web01/b687/moo.govmakecom/FOIAEXCHAGNGECOM/drupalx/includes/menu.inc).
Notice: Undefined variable: tab_parent_map in _menu_translate() (line 771 of /hermes/web01/b687/moo.govmakecom/FOIAEXCHAGNGECOM/drupalx/includes/menu.inc).
Warning: implode() [function.implode]: Invalid arguments passed in _menu_translate() (line 771 of /hermes/web01/b687/moo.govmakecom/FOIAEXCHAGNGECOM/drupalx/includes/menu.inc).