xRudeboiix Posted November 29, 2013 Share Posted November 29, 2013 i just got v2 but when i try to install it an error comes up which is: Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/monocou4/public_html/class/class_db_mysql.php on line 80 QUERY ERROR: Query was CREATE TABLE `announcements` ( `a_text` text NOT NULL, `a_time` int(11) NOT NULL default '0') ENGINE=MyISAM ; any idea of what i can do to fix it? Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted November 29, 2013 Share Posted November 29, 2013 why are you getting a mysqli error when you are using the mysql wrapper? Something sounds odd. I believe mc codes offers support for a limited time so if you just bought it then you should have support Quote Link to comment Share on other sites More sharing options...
xRudeboiix Posted November 30, 2013 Author Share Posted November 30, 2013 okay thanks Quote Link to comment Share on other sites More sharing options...
xRudeboiix Posted November 30, 2013 Author Share Posted November 30, 2013 i got another error, if fixed the other one. QUERY ERROR: Table 'announcements' already exists Query was CREATE TABLE `announcements` ( `a_text` text NOT NULL, `a_time` int(11) NOT NULL default '0') ENGINE=MyISAM ; Quote Link to comment Share on other sites More sharing options...
Seker Posted November 30, 2013 Share Posted November 30, 2013 i got another error, if fixed the other one. QUERY ERROR: Table 'announcements' already exists Query was CREATE TABLE `announcements` ( `a_text` text NOT NULL, `a_time` int(11) NOT NULL default '0') ENGINE=MyISAM ; Erm. Self explanatory? You can't create a table that already exists? Quote Link to comment Share on other sites More sharing options...
xRudeboiix Posted November 30, 2013 Author Share Posted November 30, 2013 yeah sorry i figured it out as soon as i clicked the quick reply button Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted November 30, 2013 Share Posted November 30, 2013 Edit line 80 of your class_db_mysqli.php Find: mysqli_error() Replace with: mysqli_error($this->connection_id) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.