Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
yes, i need help please.
#1
THT Version:1.2.2
Your THT installation URL: http://pokerstars.game-host.org/tht/
Browser (including version):chrome latest version. srry i dont know where to find the detail.
Your Operating System:Windows 7 64bit
Server's Operating System:windows
Apache Version:2.2
+ Apache 2.2.14 (IPV6 enabled)
+ MySQL 5.1.41 (Community Server) with PBXT engine 1.0.09-rc
+ PHP 5.3.1 (PEAR, Mail_Mime, MDB2, Zend)
+ Perl 5.10.1 (Bundle::Apache2, Apache2::Request, Bundle::Apache::ASP, Bundle::Email, Bundle:Big GrinBD::mysql, DBD::SQlite, Randy Kobes PPM)
+ XAMPP Control Version 2.5.8 (ApacheFriends Edition)
+ XAMPP CLI Bundle 1.6
+ XAMPP Port Check 1.5
+ XAMPP Security 1.1
+ SQLite 2.8.17
+ SQLite 3.6.20
+ OpenSSL 0.9.8l
+ phpMyAdmin 3.2.4
+ ADOdb v5.10
+ FPDF v1.6
+ Zend Framework 1.9.6 Minimal Package (via PEAR)
+ Mercury Mail Transport System v4.72
+ msmtp 1.4.19 (a sendmail compatible SMTP client)
+ FileZilla FTP Server 0.9.33
+ Webalizer 2.21-02 (with GeoIP lite)
+ apc 3.1.3p1 for PHP
+ eAccelerator 0.9.6-rc1 for PHP
+ Ming 0.4.3 for PHP
+ PDF with pdflib lite v7.0.4p4 for PHP
+ rar 2.0.0-dev for PHP
+ Xdebug 2.0.6-dev for PHP
+ libapreq2 v2.12 (mod_apreq2) for Apache
Control Panel Type: Not sure i didn't get to this part?
Control Panel Version:1.351
Error: Fatal error: Call to a member function error() on a non-object in G:\xampp\htdocs\THT 1.2.2\includes\class_db.php on line 41
Problem:Needing some assistance. my knowledge is lacking, and my kung fu google skills have worn a hole in me


i started with instlaling. curl 7.21. i put the DLL's into the PHP folder. i changed the comment line in php.ini. i put the curl files in the base directory of G:\ along side the xampp direcoty. i created this file conf.inc.php
<code><?php
//////////////////////////////
// The Hosting Tool
// SQL Config
// By Jonny H
// Released under the GNU-GPL
//////////////////////////////

//Are we being called by the script?
if(THT != 1){die("FATAL: Trying to hack?");}

//MAIN SQL CONFIG - Change values accordingly
$sql['host'] = "127.0.0.1"; #The mySQL Host, usually default - localhost
$sql['user'] = "****"; #The mySQL Username
$sql['pass'] = "****"; #The mySQL Password
$sql['db'] = "tht_"; #The mySQL DB, remember to have your username prefix
$sql['pre'] = "PRE"; #The mySQL Prefix, usually default unless otherwise

//LEAVE
$sql['install'] = TRUE;
?></code>

because THT wouldn't create one. I noticed in the install help file it said to be prepared to create one, so i referenced this file to get the details being requested. index.php

