News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Installing SMF on Mamabo database

Started by skyhigh007, October 25, 2005, 09:36:37 PM

Previous topic - Next topic

skyhigh007



I try to intall SMF on my mambo website using the same database and i got an error after i type in the DB  password.

Fatal error: Call to undefined function: db_error() in /home/placeto/public_html/forum/Sources/Subs.php on line 234

The code is  $ret = mysql_query($db_string, $db_connection);
              if ($ret === false)
             $ret = db_error($db_string, $file, $line);    <------line 234

anybody knows the code?

Oldiesmann

Re-upload Sources/Errors.php and you should get an actual database error message...
Michael Eshom
Christian Metal Fans

skyhigh007

What do you mean Re-upload ? I found out that My hosting company uses, PHP 4.3.11, not 4.4


Oldiesmann

Doesn't matter. SMF will still work just fine on 4.3.11.

In this case you actually want to re-upload Sources/Subs.php as that's where the db_error function is defined. Download the "update" package here from the download page, extract the Subs.php to your computer, login to your FTP and upload Subs.php to the Sources directory.
Michael Eshom
Christian Metal Fans

skyhigh007

I did what you told and still doesnt work. Any ideas ? Do i have to install everything again ?

skyhigh007

I got this

Database Error
Unknown column 'c.ID_CAT' in 'field list'
File: /home/placeto/public_html/forum/Sources/BoardIndex.php
Line: 82

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF . It is recommended that you execute the latest version of upgrade.php.

Oldiesmann

Michael Eshom
Christian Metal Fans

Advertisement: