Forums | Mahara Community

Support /
Mahara: Site unavailable


anonymous profile picture
Account deleted
Posts: 3

31 January 2009, 17:29

Hello,

 I have uploaded the Mahara files to this site http://www.yallajobs.net but I am still getting this error.

 "Your defined data root directory, /public_html/directory/, is not writable. This means that neither session data, user files nor anything else that needs to be uploaded can be saved on your server. Please make the directory if it does not exist, or give ownership of the directory to the web server user if it does."

The permissions are set to 777 and the directory is in the main public_html of the hosting account.

It is a shared hosting, and yallajobs.net is an addon domain name. so, in my hosting control panel, I have : public_html, then a folder called yallajobs.net , it did not work whether the directory was inside yallajobs.net folder or in the main public html.

I am checking with the hosting company, but if you can help too, it will be great.

thank you.

M.G.

anonymous profile picture
Account deleted
Posts: 1643

31 January 2009, 18:23

Hi - you have specified dataroot wrong. It is an absolute filesystem path, not a web address or a relative path. Please see the installation instructions for more information.
anonymous profile picture
Account deleted
Posts: 3

31 January 2009, 20:30

ok, thank you. I had to add /home/ to the path.

I have another problem though, I am still getting that register_globals is On, but I did turn it off in the php.ini.

and I am getting this error:" ould not execute command: CREATE TABLE config ( field VARCHAR(255) NOT NULL, value TEXT, CONSTRAINT PRIMARY KEY (field) )TYPE=innodb

Call stack (most recent first):
  • execute_sql() at /home/ghaddar/public_html/yallajobs.net/lib/dml.php:1339
  • execute_sql_arr() at /home/ghaddar/public_html/yallajobs.net/lib/ddl.php:570
  • install_from_xmldb_file() at /home/ghaddar/public_html/yallajobs.net/lib/upgrade.php:257
  • upgrade_core("CREATE TABLE config (

  • field VARCHAR(255) NOT N...", true
    ) at /home/ghaddar/public_html/yallajobs.net/admin/upgrade.json.php:71

  is that related to the register_globals? or it is another problem? and why it says type=innodb? I specified the database as mysql5.

Thank you

anonymous profile picture
Account deleted
Posts: 3

31 January 2009, 21:29

The register_globals is off, but I am still getting the database error. how I can solve it?

Thanks

anonymous profile picture
Account deleted
Posts: 1643

31 January 2009, 22:57

Hi - the type=innodb thing is irrelevant, innodb is a type of mysql table.

The database error could be because you're on a shared host and are sharing the database with other users, one of whom has created a database table called 'config'. If you think that's the case, try using the $cfg->dbprefix setting.

anonymous profile picture
Account deleted
Posts: 1

06 July 2009, 7:01

Hi Nigel,
i have the same problem... i don't understand what you mean with "try using the $cfg->dbprefix setting"?!
i put in the config.php: "$cfg->dbprefix = 'sandroalves';
but it doesn't works too...

sorry for my bad english, i'm from switzerland :)

anonymous profile picture
Account deleted
Posts: 228

06 July 2009, 8:53

Grüezi from Zürich!

Which problem exactly were you having? There were two problems described in this thread ;-)

If you can paste the exact error message you're getting that would help a lot :)

 

7 results