Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: oddo on April 28, 2006, 12:03:05 PM
-
hi
i have a problem when i try to install e-HRMS Suite on SME 7
(http://www.asix.com.my/ehrms/index.html)
Apr 28 12:55:15 server httpd: PHP Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/e-smith/files/ibays/ehrms/:/tmp) in /home/e-smith/files/ibays/ehrms/html/include/Select.php on line 21
Apr 28 12:55:15 server httpd: PHP Warning: main(PEAR.php): failed to open stream: Operation not permitted in /home/e-smith/files/ibays/ehrms/html/include/Select.php on line 21
Apr 28 12:55:15 server httpd: PHP Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/ehrms/html/include/Select.php on line 21
i tried with:
/sbin/e-smith/db accounts setprop ehrm PHPBaseDir /home/e-smith/files/ibays/ehrm/:/usr/share/pear
/sbin/e-smith/signal-event ibay-modify ehrm
and in browser i get:
" Warning: ini_set(): open_basedir restriction in effect. File(/tmp/ErrorHandler.log) is not within the allowed path(s): (/home/e-smith/files/ibays/ehrms/:/usr/share/pear) in /home/e-smith/files/ibays/ehrms/html/include/class.ErrorHandler.inc.php on line 312"
when i try
/sbin/e-smith/db accounts setprop ehrm PHPBaseDir /home/e-smith/files/ibays/ehrm/:/tmp
/sbin/e-smith/signal-event ibay-modify ehrm
i get in browser a blank page
thanks
-
i dont know if its the right way but
after i run:
sbin/e-smith/db accounts setprop <ibayname> PHPBaseDir none
/sbin/e-smith/signal-event ibay-modify <ibayname>
its working ;)