xRudeboiix Posted November 29, 2013 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
KyleMassacre Posted November 29, 2013 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
xRudeboiix Posted November 30, 2013 Author 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
Seker Posted November 30, 2013 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
xRudeboiix Posted November 30, 2013 Author Posted November 30, 2013 yeah sorry i figured it out as soon as i clicked the quick reply button Quote
Magictallguy Posted November 30, 2013 Posted November 30, 2013 Edit line 80 of your class_db_mysqli.php Find: mysqli_error() Replace with: mysqli_error($this->connection_id) Quote
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.