vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Cookie Problem (https://vborg.vbsupport.ru/showthread.php?t=175022)

bevivid 04-03-2008 12:34 PM

Cookie Problem
 
Hi,

I installed Vbulletin and have had no problems at all until I tried to use vbexternal.php.

The problem I have happened when I used VBExternal to display forum stats etc on the front page of the website. I managed to get the forum stats/info to display fine on the homepage no problem.

The problem seems to lie with the login to the site I originally had working fine. It uses cookies and creates a member_id and a member_username. The login still works fine no problem but the page that the vbexternal.php is included on will not recognise the cookie variables, so it looks like it is logged out on that page alone. You then click on another page and everything is fine it acts like it is logged in again as normal. It is just the page with the vbexternal.php on. Basically every page acts normal (logged in) apart from the homepage with the vbexternal.php on.

If I comment out the code for vbexternal.php it all works fine again apart from my stats are missing :( The forum is also functioning as normal.

It seems to be cookie or variable related...

I hope I have explained it well

Any help or ideas would be greatly appreciated, as I'm lost. ;)

thanks

Marco van Herwaarden 04-03-2008 02:07 PM

If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.


All times are GMT. The time now is 01:38 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.01844 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete