Warning: open_basedir restriction in effect. File is in wron

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
MarcoB
Posts: 30
Joined: Thu 13. Nov 2003, 03:30
Contact:

Warning: open_basedir restriction in effect. File is in wron

Post 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 ?
Professional webhosting...
http://www.silver.nl - sales@silver.nl
User avatar
Oliver Georgi
Site Admin
Posts: 9945
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Locked