[Obm] Re: OBM Installation

Pierre Baudracco pierre.baudracco@aliacom.fr
Sat, 18 Feb 2006 18:16:04 +0100


Please, post on the list !

Set your document_root ($cdocument_root) in a location where you can create it
 (eg in your home) and create it (the directory).

Don NOT edit global.inc !
copy obm_conf.inc.sample to obm_conf.inc and edit this instead.

Quoting Jack Weishun <jweishun@gmail.com>:

> I have good news and I have bad news. The good news is my host agreed
> to "temporarily" add the set path directive, to 'php.ini' so I can
> install OBM and the login issue is resolved. The bad news is, when I
> run 'install_document_1.1.php', I get:
> The document repository root does not exist. Trying to create it
> Warning: mkdir(): open_basedir restriction in effect.
> File(/var/www/obmdocuments) is not within the allowed path(s):
> (/home2/levans:/usr/lib/php:/usr/local/lib/php:/tmp) in
> /home2/levans/public_html/obm/scripts/1.1/install_document_1.1.php on
> line 24
> The document repository root can not be created. Check the path
>
> I've added, in '.htaccess':
> <IfModule mod_php4.c>
> php_value include_path
> ".:/home2/levans/public_html/obm:/usr/lib/php:/usr/local/lib/php"
> </IfModule>
> edited, in global.inc:
> // OBM host
> $cgp_host = "http://home2/levans/public_html/obm/";
> The only other thing I've done is, in 'obm_conf.inc':
> // Database infos
> $obmdb_host = "localhost";
> $obmdb_dbtype = "MYSQL"; // (MYSQL || PGSQL)
> //$obmdb_dbtype = "PGSQL"; // (MYSQL || PGSQL)
> $obmdb_db = "levans_mgmt";
> $obmdb_user = "levans_xxxxx";
> $obmdb_password = "xxxxxx";
>
> Is it possible my host didn't enter the set path directive correctly?
> If so, can you tell me how it should've been entered?


-- 
Pierre Baudracco - Aliacom - 05 62 19 24 91 - www.aliacom.fr