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

psynaptic’s picture

Is 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.

mikeytown2’s picture

most def 6.x. Happens with anonymous users, tested in opera. BTW I don't have a 5.x install of drupal.

psynaptic’s picture

Ok, 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?

psynaptic’s picture

Assigned: Unassigned » psynaptic
Status: Active » Needs review
mikeytown2’s picture

psynaptic’s picture

That'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.

psynaptic’s picture

Status: Needs review » Fixed

I've tested this and it seems to be fixed. If you still have the problem please reopen this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.