the changes i made to the setcookie function in b2login.php is to add the parameter “/b2/” (which is the directory where the b2 or wordpress stuff is in my system. specifically:
setcookie(“cafelogpass”,md5($user_pass),time()+31536000);
changes to
etcookie(“cafelogpass”,md5($user_pass),time()+31536000,”/b2/”);
ok… i hope this answers your question minimism.
dan getz
I had the same problem when installing both wordpress and b2, just yesterday.
I think I managed to trace the problem to the path specification when setting cookies.
When I added an explicit path argument to the setcookie() function, the cookies became available to the verifyauth php script which requires them.
It then seemed to work. The fix I made was to b2login.php. I added the extra parameter to all setcookie() calls.
The original path for the cookies included the “b2login.php” filename which prevented them to be accessed from within a directory.
I would be happy to know if this is the correct explanation….
Thanx.