News:

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

Main Menu

[SOLVED] fatal error: call to undefined function db_error()

Started by rshadow, April 23, 2006, 08:24:34 AM

Previous topic - Next topic

rshadow

I'm trying to do a fresh install of SMF and am getting the following error after filling out the "create administrative account" screen.  Any ideas?  I'm running apache 2.x and php5 (its possible I need to recompile php5 with additional options, but I'm not sure if db_error() is something local to SMF or something local to PHP...


Fatal error: Call to undefined function db_error() in /home/xxxxxxx/htdocs/forums/Sources/Subs.php on line 290


edit: I'm not installing this with mambo or any other piece of software.  This is a completly fresh install on an empty domain.

edit2: and all my files were "uploaded" correctly, because I didn't upload anything. I used wget to grab the archive and then chmoded the stuff it told me too.

solution: Its not listed in the server requirments, however PEAR-DB is a requirement :) so if you run into this error please make sure that your version of PHP also has the PEAR-DB mod installed.

I love it when I solve my own problems.. :)

Advertisement: