Download & Extend

Site is broken after install

Project:Magic Cache
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

Hi, sorry for my english.
I've installed this module, then
"Call to undefined function user_access() in /var/www/drupal-6.10/includes/menu.inc on line 449"
I cant do anything, i have had to correct all line manualy on system table by that

Comments

#1

Sorry for hear that.
Even after refresh you couldn't get that into working?
It's very weird, I tried to test on different configuration, but probably it's not enough.
Did you have any special contributed modules especially with bootstrap mode? (system with bootstrap = 1)

#2

Probably solution could be removing temporary dir: sites\default\files\magic_cache and clear cache table
to rebuild cache files.

#3

Status:active» needs review

I found the bug, that module require at least 1MB of MAX_ALLOWED_PACKET in database configuration.
And when website have only 1MB it could break the website by generating silent mysql fatal errors: 'MySQL server has gone errors'. After that some settings could be not properly saved in the cache table by breaking system and menu_router table.

Read more:
http://drupal.org/requirements
http://drupal.org/node/379976 - Increase MySQL max_allowed_packet for MySQL

Fixed in Commit #229234
http://drupal.org/cvs?commit=229234

But probably need some more testing.

Thank for reporting and sorry for any inconvenience cause by that.

#4

No problem, great module would be!
If i have time, i will make some test.

#5

I'm having this issue too. How did you fix it?