Page 1 of 1

Warning: open_basedir restriction in effect. File is in wron

Posted: Mon 8. Dec 2003, 22:41
by MarcoB
When trying to upload a file, before uploading and clicking the file upload button this error:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/dikkers-boersema.nl/httpdocs/include/inc_lib/imagick.convert.inc.php on line 44

php is in safe_mode on this host and can not be turned off, gd 1.6.2 is installed.

any hinsts Oliver ?

Posted: Tue 9. Dec 2003, 14:14
by Oliver Georgi
Before any upload? Maybe because of PHP 4.2.2 that is used on that account. Funny thing: Apache 2.0.40 but very old PHP.

But maybe changing line 44 of "imagick.convert.inc.php" to

Code: Select all

if(!IMAGICK_ON) include PHPWCMS_ROOT."/include/inc_lib/ext/hft_image/hft_image.php";
may help you

Oliver