Forums | Mahara Community

Support /
Error at Installation


anonymous profile picture
Account deleted
Posts: 1

11 February 2013, 13:38

After clicking INSTALL, the following error message appeared;

Could not execute command: CREATE TABLE /home2/careven1/dbmahara/config (     field VARCHAR(255) NOT NULL,     value TEXT, CONSTRAINT  PRIMARY KEY (field) )ENGINE=innodb

Call stack (most recent first):
  • execute_sql("CREATE TABLE /home2/careven1/dbmahara/config (    ...") at /home2/careven1/public_html/eProfile/lib/dml.php:1395
  • execute_sql_arr(array(size 261)) at /home2/careven1/public_html/eProfile/lib/ddl.php:645
  • install_from_xmldb_file("/home2/careven1/public_html/eProfile/lib/db/instal...") at /home2/careven1/public_html/eProfile/lib/upgrade.php:297
  • upgrade_core(object(stdClass)) at /home2/careven1/public_html/eProfile/admin/upgrade.json.php:94

Anyone know how to solve this problem with installation....

 

 

anonymous profile picture
Account deleted
Posts: 197

18 February 2013, 17:12

Hi Patrick,

You seem to have a filesystem path as the database table prefix. I'm pretty certain that your prefix for your database table is not going to be "/home2/careven1/dbmahara/".

You've set this in the $cfg->dbprefix variable. You need to check what your prefix really is and change the variable to that (or to '' if you don't even have a table prefix.)

Hope this helps,
Melissa

2 results