Jump to content

MySQL Problem


ermias

Recommended Posts

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

Link to comment
Share on other sites

  • Administrators

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...