Jump to content

Php Open_basedir Restriction Error


rusty
 Share

Recommended Posts

I installed the IImage Gallery plug-in for Wordpress, have activated it and created the directory the instructions said I should create (and ran a chmod 777 on it), but I get a open_basedir restriction error when the script runs. Here's the whole message:

 

>Warning: getimagesize(): open_basedir restriction in effect. File(/wp-content/images/galleries/test/DSCN0053.JPG) is not within the allowed path(s): (/home/radical:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 205

Warning: getimagesize(/wp-content/images/galleries/test/DSCN0053.JPG): failed to open stream: Operation not permitted in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 205

Warning: chmod(): No such file or directory in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 324

Warning: getimagesize(): open_basedir restriction in effect. File(/wp-content/images/galleries/test/DSCN0017.JPG) is not within the allowed path(s): (/home/radical:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 205

Warning: getimagesize(/wp-content/images/galleries/test/DSCN0017.JPG): failed to open stream: Operation not permitted in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 205

Warning: chmod(): No such file or directory in /home/radical/public_html/wp-content/plugins/iimage-gallery.php on line 324

Warning: Cannot modify header information - headers already sent by (output started at /home/radical/public_html/wp-content/plugins/iimage-gallery.php:205) in /home/radical/public_html/wp-admin/post.php on line 302

 

Is there a way to get this working outside the allowed paths or to have TCH add the wp-content directory and its sub-directories to the allowed paths?

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...