I was building a custom module that affected the front page and I found myself having to go clear the caches for it to take effect. So as part of the code, I put in drupal_flush_all_caches()
.
After I ran the page, my website had all sorts of issues. It seems like any menu item with 'access callback' => TRUE
, is getting access denied errors for any user. These items were working fine before the cache clearing.
Current versions (yes I know I need to upgrade)
Drupal: 6.38
PHP version: 5.6.38
Server: Red Hat Enterprise Linux Server 7.5 x86_64
PHP ini values:
session.cookie_httponly Off
session.use_only_cookies On
session.cookie_secure Off
session.hash_function 0
session.cookie_domain .example.com
Things I have done:
- Checked users table for uid of 0 - exists with status of 1, has role of
anonymous user
, has permission ofaccess content
- Repaired database tables
- Clear browser cache
- Clear drupal cache (/devel/cache/clear)
- Rebuild menu (/devel/menu/reset)
- Clear db sessions table
Please let me know if you need additional information. Thank you.
a2enmod rewrite
enabled?