Help a beginner with some issues. (mainly joomla installation)

CoffeeCup

New member
Joined
May 16, 2008
Messages
2
Hi, I'm a beginner user with DirectAdmin. I've worked with joomla locally using WAMP for testing purposes. So finally one day I decided to get myself a domain and and some remote server space. I began putting up a simple html site to test that everything worked as it should and it did. but now when I want to install joomla i get the following error:

Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (/home/mydomain/:/tmp:/usr/local/lib/php/) in /usr/home/mydomain/domains/mydomain.com/public_html/main_dir/libraries/joomla/session/session.php on line 407

Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /usr/home/mydomain/domains/mydomain.com/public_html/main_dir/libraries/joomla/session/session.php on line 407


As is said I'm a beginner so go easy on the difficult words and stuff.
Thanks in advance :)
 
Question

When viewing dynamic pages, I see the following error: Warning: main(): open_basedir restriction in effect. File(/full/path/to/cgi-bin/movabletype/php/mt.php) is not within the allowed path(s): (/full/path/to/tmp) in /full/path/to/blog/mtview.php on line 2

Answer

This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").

The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.
 
Back
Top