Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2015, 01:02 AM
DisasterDotCom DisasterDotCom is offline
 
Join Date: Feb 2013
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Major cache, cookie or session issue after upgrade to 5.1.5

So I posted all of these issues over at vBulletin.com, and I also opened up tickets. The response from support (after 24 hours) was "Clear your system cache and local browser cache". This was the first thing we tried before we even opened up tickets, and I'm not getting love over there so I thought I'd ask for suggestions here as to how to track these gremlins down. I'm so close to switching to Xenforo (found someone who will custom move our site to Xenforo for under $200, including users, threads and ensuring our URLs all match). Anyway...

We "upgraded" from 5.1.4 to 5.1.5. We immediately started having the following issues:
  1. If someone posts a reply to a thread and then goes back to the main forum page, the new reply doesn't show up as the latest (the topic still shows 0 replies). If they then go back into the thread, the reply doesn't show up until they refresh the page. Obviously a browser cache issue somewhere, but it's happening consistently across our user base and can be consistently reproduced.
  2. When people delete notifications, they aren't actually deleting. The number at the top of the page decrements, but when you click on a new page it goes back up and the notification you deleted reappears.
  3. When people click on certain links within the forums (local internal links) they are logged out (cookie issue? We tried deleting ALL cookies for the domain and still have the same issues)
  4. When we go to /forums, the sub-headings of the menu (i.e. Today's Posts, Who's Online, etc.) don't show up, but they do when you go any other page (such as /forums/forum)
  5. Using the search in the upper right corner of AdminCP logs the admin/mod out

These issues all seem to be related to a caching or cookie issue, or maybe a session issue somewhere. They are causing MASSIVE usability issues across our forums. Please help!
Reply With Quote
  #2  
Old 02-04-2015, 01:14 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many reasons I am with vb4. Would your host not move you for free or would you not think of using vb4 it would mean a fresh install
Reply With Quote
  #3  
Old 02-04-2015, 01:47 AM
DisasterDotCom DisasterDotCom is offline
 
Join Date: Feb 2013
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I leave vb5, I want to move to a platform that's modern and under development. vb4 has lots of plugins and features, but it is no longer under active development. Mobile access is VERY important, and Xenforo beats out vb4 on this. But.. I would prefer if this thread focuses on the issue at hand as opposed to switching platforms (I shouldn't have mentioned that in my original post). Also, we're self-hosted on a distributed server system, so it's up to us (me) to do whatever is needed.
Reply With Quote
  #4  
Old 02-04-2015, 01:52 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to Cookies and HTTP Header Options and enable "Add No-Cache HTTP Headers does it work
Reply With Quote
  #5  
Old 02-04-2015, 02:31 AM
DisasterDotCom DisasterDotCom is offline
 
Join Date: Feb 2013
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry... updated the vbulletin.com thread with this info but not this one...

I did that a couple of hours ago. I'm having a hard time telling if it worked or not. I enabled it then cleared the system cache, and now I see sporadic results. Sometimes it works, sometimes it doesn't. In every case, I've verified that no-cache, no-store, max-age=0, must-revalidate are in the header.
Reply With Quote
  #6  
Old 02-04-2015, 02:46 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are your Cookie Domain and Cookie Path in AdminCP > Settings > Options > Cookie Settings?

Did you make sure your cookie prefix is set to the same thing in both the root config.php file and the /core/includes/config.php file?

Did you add anything to the default 5.1.5 .htaccess file?
Reply With Quote
  #7  
Old 02-04-2015, 03:51 AM
DisasterDotCom DisasterDotCom is offline
 
Join Date: Feb 2013
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So... the root config had an empty cookie prefix, and the core/includes config had "bb" as the cookie prefix. These files have not changed since prior to the upgrade, but I set the root config to also be "bb". I then turned off the no-cache, cleared the system cache, and the problem is still there.

The cookie path is /. The .htaccess file has not changed since August. The only difference between my .htaccess and the one that shipped with 5.1.5 is the rewritebase (my file - /forums/, stock file is just /).

I thought it might also be a memcached thing so I turned off memcache (I assume VB falls back to file based storage then?) but that didn't make a difference either.

The whole thing where refreshing the pages makes the new stuff appear.. has to be a browser caching issue somewhere, but with it being userbase-wide it has to be coming from the server side somewhere.

P.S. There were definitely some changes made to the software that didn't make it into the release notes. I also noticed that the manual sitemap generation required me to put in a new full path to the sitemap location before it would work. There's nothing in the release notes about this change.
Reply With Quote
  #8  
Old 02-04-2015, 09:12 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IMO, I would restore your 5.1.4 backup you took before upgrading, then mirror your live site on a test site. Then upgrade the test site to 5.1.5 and see if you can work out the issues on the test site.
Reply With Quote
  #9  
Old 02-04-2015, 10:19 AM
helenblog's Avatar
helenblog helenblog is offline
 
Join Date: Dec 2014
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol vb5 still have more problems, it maybe reason why i'm not ready go with vb5, still using vb4 and feeling good with it.

I think somone should consider and studying before installing a vb version, sure it is suitable for your requirement and your web host.
Reply With Quote
  #10  
Old 02-04-2015, 10:29 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lets stick with the original post, and not turn this into a version discussion, stick with trying to help the OP.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08562 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete