vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   VbConnecter API Cookies Problem (https://vborg.vbsupport.ru/showthread.php?t=247830)

kusmendra 08-02-2010 08:07 PM

VbConnecter API Cookies Problem
 
1 Attachment(s)
I m using Version 4.0.3 and used VbConnecter API for manage user management section from outside the forum,
there is two folder in zip file, first one is "Connector" and another is "Example". i copied "Connector" folder in forum root and then used example files in our main site.
when i log in through forum all functions working fine (like. get user info, log in status etc.. ) in my main site, But my problem is that when i log out (through forum default logout function OR my customize log out function in main site). I got error "Unable to add cookies, header already sent." Don't know why... :(


I think we have problem here

// build the session and setup the environment
$this->session =& new vB_Session($this, $sessionhash, $this->GPC[COOKIE_PREFIX . 'userid'], $this->GPC[COOKIE_PREFIX . 'password'], 0, 0);

Marco van Herwaarden 08-04-2010 04:47 AM

If you have problems with a modification, then please post in the thread of that modification.

PS I have the feeling that you are trying to use a 3.5 modification on 4.0, this might not work.

kusmendra 08-04-2010 06:04 AM

No we are not making any modification, we already using vBulletin version 4.0.3.

we just want to use vBconnector API for creating Login, Logout functionality on our main site.

I just need that vBulletin session and our site session will be same.


All times are GMT. The time now is 07:58 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.01042 seconds
  • Memory Usage 1,708KB
  • 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
  • (3)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