 To enter room XX you must become a member of XX  (0 viewing)
 | | |
|
TOPIC: To enter room XX you must become a member of XX
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 70
|
|
1. Did installation of BlastChat component succeeded in normal way, no errors under Joomla 1.5?
2. Do you have any data in blastchatc table (should be 1 row with your website URL and private key, intra id filled, is it)?
3. Did you try to register your website and it worked?
(BlastChat client 2.2 is not Joomla 1.5 compatible, Joomla 1.5 changed variables and access to session data (that's what that code is for, but you still need private key, intra id
|
|
|
|
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 0
|
|
this is a joomla! 1.5 no upgrades
|
|
|
|
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 70
|
|
Just to check, you installed blastchat under Joomla 1.0.x then upgraded to Joomla 1.5, right?
|
|
|
|
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 0
|
i forgot legacy 1.0 is on need this for Fireboard (i have problems with that too, but this is an other story  )
|
|
|
|
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 0
|
|
hey
ok, code is like this now:
global $mosConfig_absolute_path, $database, $mosConfig_live_site, $mosConfig_lifetime;
global $mosConfig_lang, $mainframe, $cur_template, $myss, $my, $bc_site, $_VERSION;
//prepare global variables
$prod = "Joomla!"; //$_VERSION->PRODUCT;
$rel = "1.5"; //$_VERSION->RELEASE;
$dev = "0"; //$_VERSION->DEV_LEVEL;
$database =& JFactory::getDBO();
$session =& JFactory::getSession();
$myss =& JTable::getInstance( 'session', 'JTable' );
$myss->load($session->getId());
now the message is:
Error 0002: Error, contact system admin. Error data: "blastchatc" table
sorry the message is in hungarian, tried to translate it (: Im not sure this is table....
thx for helping
|
|
|
|
|
|
|
|
Re:To enter room XX you must become a member of XX 5 Years, 4 Months ago
|
Karma: 70
|
|
if you have those 2 tables existing and blastchatc has correct information (usually just 1 row) then you would really just need to apply code provided at first page of this thread in blastchatc.php
(admin backend will not work, but chat should)
in any case, if you read those lines of code that needed change and you try to understand them, you should be able to remove all that does not apply to you and keep only needed parts:
I am not sure but this might be incorrect:
$myss = $this->getTable('session', 'JTable');
replace with
$myss =& JTable::getInstance( 'session', 'JTable' );
For only Joomla 1.5 you need this:
//in case _VERSION is not available, fill in this manually
$prod = "Joomla!";
$rel = "1.5";
$dev = "0"; //change to whatever it is
$data_base_ =& JFactory::getDBO();
$session =& JFactory::getSession();
$myss =& JTable::getInstance( 'session', 'JTable' );
$myss->load($session->getId());
|
|
|
|
|
|
 | | | 
|