Hi everyone,

I am running a site with Drupal 6.6, with many modules.
Sometimes, after some time of inactivity, when I click a link on the page, the page template loads twice :

- The page I want to see is loaded
- And just below, the same page is loaded, but this copy of the page tells me the access to the page is denied.

I tried disabling the cache, no changes.

What may be relevant for the issue :
- Members do have a double role : Authenticated user (the default) and Member (a role I created because a module didn't work in languages other than en-US)
- Permissions are set properly for Authenticated user, and may not be set equally for the Member role. However, a permission that is denied for an Authenticated user is denied also for a Member

Anybody with the same problem ?

Thanks,
artscoop

Comments

vm’s picture

similar to this? http://drupal.org/files/issues/drupal-double-homepage.GIF

when you state "many" modules. It doesn't help narrow down the problem.
A list of those modules and their version numbers can help us research the problem for you.

artscoop’s picture

Hi,

Yes, that really looks like your screenshot.

Here is a list of most of the installed mods :
Activity 1.x-dev
Advertisement 1.x-dev
Abuse/Watchlist 1.x-dev
Auto Assign Role 6.x-1.0-beta3
Avatar Blocks 6.x-1.3-dev
Birthdays 6.x-1.0-rc1
DHTML Menu 6.x-3.2
Facebook Status 6.x-1.x-dev
Favorite Nodes 6.x-1.x-dev
Forward 6.x-1.x-dev
Guestbook 6.x-1.1
PM Lite 6.x-1.x-dev
Poormanscron 6.x-1.0
Profile Privacy 6.x-1.2
Splash 6.x-2.3 (disabled)
Token 6.x-1.11
Token actions 6.x-1.11
User Visits 6.x-1.3
Video Filter 6.x-2.4
Workspace 6.x-1.3
Some CCK Modules
Content Profile
FriendList 6.x-1.x dev
Image 1.xdev
ImageCache 2.0beta2
Invitation 2.x dev
Messaging 1.0
Node Gallery 1.0alpha3
Notifications 1.0
Organic Groups 1.0rc9
ProfilePlus 1.xdev
User Points
Views
FiveStar

I forgot to mention that the site was moved one time from a server to another.
I think the glitch occurred some days after the move.

Thanks for your reply
Artscoop

vm’s picture

First thing I'd do is run through that list of modules and update the ones that are already oudated.

og for one, is now at 1.0

I'd check every module.

artscoop’s picture

Yep, you're right. I'm going to check and update every module
By the way, about your screenshot, do you know what caused that ?

Thanks again,
artscoop

vm’s picture

i found that doing a search http://drupal.org/search/node/doubled+pages

It was posted by misty3 in the OG issue queue, though I don't know that she every obtained an answer or if it was indeed a problem with og. It's about 3/4th the way down that linked search

artscoop’s picture

Hi,

I'm trying to spot the faulty module.
At the moment, I've disabled OG without success, I've also disabled various content access modules, but it didn't work.

I've just disabled Poormanscron, and it looks like it works better...
To be continued.

artscoop’s picture

Hi, it looks like Poormanscron was the faulty module.
It's not maintained at this time, thus, just don't use it.

Thanks,
artscoop

vm’s picture

setting up a cronjob on your server is a best scenario any way. IMO. it may be a pain in the rear to get it right but once you do you set it and forget it and it's less of a problem from a drupal standpoint as it removes a module from the mix.

More often than not your hosting support people can do this for you you just need the cronjob to point your cron.php file in your drupal installation and tell the server how often to run it.