[Obm] can't get obm to work
Mehdi Rande
mehdi.rande@aliacom.fr
Wed, 17 Mar 2004 11:19:52 +0100
dhull a écrit :
> Here's what I have:
> 1. Apache 2.0.48
> 2. MySQL
> 3. PHP 4.3.4
> 4. running on both Slack 9.1 and Debian Woody
>
> I got obm 0.7.5 and followed the instructions in the docs/html dir.
> Here's what I end up with when I creat the database in MySQL..
>
> #START OF PROBLEM
> Warning: main(obminclude/global.inc): failed to open stream: No such
> file or directory in
> /usr/local/www/obm/php/admin_pref/admin_pref_index.php on line 23
>
> Warning: main(): Failed opening 'obminclude/global.inc' for inclusion
> (include_path='.:/usr/local/www/php/lib/php') in
> /usr/local/www/obm/php/admin_pref/admin_pref_index.php on line 23
>
> Warning: main(obminclude/global_pref.inc): failed to open stream: No
> such file or directory in
> /usr/local/www/obm/php/admin_pref/admin_pref_index.php on line 37
>
> Warning: main(): Failed opening 'obminclude/global_pref.inc' for
> inclusion (include_path='.:/usr/local/www/php/lib/php') in
> /usr/local/www/obm/php/admin_pref/admin_pref_index.php on line 37
> -a -> $action=user_pref_update
>
> Fatal error: Call to undefined function: debug_level_isset() in
> /usr/local/www/obm/php/admin_pref/admin_pref_index.php on line 223
> Update calculated values
>
> Warning: main(obminclude/global.inc): failed to open stream: No such
> file or directory in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 25
>
> Warning: main(): Failed opening 'obminclude/global.inc' for inclusion
> (include_path='.:/usr/local/www/php/lib/php') in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 25
>
> Fatal error: Cannot instantiate non-existent class: db_obm in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 30
> Update phonetics ans approximative searches
>
> Warning: main(obminclude/global.inc): failed to open stream: No such
> file or directory in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 25
>
> Warning: main(): Failed opening 'obminclude/global.inc' for inclusion
> (include_path='.:/usr/local/www/php/lib/php') in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 25
>
> Fatal error: Cannot instantiate non-existent class: db_obm in
> /usr/local/www/obm/php/admin_data/admin_data_index.php on line 30
> #END OF PROBLEM
>
> What is going on here?
Hi,
It seems that youre php include_path is not well set...
To set it up you can set it in youre obm virtual host in apache.conf :
php_value include_path ".:/usr/local/www/obm"
Or in youre php.ini
include_path ".:/usr/local/www/php/lib/php:/usr/local/www/obm"
HTH,
Mehdi
--
Mehdi Rande - mehdi.rande@aliacom.fr
ALIACOM - www.aliacom.fr -
Toulouse : 05 62 19 24 91 - Paris : 01 48 25 53 13