ermias Posted February 3, 2009 Report Posted February 3, 2009 Hi Nabeel, I set up the 'phpvms' va software and it worked perfectly and this morning it surprized me with the following prompt: "Fatal error: Function name must be a string in C:xampphtdocsphpvmscoreclassesMySQL.class.php on line 134" Where (which folder) can I fix it? The other part of the website works fine except phpvms and the phpbb3 forum inturface. Both of them return the prompt above. when I try to access them. By the way I tried to reinstall and nothig changes. Any help? Thanks for everything and help you gave me, ermias Quote
Administrators Nabeel Posted February 3, 2009 Administrators Report Posted February 3, 2009 It's been fixed in the update, but that error is when it can't to the database. It just shows the error message. If you goto that line (core/classes/Mysql.class.php) Change that line from: $this->register_error([b]$[/b]mysql_error($this->dbh), mysql_errno($this->dbh)); To: $this->register_error($mysql_error($this->dbh), mysql_errno($this->dbh)); (Remove the bolded character). Did permissions on your database change? A user get removed? Quote
ermias Posted February 3, 2009 Author Report Posted February 3, 2009 Nabeel, I found the line and it is the same us you wanted it to be. It reads: $this->register_error($mysql_error($this->dbh), mysql_errno($this->dbh)); return false; The bolded part is the word "return". Do I delete only that or along with the word "false"? Unfortuately I did both and no change so far. I haven't done any change in the database sofar. I use Html kit and it shows you the text formating and line one by one. Thanks for the quick help, Ermias Quote
Administrators Nabeel Posted February 3, 2009 Administrators Report Posted February 3, 2009 Err, it didn't bold properly in my post. This line: $this->register_error($mysql_error($this->dbh), mysql_errno($this->dbh)); Remove that $ sign 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.