Koozali.org: home of the SME Server

ezcontents 2.0.2 upload problem

nef kho

ezcontents 2.0.2 upload problem
« on: December 20, 2003, 04:27:24 AM »
hi,

i tried installing ezcontents 2.0.2, eveything is ok, except that i cant upload images or file, i get this message in the admin panel : "WARNING: PHP 'Safe Mode' restriction may affect functionality" the upload bowser message is "could not upload file"

i tried setting:

# /sbin/e-smith/db accounts setprop ezcontent PHPBaseDir /home/e-smith/files/ibays/ezcontent/html
# /sbin/e-smith/signal-event ibay-modify ezcontent
and restart httpd

still i got the same error, any one have any fixed to this?

tia,

nef kho

Darrell May

Re: ezcontents 2.0.2 upload problem
« Reply #1 on: December 21, 2003, 07:50:04 AM »
You need the following:

# chown -R www:www /home/e-smith/files/ibays/ezcontent/html/contentimage
# /sbin/e-smith/db accounts setprop ezcontent PHPBaseDir /
# /sbin/e-smith/signal-event ibay-modify ezcontent

Regards,

Darrell

nef kho

Re: ezcontents 2.0.2 upload problem
« Reply #2 on: December 21, 2003, 08:15:27 AM »
i did try it out but, i got this error to;

Warning: Unknown(): open_basedir restriction in effect. File(/home/e-smith/files/ibays/ezcontent/html/admin/index.php) is not within the allowed path(s): (/) in Unknown on line 0

nef