when I try to install the phorum on step 3 this message is displayed. I have search this function on a manual and say this:
------------------
mysql_errno -- Returns the number of the error message from previous MySQL operation
Description
int mysql_errno(int [link_identifier] );
Errors coming back from the mySQL database backend no longer issue warnings. Instead, use these functions to retrieve the error number.
mysql_connect("marliesle");
echo mysql_errno().": ".mysql_error()."
";
mysql_select_db("nonexistentdb");
echo mysql_errno().": ".mysql_error()."
";
$conn = mysql_query("SELECT * FROM nonexistenttable");
echo mysql_errno().": ".mysql_error()."
";
?>
-------------------
I have created this file and have the same error:
---------
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'marliesle' (0) in /home/elotrolado/htdocs/foro/prueba.php3 on line 2
Fatal error: Call to unsupported or undefined function mysql_errno() in /home/elotrolado/htdocs/foro/prueba.php3 on line 3
----------
I have changed the line 129 on db_mysql.php from
$this->errno=mysql_errno();
to $this->errno=mysql_error();
for testing, and then i can go on, but on step 4 i allways have this error:
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.
------------
Any suggestion???? :(
2. what version of php
3. what version of vB are you installing
Ciao!
#If you have any other info about this subject , Please add it free.# |