function writeconfig($host, $user, $pass, $db, $pre, $true) {
global $style;
$array['HOST'] = $host;
$array['USER'] = $user;
$array['PASS'] = $pass;
$array['DB'] = $db;
$array['PRE'] = $pre;
$array['TRUE'] = $true;
$tpl = $style->replaceVar("tpl/install/conftemp.tpl", $array);
$link = LINK."conf.inc.php";
if(is_writable($link)) {
file_put_contents($link, $tpl);
return true;


it seems as though im able to access the database but now i get this error. I know NOTHING about what i just posted. it was simply just a process of deduction, which took time.

This is my error im recieving.

Fatal error: Call to a member function error() on a non-object in G:\xampp\htdocs\tht\includes\class_db.php on line 41


I had SSL enabled on some of the directores, but since ive had the problems ive disabled SSL and reinstalled THT, but still the same issue


please help
when i try to install from install directory

You can only run the install from the G:\xampp\htdocs\tht\install\index.php file.
Reply
#2
(06-25-2010, 11:22 PM)blackndblue Wrote: THT Version:1.2.2
Your THT installation URL: http://pokerstars.game-host.org/tht/
Browser (including version):chrome latest version. srry i dont know where to find the detail.
Your Operating System:Windows 7 64bit
Server's Operating System:windows
Apache Version:2.2
+ Apache 2.2.14 (IPV6 enabled)
+ MySQL 5.1.41 (Community Server) with PBXT engine 1.0.09-rc
+ PHP 5.3.1 (PEAR, Mail_Mime, MDB2, Zend)
+ Perl 5.10.1 (Bundle::Apache2, Apache2::Request, Bundle::Apache::ASP, Bundle::Email, Bundle:Big GrinBD::mysql, DBD::SQlite, Randy Kobes PPM)
+ XAMPP Control Version 2.5.8 (ApacheFriends Edition)
+ XAMPP CLI Bundle 1.6
+ XAMPP Port Check 1.5
+ XAMPP Security 1.1
+ SQLite 2.8.17
+ SQLite 3.6.20
+ OpenSSL 0.9.8l
+ phpMyAdmin 3.2.4
+ ADOdb v5.10
+ FPDF v1.6
+ Zend Framework 1.9.6 Minimal Package (via PEAR)
+ Mercury Mail Transport System v4.72
+ msmtp 1.4.19 (a sendmail compatible SMTP client)
+ FileZilla FTP Server 0.9.33
+ Webalizer 2.21-02 (with GeoIP lite)
+ apc 3.1.3p1 for PHP
+ eAccelerator 0.9.6-rc1 for PHP
+ Ming 0.4.3 for PHP
+ PDF with pdflib lite v7.0.4p4 for PHP
+ rar 2.0.0-dev for PHP
+ Xdebug 2.0.6-dev for PHP
+ libapreq2 v2.12 (mod_apreq2) for Apache
Control Panel Type: Not sure i didn't get to this part?
Control Panel Version:1.351
Error: Fatal error: Call to a member function error() on a non-object in G:\xampp\htdocs\THT 1.2.2\includes\class_db.php on line 41
Problem:Needing some assistance. my knowledge is lacking, and my kung fu google skills have worn a hole in me


i started with instlaling. curl 7.21. i put the DLL's into the PHP folder. i changed the comment line in php.ini. i put the curl files in the base directory of G:\ along side the xampp direcoty. i created this file conf.inc.php
<code><?php
//////////////////////////////
// The Hosting Tool
// SQL Config
// By Jonny H
// Released under the GNU-GPL
//////////////////////////////

//Are we being called by the script?
if(THT != 1){die("FATAL: Trying to hack?");}

//MAIN SQL CONFIG - Change values accordingly
$sql['host'] = "127.0.0.1"; #The mySQL Host, usually default - localhost
$sql['user'] = "****"; #The mySQL Username
$sql['pass'] = "****"; #The mySQL Password
$sql['db'] = "tht_"; #The mySQL DB, remember to have your username prefix
$sql['pre'] = "PRE"; #The mySQL Prefix, usually default unless otherwise

//LEAVE
$sql['install'] = TRUE;
?></code>

because THT wouldn't create one. I noticed in the install help file it said to be prepared to create one, so i referenced this file to get the details being requested. index.php

function writeconfig($host, $user, $pass, $db, $pre, $true) {
global $style;
$array['HOST'] = $host;
$array['USER'] = $user;
$array['PASS'] = $pass;
$array['DB'] = $db;
$array['PRE'] = $pre;
$array['TRUE'] = $true;
$tpl = $style->replaceVar("tpl/install/conftemp.tpl", $array);
$link = LINK."conf.inc.php";
if(is_writable($link)) {
file_put_contents($link, $tpl);
return true;


it seems as though im able to access the database but now i get this error. I know NOTHING about what i just posted. it was simply just a process of deduction, which took time.

This is my error im recieving.

Fatal error: Call to a member function error() on a non-object in G:\xampp\htdocs\tht\includes\class_db.php on line 41


I had SSL enabled on some of the directores, but since ive had the problems ive disabled SSL and reinstalled THT, but still the same issue


please help
when i try to install from install directory

You can only run the install from the G:\xampp\htdocs\tht\install\index.php file.

i have installed 1.2.1 with success. I only had to install it from the instlal directory. My suggestion is to make 1.2.2 installable from the install directory as well.
Reply
#3
Seems a lot of people are having issues with the new install checking we added. We will look into this.
- KuJoe
Reply
#4
(06-26-2010, 12:39 AM)KuJoe Wrote: Seems a lot of people are having issues with the new install checking we added. We will look into this.

Thank you. Big Grin im just happy i have a THT that works. IM guessing i can install 1.2.2 as an update. do you think that would work?
also a mistake i had made. you should check it. the table prefix was the same as my database, but i also recall checking that once before, but i could be mistaken.

$sql['db'] = "tht_"; #The mySQL DB, remember to have your username prefix
$sql['pre'] = "PRE"; #The mySQL Prefix, usually default unless otherwise

i doubt this is why i would have recieved that error anyways. meh. i just have to let my ballz drop and update this install with 1.2.2 now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)