Sidebar not behaving properly

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Sep 05, 2012 3:22 pm
Reply with quote
Report this post
Hi there,

On our end, the sidebar is not loading correctly when viewing the site as a visitor. If you log in with an account the sidebar loads properly.

Attached 2 sample images, one before log in and one after.

error1.jpg


afterlogin.jpg


Can anyone help with this?
User avatar
Expert Boarder

teitbite
Wed Sep 05, 2012 4:19 pm
Reply with quote
Report this post
Hi

Please show me Your site.
User avatar
Moderator

GK User
Wed Sep 05, 2012 4:59 pm
Reply with quote
Report this post
PM SENT
User avatar
Expert Boarder

GK User
Wed Sep 05, 2012 5:31 pm
Reply with quote
Report this post
Just noticed that the K2 CSS is not loading correctly when the user is not logged in either... :blink:
User avatar
Expert Boarder

GK User
Wed Sep 05, 2012 11:53 pm
Reply with quote
Report this post
nothing yet?
User avatar
Expert Boarder

teitbite
Thu Sep 06, 2012 10:29 am
Reply with quote
Report this post
Hi

I'm not sure what it is, but this is connected with modules/content or changes done to the template. On Your website there is no sidebar at all. Code is displaying a big <a></a> element instead of sidebar. My first guess will be some HTML validation error, so to exclude this possibility try unpublish all modules or create a page without anything and than put something to sidebar just to check if it's still broken.

If it will be still broke I would search for wrong code in <head></head> section. Probably some unclised tag during adding extra files or a broken 3rd party extension which is providing a bad code.

Third possibility is an old version of PHP. Acctually this is the fastest thing to check by updating it and will be good for site performance, so start with that.
User avatar
Moderator

GK User
Thu Sep 06, 2012 2:31 pm
Reply with quote
Report this post
I don't know what you did, but know I unpublish modules and they still appearing on the website. Also the HOME link is not loading on the site, never seen something like this before.
User avatar
Expert Boarder

GK User
Thu Sep 06, 2012 2:41 pm
Reply with quote
Report this post
How come the sidebar works when the users are logged in, and doesn't work when the users access the site as visitors? In the K2 item pages, the CSS doesn't loads when a not logged in user reads a K2 item. What could be doing this?
User avatar
Expert Boarder

teitbite
Thu Sep 06, 2012 9:13 pm
Reply with quote
Report this post
Hi

It's really hard to tell. I suspect that this is caused by an error in a module or content from an article. This can be checked pretty easy by unpublishing extension after extension till sidebar starts to work properly. When it does than the last unpublished will need to checked closer for it's html code.
User avatar
Moderator

GK User
Tue Sep 11, 2012 11:25 pm
Reply with quote
Report this post
The problem was with a content protection plugin. Now is fixed and working great.

Thanks
User avatar
Expert Boarder

teitbite
Wed Sep 12, 2012 11:22 am
Reply with quote
Report this post
Hi

Ok. Good to know that :) Was there some special fix to it or You've just unpublished it ?
User avatar
Moderator

GK User
Thu Sep 13, 2012 2:40 pm
Reply with quote
Report this post
We unpublish it. Now we are looking for other compatible plugin.

Thanks a lot.
User avatar
Expert Boarder


cron