Edit Links and Admin Toolbar only appear on Home Page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/5/2011 9:03:54 PM
Gravatar
Total Posts 17

Edit Links and Admin Toolbar only appear on Home Page

This seems to be a problem that we've been seeing a lot of lately:

We'll create a new mojoPortal site and get everything up and running... but when we log in, the edit links and admin toolbar only appear on the home page. When we visit a subpage, it's like we're not even logged in. 

We have often been able to correct this by replacing the web.config file with an old config file from a previous project... but we're pretty puzzled as to why this works... not to mention it's usually not in our best interest to copy these old config files.

Is there a key somewhere that handles this behavior? Or does the problem lay elsewhere?

We're currently running version 2.3.6.5 but have had this issue with earlier versions.

Any insight would be very appreciated!

Thanks,

Nicholas at TRIAD

 

6/6/2011 6:56:09 AM
Gravatar
Total Posts 18439

Re: Edit Links and Admin Toolbar only appear on Home Page

I'm not aware of any other reports of this kind of problem and have never seen it myself.

The only thing I can think of that would cause the edit links to not show on other pages is if the user is not in edit roles allowed on the other pages. A user in the admins role should see the links on any page but other users in more specific roles may only see them on the pages where they have edit permissions.

I can't think of any Web.config settings that would affect this, possibly there is some caching issue and touching Web.config clears the cache.

If you really conclude that the change to an older web.config file solves it, then I would recommend inspect both Web.config files very carefully and try to isolate exactly what is different or what specifically solved it.

I recommend always use the Web.config that ships with your version of mojoPortal in general and would be very very surprised if some web.config setting difference is really causing this problem.

If I did encounter this behavior that you describe as a user in the admins role, my first guess would be some strange proxy server configuration might be involved where the web server is not getting the correct host header or cookies passed in the request for some pages.

Hope that helps,

Joe

6/6/2011 9:32:21 AM
Gravatar
Total Posts 2239

Re: Edit Links and Admin Toolbar only appear on Home Page

Hi,

I "think" I have seen this in the past with sites that share the same root domain, didn't have unique MachineKeys, and my username/email was the same for both sites. For instance, installing mojoPortal on HR.mydomain.com and support.mydomain.com without generating a unique machineKey for each installation and creating a user with the same email address.

It's worth taking a look at.

HTH,
Joe D.

6/6/2011 1:30:28 PM
Gravatar
Total Posts 17

Re: Edit Links and Admin Toolbar only appear on Home Page

Thanks to both Joes for the quick responses!

I completely forgot to mention that we run extensionless URLs on our sites... and that's exactly where the problem was.

The old config file (the one that worked) was set to runAllManagedModulesForAllRequests. Since this can't be set in user.config (unless I'm wrong?), we would experience this issue every time we upgraded to a new version.

Issue solved! Thanks to you both again for your help!

 

You must sign in to post in the forums. This thread is closed to new posts.