|
THT installed problem
|
|
11-28-2008, 10:57 PM
Post: #1
|
|||
|
|||
|
THT installed problem
After installed. Trying to access site or admin area of THT. I get this error. Anyone know what cause it?
Code: Fatal error: Call to a member function config() on a non-object in /home/kevinch/public_html/tht/includes/class_email.php on line 18 |
|||
|
11-29-2008, 12:39 AM
Post: #2
|
|||
|
|||
|
RE: THT installed problem
Hmm. I get that error before install but not after. After I install it goes away.
Kevin Mark - TheHostingTool Lead Developer |
|||
|
11-29-2008, 05:01 AM
Post: #3
|
|||
|
|||
|
RE: THT installed problem
Try installing again. I'll try find the root of the problem.
Jonny H - THT Main Developer & Founder |
|||
|
11-29-2008, 05:33 AM
(This post was last modified: 11-29-2008 05:33 AM by Jimmie.)
Post: #4
|
|||
|
|||
|
RE: THT installed problem
Jonny, global $db missing?
As I know, config() ($db->config, gets configuration value) is part of the /includes/class_db.php Try to find this in class_email.php. PHP Code: global $db;
Jimmie Lin - Community Manager & THT.Next Developer |
|||
|
11-29-2008, 05:37 AM
Post: #5
|
|||
|
|||
|
RE: THT installed problem
Jimmie it's definately there. Or it wouldn't of worked in the dev area.
The thing is, I think I pinned down the problem. It's because it constructs the email class before the database one. The DB class is the thing that constructs the connection and if it creates email before, the email class will be like, database? Wa.. Jonny H - THT Main Developer & Founder |
|||
|
11-29-2008, 05:41 AM
Post: #6
|
|||
|
|||
|
RE: THT installed problem
Jonny, I did update class_email.php when I was dev'ing the Mass Email System (Which was removed), check if there is a portion of my unfinished code there.
![]() Or its just because of the __construct thing?
Jimmie Lin - Community Manager & THT.Next Developer |
|||
|
11-29-2008, 05:45 AM
Post: #7
|
|||
|
|||
|
RE: THT installed problem
Trust me it's the construct problem. It's line 18
Jonny H - THT Main Developer & Founder |
|||
|
11-29-2008, 09:24 AM
Post: #8
|
|||
|
|||
|
RE: THT installed problem
This has been fixed! Download the patch.
Jonny H - THT Main Developer & Founder |
|||
|
11-29-2008, 12:32 PM
(This post was last modified: 11-29-2008 01:22 PM by crazyboy168.)
Post: #9
|
|||
|
|||
|
RE: THT installed problem
Ok, I will download the patch again and install.
The patch work great. One more question can we use this on a live site. When it come out of beta, do we have upgrade for it? I like to use this more than cpcreator. This one is better. Why is that in some area it ask for Authentication Required? Also why are they all align at the center. I have upload a image of what this mean. |
|||
|
11-29-2008, 01:23 PM
Post: #10
|
|||
|
|||
|
RE: THT installed problem
Thank you!
Kevin Mark - TheHostingTool Lead Developer |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)



![[Image: standard.png]](http://twitstamp.com/kmark937/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)

