Help!
This morning my site (4.65) suddenly stopped working for anonymous users. Logged-in users can access everything with no problem, but anonymous users get either a blank page, OR the "access denied - login" page .
I've repaired the permissions table (and most other tables) but it's still happening..

any help or suggestions?

Comments

iedude@remote.insidetheie.com’s picture

after further testing it looks like nobody can log in. My admin account is working fine, but anybody else either gets a blank page, or the access-denied/login page. if they then log in, they get a blank page.

Also, when checking my tables, i see this: PRIMARY and INDEX keys should not both be set for column `tid` on the TERM_NODE table. not sure if this has always been there or not..
AND..
I saw this error around the time this problem started - not sure if it has anything to do with nobody being able to log in:
array_keys() [function.array-keys]: The first argument should be an array in /hermes/web93/b341/account/htdocs/modules/user.module on line 1050. - this happened after i deleted a user account.

iedude@remote.insidetheie.com’s picture

i cleared my cookies and cache - went to log back in, and now i'm getting the same blank-screen! it appears the problem is with sessions (or something) - HELP! i now have a dead Drupal!!

iedude@remote.insidetheie.com’s picture

help? anyone?
i'm seeing this in the watchdog (via my Mysql client):

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR format = 3' at line 1
query: SELECT * FROM drupal_filter_formats WHERE OR format = 3 in /hermes/web9/b342/myaccount/htdocs/includes/database.mysql.inc on line 66.

Tanya S’s picture

My site was working fine until today. Anonymous users cannot view anything and just get the 'access denied' message on every page. I haven;t changed the access controls so I can't think why this is happening. Anyone???

Where are you seeing the above error?

iedude@remote.insidetheie.com’s picture

that error is being logged in the watchdog-table - i can only see it via my MySQL (phpadmin) client. currently i have no access to my site. if i clear all my cookies and browser-cache i can get to the login page, but after loggin in i only get a blank screen again.

i have tried the following:
deleted all unnecessary (and some necessary) modules, and deactivated them in the database
increased memory allocation in settings.php

i've enabled/disabled caching via the database in the variables table... i think.. i'm not certain about the syntax - i changed it to "s:1:"0";"

i've also cleared the cache table.

i'm contemplating just upgrading to 4.7.. my site is totally dead and useless - it cant get much worse..

Tanya S’s picture

I don't have the error that you have and the site does work when someone logs in it is just access denied fro anonymous users. Does anyone know how this can be fixed?

Tanya S’s picture

Actually just realised that my site has died for any user accept admin

Tanya S’s picture

The problem was to do with the category permissions under access control. I had recently created categories and I hadn't set the permissions.