OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Can't create new table

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Can't create new table

Postby pjohanneson » Thu Mar 25, 2004 2:52 pm

Hi,

I'm trying to set up a new instance of OJS, and when I click Submit on the [server]/install.php?op=step&step=2 page, I get the following:

Fatal error: Call to undefined function: mysql_create_db() in /srv/www/htdocs/rural/include/db/db.mysql.inc.php on line 53


It's been a while since I've fiddled with OJS, so I may just be forgetting something. Any advice?

TIA,
-pat
pjohanneson
 
Posts: 12
Joined: Thu Jan 08, 2004 12:12 pm

Postby kevin » Thu Mar 25, 2004 4:53 pm

If you are using MySQL 4.x, the mysql_create_db function is no longer available. You can either create a database manually and then install OJS, or edit include/db/db.mysql.inc.php and change

Code: Select all
mysql_create_db($db, $this->connection)


to

Code: Select all
mysql_query("CREATE DATABASE $db", $this->connection)
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby pjohanneson » Fri Mar 26, 2004 7:33 am

That did the trick. Thanks for your speedy reply.

-pat
pjohanneson
 
Posts: 12
Joined: Thu Jan 08, 2004 12:12 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest