Fatal error: Call to undefined function user_access() in /home/content/m/c/a/mcarper/html/sites/all/modules/beautify/beautify.module on line 281
another note, my php.ini has these options; to enable page compression
output_buffering = On
output_handler = ob_gzhandler
zlib.output_compression = Off
Comments
Comment #1
psynaptic commentedIs this with the 5.x version of the module or the 6.x as you posted? It's just that I have not had this problem with the 6.x yet, only the 5.x. I committed a fix for the 5.x that removes this function from hook_init as it doesn't seem to be available at this point of bootstrap. Instead, I've disallowed processing for any authenticated users.
Can you confirm it's happening in 6.x please?
Not sure about the php.ini settings. They should be fine.
Comment #2
mikeytown2 commentedmost def 6.x. Happens with anonymous users, tested in opera. BTW I don't have a 5.x install of drupal.
Comment #3
psynaptic commentedOk, thanks.
I have removed this function call from both branches as it was not always available. We've moved away from using permissions ('receive processed html' has been removed) and are now only allowing this for anonymous users.
Please can you test the latest from CVS?
Comment #4
psynaptic commentedComment #5
mikeytown2 commentedit says its 7 days old
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/beautify/
Comment #6
psynaptic commentedThat's because you're looking at HEAD which I don't use for development work. I use DRUPAL-5 and DRUPAL-6--1 for 5.x-1.x-dev and 6.x-1.x-dev respectively.
The project page should be updated by now anyway. Just grab it from there unless you need cvs diff or something.
Thanks for your help by the way. Hope we can get this module working properly.
Comment #7
psynaptic commentedI've tested this and it seems to be fixed. If you still have the problem please reopen this issue.