Hi ,
Anyone help me if any well verse in zencart with phpbb login integration.
I have copied file from the url
http://www.zen-cart.com/forum/showthread.php?t=111251
it works creates account both on zencart and phpbb.
Also tried all script from
http://ptalus.##########################/2008/02/h...-zen-cart.html
I used zip file in forum phpbb folder forum zip
To integrate common login for both.but it show Excute() error.If i give $db as object to$db->Excute() on zensesssion.php file
Then i changed to function
function _sess_write($key, $val) {
global $db;
if (!is_object($db)) {
//PHP 5.2.0 bug workaround ...
$db = new queryFactory();
$db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
global $SESS_LIFE;
$expiry = time() + $SESS_LIFE;
$value = $val;
$qid = "select count(*) as total
from " . TABLE_SESSIONS . "
where sesskey = '" . zen_db_input($key) . "'";
$total = $db->Execute($qid);
if ($total->fields['total'] > 0) {
$sql = "update " . TABLE_SESSIONS . "
set expiry = '" . zen_db_input($expiry) . "', value = '" . zen_db_input($value) . "'
where sesskey = '" . zen_db_input($key) . "'";
return $db->Execute($sql);
} else {
$sql = "insert into " . TABLE_SESSIONS . "
values ('" . zen_db_input($key) . "', '" . zen_db_input($expiry) . "', '" .
zen_db_input($value) . "')";
return $db->Execute($sql);
}
}
It shows blank page to me.
I have spend 2 days but no worked
Can any give steps and point the files to hard code to work common login.
Thanks in advance
Regards,
Archunan



