Problem after muweb 0.8 install

Newbie Spellweaver
Joined
Dec 5, 2007
Messages
11
Reaction score
0
when i install mu web 0.8 and then i go in my website and show me this text



Fatal error: Call to a member function on a non-object in c:\appserv\www\includes\muweb.php on line 44


what i can do for that?





SRY FOR MY BAD ENGLISH
 
Re: [Guide] Problem after muweb 0.8 install

Basicly muweb.php 44 line is $users_connected = $db->Execute("SELECT count(*) FROM MEMB_STAT WHERE ConnectStat='1'");
*Why Do You Get Error?
This means that in your Database [SQL Server] MuOnline database
is a problem.. There is'nt Table named MEMB_STAT or in that Table does not exists ConnectStat Field..
*Solving The Problem
There Are 2 Ways :

1)Create this Table:
--------------------------------------------------------------------------
open START>All programs>Microsoft SQL Server>Query analyzer..
HOST: . or localhost
open by Windows Authentication
In the Field Paste this code :
Code:
USE MuOnline
CREATE TABLE [MEMB_STAT] (
	[memb___id] [varchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
	[ConnectStat] [tinyint] NULL ,
	[ServerName] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
	[IP] [varchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,
	[ConnectTM] [smalldatetime] NULL ,
	[DisConnectTM] [smalldatetime] NULL 
) ON [PRIMARY]
GO
--------------------------------------------------------------------------
2) Use other Database.
Just download any your server's other server files and restore DB..
[Best Condition because i think you will get another error after this error]

Good Luck Mate.. Don't listen to them ^^ above, i mean.. those are just real newbies..
 
Re: [Guide] Problem after muweb 0.8 install

@RipLeys: you are in the wrong section...
 
Back