Hello
In admin section have this error:

warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/home/:/var/www/html/:/tmp:/etc/virtual:/usr/local/php5/lib/php) in /home/account/domains/sitename/public_html/modules/image/contrib/image_im_advanced/image_im_advanced.install on line 31.

In Image toolkit section have new error:


    * warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/convert/) is not within the allowed path(s): (/home/:/var/www/html/:/tmp:/etc/virtual:/usr/local/php5/lib/php) in /home/account/domains/sitename/public_html/includes/image.imagemagick.inc on line 55.
    * No file /usr/local/bin/convert/ could be found. PHP's open_basedir security restriction is set to /home/:/var/www/html/:/tmp:/etc/virtual:/usr/local/php5/lib/php, which may be interfering with the attempts to locate ImageMagick.

/usr/local/bin/convert is a valid address from my hosting provider.

How to fix it this problems?

Thank You.

CommentFileSizeAuthor
#4 modulelist.gif996.68 KBJCB
#4 statusreport.gif55.72 KBJCB
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JCB’s picture

I have the same error:

* warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/image_gallery.pages.inc) is not within the allowed path(s): (/usr/wwws/users/magicb:/usr/www/users/magicb:/usr/home/magicb:/usr/local/rmagic:/usr/www/users/he/_system_:/usr/share/php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www) in /usr/www/users/magicb/sites/all/modules/edit_term/edit_term.module on line 114.

* warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/image_gallery.pages.inc) is not within the allowed path(s): (/usr/wwws/users/magicb:/usr/www/users/magicb:/usr/home/magicb:/usr/local/rmagic:/usr/www/users/he/_system_:/usr/share/php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www) in /usr/www/users/magicb/sites/all/modules/edit_term/edit_term.module on line 114.

joachim’s picture

Are you specifically using ImageMagick as your image toolkit?

If not, I can look into #5961: Error with file api and open_basedir restriction.

joachim’s picture

Alternatively, see this for a possible solution: http://ericcarroll.org/logs/drupal-openbasedir-error

JCB’s picture

FileSize
55.72 KB
996.68 KB

I had a look at the solution joachim gave #3 - but I already did that; and it doesn't seem to be the same problem.

I attached a screen shot of my status report (with the error) as well as a screen shot of my module list... hopefulle you guys can get some clarity on my system and point me in the right direction.

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

So you're not using imagemagick?

JCB’s picture

I am not using ImageMagick.

Sorry guys... I am a newbie to drupal.org

These matters are unrelated.

However if you do find a solution for my term_edit problem... please point me in the right direction.

Kind Regards

JCB

joachim’s picture

edit_term.module is nothing to do with this project... please file an issue on the relevant project.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Sorry, without further information this issue can only be closed as not reproducible.

Feel free to re-open this issue if you want to provide further information. Thanks.

pizangdesain’s picture

successed...
i do enable imageapi GD2 and all fix...
=) WEHEHE...