Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: wdalen on January 26, 2007, 02:28:06 PM

Title: problems with installing XOOPS cms
Post by: wdalen on January 26, 2007, 02:28:06 PM
I have problems with installing XOOPS 2.0.12 and higher and XOOPS 2.2 and higher. It is not a problem within XOOPS but a problem with the server. After this I can't use the picture manager in the system module of xoops. This is the error message after installing xoops

Warning [PHP]: getimagesize(): open_basedir restriction in effect. File(/tmp/phpTTMQLh) is not within the allowed path(s): (/home/e-smith/files/ibays/Primary/) in file class/uploader.php line 384
Warning [PHP]: getimagesize(/tmp/phpTTMQLh): failed to open stream: Operation not permitted in file class/uploader.php line 384
Warning [Xoops]: Failed fetching image size of /tmp/phpTTMQLh, skipping max dimension check.. in file class/uploader.php line 389
Warning [PHP]: getimagesize(): open_basedir restriction in effect. File(/tmp/phpTTMQLh) is not within the allowed path(s): (/home/e-smith/files/ibays/Primary/) in file class/uploader.php line 404
Warning [PHP]: getimagesize(/tmp/phpTTMQLh): failed to open stream: Operation not permitted in file class/uploader.php line 404
Warning [Xoops]: Failed fetching image size of /tmp/phpTTMQLh, skipping max dimension check.. in file class/uploader.php line 409

Is there anybody for help? I am using SME 7.1.
Thanks, Wiljo
Title: Re: problems with installing XOOPS cms
Post by: william_syd on January 26, 2007, 03:10:20 PM
Quote from: "wdalen"
open_basedir


That is your problem.

Try
Code: [Select]
/sbin/e-smith/db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary/:/tmp
/sbin/e-smith/signal-event ibay-modify Primary
Title: Re: problems with installing XOOPS cms
Post by: wdalen on January 26, 2007, 05:35:20 PM
Quote from: "william_syd"
Quote from: "wdalen"
open_basedir


That is your problem.

Try
Code: [Select]
/sbin/e-smith/db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary/:/tmp
/sbin/e-smith/signal-event ibay-modify Primary


Problem solved! Thanks!
Wiljo