Vb3 Integration - Reviewpost won't create user cookie
I am trying to finalize a VB3/Reviewpost integration. The integration works in only one direction - FROM vb3 TO reviewpost.
VB3 settings are: cookie path: "/", cookie domain: "" cookie prefix:"bb"
RP settings are: cookie path:"/", cookie domain:"" cookie prefix:"bb"
I've verified the VB3 license value (vb3's index.php to rp's config.inc setting)
NOTE: I've also tried setting both cookie domains to ".mysite.com"
If I log in to VB3, and then go to reviewpost, it recognizes me as logged in and Vb3 creates a cookie.
If I log into Reviewpost, I receive a message saying that I'm logged in, but the reviewpost main screen does not recognize me as logged in, and a cookie is NOT created.
Any help you can provide is greatly appreciated.
Problem Solved - mb_strpos warning partially to blame
The problem described above has been solved - here is the issue in case others have a similar situation.
I started receiving mb_strpos warnings whenever I attempted to view a category or product list. I couldn't fix it - so I did the wrong thing: I suppressed the php warning messages.
QUESTION: Why am I receiving "Warning: mb_strrpos(): Empty haystack in pp-inc.php on line 360" when I attempt to view a category without products?
I then tried to customize the header incorrectly: by modifying the ppopen template. Not surprisingly, not only didnt' this work, but now it started to throw "Warning: Cannot modify header information " messages. But of course, I never saw these message because is suppressed the php warning message.
After realizing that reviewpost was not writing cookies, a small lightbulb went off and I turned off the php warning suppression. And then of course I saw this wonderful warning message that told me exactly which template was causing the problem (ppopen.tmpl).
I replaced the ppopen.tmpl file with one from the original distribution (since Omegatron told me how to use server side includes to customize the header). And now things work perfectly!
|All times are GMT -5. The time now is 12:30 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0