Seesions and CSS problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Agon
    New Member
    • Feb 2009
    • 4
    • 3.8.x

    Seesions and CSS problems

    Hello,

    I have two strange problems with the forum we recently purchased and installed. The forum use vBSEO add-on. The language of interface is Russian (if it will help).

    1. If user have switched cookies off, the session variable added to the URL allows him to navigate and post on the forum. Yet some times this session variable disappears (clicking on logo, after making a post, etc) and he needs to login back. Is it possible to fix this?

    2. Some users reports that when accessing some threads, occasionally on the top of the page they see something like:
    Code:
    /** * vBulletin 3.8.1 CSS * Style: 'Обычный стиль'; Style ID: 1 */ @import url("clientscript/vbulletin_css/style-260ced5e-00001.css");
    and the styles fails to load. Also sometimes they get a simply blank page instead of the topic they looked at. Problem seems to be with IE6.0, me using IE7 and FF newer see that problem.

    Could you help with it?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    1) All links in the default software include the sessionhash for when cookies are disabled. It is possible that some of your addons and customizations have neglected to include the session hash in their links. You may need to contact the authors or your customizations or review the custom code yourself.

    Note that the sessionhash is not visible in the URL after submitting a form like a new post. When submitting a POST action the sessionhash is included in the HTML form as a hidden field.

    2) That may be a problem with your customizations. You can quickly determine this by temporarily disabling your customizations. Try to reproduce it on a default style:

    Admin CP -> Styles & Templates -> Style Manager -> [Add New Style]

    Create a new style with no parent. Then click that style's name in the Style Manager to view your forum with that style. If the problem goes away on the default style then you know it's a style problem at which point you need to systematically revert your custom templates to isolate the problem.

    If you still have the problem then try disabling your plugins:

    Admin CP -> vBulletin Options -> Plugin/Hook System

    Also run a file check to look for customized files. Upload the original files if any problems are reported:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    3) As for the blank page... try adding this line to your includes/config.php file to see if the white page shows any specific errors:

    Code:
    ini_set('display_errors', true);
    Does it show any error messages now?

    It might also be a memory limit problem. Try adding this to the config file:

    Code:
    ini_set('memory_limit', -1);

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...