Announcement

Collapse
No announcement yet.

Possible cache/cookies issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Possible cache/cookies issue

    SOLVED

    When refreshing a thread, I cannot see a post that I published. On another thread, I edited a post and saved it but it does not show the edited version. When clicking the edit button again, the post appears to me just as I edited it.

    Another problem is that a member sent me a private message, I could see the message in my mobile phone, but it does not appear in the computer. Later on I could not even view it in the mobile phone.

    I deleted all cookies from my browsers, cleared the cache from the admin panel, but still have the same problem.

    When viewing the forums through a VPN, I get the correct thread.

    The website keeps asking me to enter the login user name and password on the front page only even after I click 'remember me'. But, when I view any thread or subforum, I find that I am correctly logged in.

    Update: I logged out and entered with a new username, same problems.
    - I logged in through another computer, same problems.
    - Could the login problem be related to the index file??


    SOLVED: The peoblem is that the website was using the cache of the sucuri firewall service.SOLVED by changing the setting i the firewall so that the website gets the chache from the original hosting service rather than from sucuri.
    Last edited by Mohammed Abu Risha; Sat 13 Jun '20, 2:32am.

  • #2
    What version of vBulletin 5?

    Are you using a CDN like Cloudflare or a server based caching system like Varnish?

    Varnish is not recommended to use with vBulletin. You will get all sorts of issues since it is a Web App and does most of the communication to the server via JavaScript without reloading pages.

    With Cloudflare, you need to uncomment the appropriate Proxy settings within the /core/includes/config.php file. Just search the file for Cloudflare.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • Mohammed Abu Risha
      Mohammed Abu Risha commented
      Editing a comment
      Version 5.6.0
      I am using sucuri.net (as a firewall). Does that cause the trouble?
      I am not aware of what cache service my host is using. I will ask them. Thank you!

    • Wayne Luke
      Wayne Luke commented
      Editing a comment
      There are proxy settings for Sucuri in the /core/includes/config.php file as well. They should be uncommented if you are using their services.

    • Mohammed Abu Risha
      Mohammed Abu Risha commented
      Editing a comment
      I checked the config.php in the core/includes directory but could not see any mentioning of succuri. Any hint?

  • #3
    I checked the config.php in the core/includes directory but could not see any mentioning of succuri. Any hint?
    You must be using an older file. It should be in 5.6.0's default file. In the 5.6.1 PL1 file, you will see this at the bottom of the file:

    Code:
    /*
    //default configuration for Sucuri Firewall
    $config['Misc']['proxyiplist'] = '192.88.134.2, 192.88.134.3, 192.88.134.4, 192.88.134.5, 192.88.134.6, ' .
    '192.88.134.7, 192.88.134.8, 192.88.134.9, 192.88.134.10, 192.88.134.11, 192.88.134.12, 192.88.134.13, ' .
    '192.88.134.14, 192.88.134.15, 192.88.134.16, 192.88.134.17, 192.88.134.18, 192.88.134.19, 192.88.134.20, ' .
    '192.88.134.21, 192.88.135.2, 192.88.135.3, 192.88.135.4, 192.88.135.5, 192.88.135.6, 192.88.135.7, ' .
    '192.88.135.8, 192.88.135.9, 192.88.135.10, 192.88.135.11, 192.88.135.12, 192.88.135.13, 192.88.135.14, ' .
    '192.88.135.15, 192.88.135.16, 192.88.135.17, 192.88.135.18, 192.88.135.19, 192.88.135.20, 192.88.135.21, ' .
    '185.93.228.2, 185.93.228.3, 185.93.228.4, 185.93.228.5, 185.93.228.6, 185.93.228.7, 185.93.228.8, 185.93.228.9, ' .
    '185.93.228.10, 185.93.228.11, 185.93.228.12, 185.93.228.13, 185.93.228.14, 185.93.228.15, 185.93.228.16, ' .
    '185.93.228.17, 185.93.228.18, 185.93.228.19, 185.93.228.20, 185.93.228.21, 185.93.229.2, 185.93.229.3, ' .
    '185.93.229.4, 185.93.229.5, 185.93.229.6, 185.93.229.7, 185.93.229.8, 185.93.229.9, 185.93.229.10, ' .
    '185.93.229.11, 185.93.229.12, 185.93.229.13, 185.93.229.14, 185.93.229.15, 185.93.229.16, 185.93.229.17, ' .
    '185.93.229.18, 185.93.229.19, 185.93.229.20, 185.93.229.21, 185.93.230.2, 185.93.230.3, 185.93.230.4, ' .
    '185.93.230.5, 185.93.230.6, 185.93.230.7, 185.93.230.8, 185.93.230.9, 185.93.230.10, 185.93.230.11, ' .
    '185.93.230.12, 185.93.230.13, 185.93.230.14, 185.93.230.15, 185.93.230.16, 185.93.230.17, 185.93.230.18, ' .
    '185.93.230.19, 185.93.230.20, 185.93.230.21';
    
    // Support Sucuri Firewall
    $config['Misc']['proxyipheader'] = 'HTTP_X_SUCURI_CLIENTIP';
    */
    It is worthwhile to compare the newer version of this file with your existing version every so often.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • Wayne Luke
      Wayne Luke commented
      Editing a comment
      This was added in vBulletin 5.5.3 - https://tracker.vbulletin.com/vbulle...sues/VBV-19164

    • Mohammed Abu Risha
      Mohammed Abu Risha commented
      Editing a comment
      Thank you a lot!

    • Mohammed Abu Risha
      Mohammed Abu Risha commented
      Editing a comment
      Thank you Wayne for your help. It seems now that it is a problem with Sucuri. Today, I am unable to surf my own website because an error message comes up from Sucuri saying that my country is 'blocked by the administrator'. I am suffering too much from their service and when sending them a support ticket, they said I should whitelist all URLS or all IPs!!!!!! And, the ended their reply saying that this is temporary solution until I, the customer, find out why this problem is happening. This is very disappointing. They are asking me to know why my country is blocked in their system. Too much indeed!!!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X