FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Problems with 3.0.3RC1
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problems with 3.0.3RC1 [message #165823 is a reply to message #165637] Mon, 15 August 2011 19:16 Go to previous messageGo to previous message
chacham is currently offline  chacham
Messages: 5
Registered: August 2011
Location: Oak Park, MI
Karma:
Junior Member

dcars wrote on Fri, 29 July 2011 04:39

Fatal error: Call to undefined function q() in C:\xampp\htdocs\fudforum\sql\mysql\db.inc on line 167


I am posting this for other people like me who use google on the error and find this thread.

This error occurs when the database is not yet created. The solution is to create the database:

mysql -uusername -p
(enter password)
create database fudforum;
quit

and rerun the script.

Make sure the user has rights to that database. If not, the quick and easy solution is:
mysql -uroot
(if you get a denied error: mysql -uroot -p)
create user fudforum identified by 'fudforum';
grant all on fudfoum.* to fudforum;
quit

It would be nice if the install script checked if the passed database existed, and if not, told the user.




[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Call to a member function fetch_row() on a non-object
Next Topic: consistency check error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:26:25 GMT 2024

Total time taken to generate the page: 0.04036 seconds