vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Make Fourm Faster (https://vborg.vbsupport.ru/showthread.php?t=179993)

Lionel 05-21-2008 03:30 PM

You've got a major bug in there somehow with cookies. I installed this and was very pleased. But it's effectively killing my vbcart cookie based shopping cart. When you add an item in the cart, it will not take a second one. Man... I went weeks into testing this modification, beat it up all the way and all works just fine until I put that htaccess. For 2 hours I was lost, could not figure out why this was happening, until I disabled the htaccess.

I think that this also hurt anyone who is using IPN to post back to the site

Uninstalling ...

Bounce 05-21-2008 03:36 PM

If your boards are that busy then you should be on a decicated server and that should be fast enough to cope without installing anything :D

TheSupportForum 05-21-2008 03:39 PM

Quote:

Originally Posted by Lionel (Post 1526980)
You've got a major bug in there somehow with cookies. I installed this and was very pleased. But it's effectively killing my vbcart cookie based shopping cart. When you add an item in the cart, it will not take a second one. Man... I went weeks into testing this modification, beat it up all the way and all works just fine until I put that htaccess. For 2 hours I was lost, could not figure out why this was happening, until I disabled the htaccess.

I think that this also hurt anyone who is using IPN to post back to the site

Uninstalling ...

you show try adding
RewriteCond %{HTTP_COOKIE} !^.*cookies=true.*$
under RewriteCond %{HTTP_REFERER} !^$

TheSupportForum 05-21-2008 03:42 PM

or
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)Usercheck=validated(;.*|$)

Lionel 05-21-2008 03:49 PM

That does not work. It won't even let me clear cart ...

I think it has an effect on $_POST

TheSupportForum 05-21-2008 03:51 PM

do you have cookies enabled or disabled ?

elmati 05-21-2008 03:52 PM

I'm testin this :)
Thanks!

Lionel 05-21-2008 03:58 PM

Of course they are enabled. Everytime that I try this mod, I must clear all cookies in order to surf normally

Mr:Ishi 05-21-2008 04:01 PM

it says internal server error after i upload

TheSupportForum 05-21-2008 04:10 PM

i just updated it download new version


All times are GMT. The time now is 05:20 AM.

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.01098 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete