PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Installation & Upgrades (http://www.photopost.com/forum/reviewpost-installation-upgrades/)
-   -   Vb3 Integration - Reviewpost won't create user cookie (http://www.photopost.com/forum/reviewpost-installation-upgrades/110957-vb3-integration-reviewpost-wont-create-user-cookie.html)

thompson00 December 17th, 2004 04:22 AM

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.

Thank You

thompson00 December 17th, 2004 10:19 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97