# Forums | Mahara Community

## Support / Mahara: Site unavailable

Posts: 3

31 January 2009, 5:29 PM

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.

Posts: 1643
##### Re: Mahara: Site unavailable

31 January 2009, 6:23 PM

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.
Posts: 3
##### Re: Mahara: Site unavailable

31 January 2009, 8:30 PM

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):

• field VARCHAR(255) NOT N...", true

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

Posts: 3
##### Re: Mahara: Site unavailable

31 January 2009, 9:29 PM

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

Thanks

Posts: 1643
##### Re: Mahara: Site unavailable

31 January 2009, 10:57 PM

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. Posts: 1 ##### Re: Mahara: Site unavailable 06 July 2009, 7:01 AM 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 :)

Posts: 228
##### Re: Mahara: Site unavailable

06 July 2009, 8:53 AM

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