Jump to content

Open_basedir


Spoonman

Recommended Posts

Heya, I've been trying to configure NukedGallery to work in my phpnuke installation and everything works fine till I try and upload an image, it fails to make the thumbnail. From what I have read this week I've narrowed it down to one possible solution (because I've tried everything else;

 

as per the help pages from nukedgallery:

 

 

Gallery c.27 - Why do I get errors like this: Warning: open_basedir restriction in effect. File is in wrong directory in /home/johndoe/public_html/gallery/platform/fs_unix.php on line 53?

 

Answer: This is caused by a PHP directive called open_basedir. Basically, your host has misconfigured this directive and not added the directory where Gallery is located to the directories where PHP can access and modify files. You'll need to contact them and ask them to add the directory where your website files are located.

I'm guessing I cannot fix this myself? If not then I can give you the address where I have placed the folder, it is here:

 

Note: Your NetPBM directory (/nuke/modules/gallery/netpbm) is not in your open_basedir list

 

 

Also, it says the list is editable however I have been unable to find its location:

 

The open_basedir list is specified in php.ini.

The result is, that we can't perform all of our basic checks on the files to make sure that they exist and they're executable.

Not sure what other information I can give you, I'll copy and include the list of binarys it tested if that would help at all:

 

We are going to test each NetPBM binary individually.

Click here to hide the details

 

Checking: '/nuke/modules/gallery/netpbm/giftopnm' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/jpegtopnm' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pngtopnm' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmcut' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmfile' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmflip' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmrotate' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmscale' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmtopng' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/ppmquant' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/ppmtogif' Expected status: 0, but actually received status 127.

 

Checking: '/nuke/modules/gallery/netpbm/pnmtojpeg' Expected status: 0, but actually received status 127.

 

I really hope this makes sence to you guys, I've spent most of this week trying to configure gallery to work on my page.

 

My url is www.waiparous.com

 

Hope you can help! I have tried everywhere else

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.

×
×
  • Create New...