SnippetMaster Support Forums
Return to main website
 
May 16, 2012, 04:05:40 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2012, 04:05:40 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: open_basedir restriction error after click on image-URL-browse button « previous next »
Pages: [1] Print
Author Topic: open_basedir restriction error after click on image-URL-browse button  (Read 1513 times)
Claude

Posts: 3


[-] open_basedir restriction error after click on image-URL-browse button
« on: October 25, 2006, 03:06:04 PM »

Hi!

I installed SnippetMaster today and everything works fine with one exception:
When I want to insert an image, after clicking on the image-URL-browse button I get the following errors:

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/home/httpd/vhosts/online1.ch/httpdocs//..) is not within the allowed path(s): (/home/httpd/vhosts/online1.ch/httpdocs:/usr/share/pear:/tmp:/usr/bin) in /home/httpd/vhosts/online1.ch/httpdocs/snippetmaster/includes/filebrowser/functions.php on line 0

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/httpd/vhosts/online1.ch/httpdocs//..) is not within the allowed path(s): (/home/httpd/vhosts/online1.ch/httpdocs:/usr/share/pear:/tmp:/usr/bin) in /home/httpd/vhosts/online1.ch/httpdocs/snippetmaster/includes/filebrowser/functions.php on line 0

Inspite of this error-message I can choose the image-file and insert it.
I just googled for open_basedir restriction but didn't find any solution.
What does this error tell me and how can I fix it?

My configuration:
IonCube Loaders, PHP5, safemode=off

Thanks for your help!
Claude
Report to moderator   Logged
Jenkinhill

Posts: 420



[-] Re: open_basedir restriction error after click on image-URL-browse button
« Reply #1 on: October 26, 2006, 01:31:11 AM »

This looks like a web host configuration issue. I'd pass the error message on to them as they probably need  a change  the "open_basedir" path configuration in php.ini .
Report to moderator   Logged

Kelvyn
admin
Forum Administrator
*
Posts: 3069

SnippetMaster Author


WWW
[-] Re: open_basedir restriction error after click on image-URL-browse button
« Reply #2 on: October 26, 2006, 02:13:13 AM »

Yes, this is a problem with the configuration of PHP on your web server.  I recommend showing this message to your web host and ask them to either disable php open_basedir restriction for your account, or to add the path to the open_basedir value.

(Open basedir restriction for PHP is a security feature, where the web host does not allow you to "run" file or access files that are located outside the path to your account.  In your case, if you have the path information correct for snippetmaster, then you should be able to use it without an error.. because the file(s) you're trying to access should be inside your account somewhere.  Thus.. you should chat with your web host about this.)

Let me know if I can help with anything.
 
Smile
Report to moderator   Logged
Claude

Posts: 3


[-] Re: open_basedir restriction error after click on image-URL-browse button
« Reply #3 on: October 26, 2006, 07:49:56 AM »

Thanks for your answers!

I talked to my host and he says their settings are ok.

He told me the Script tries to access the path:
/home/httpd/vhosts/online1.ch/httpdocs//..
and this path is invalid.

Hmmm... sounds plausible to me. Isn't a path with two slashes // invalid?

Any ideas?
If it helps finding the solution I could send you information to log into my installation and see the error live.
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3069

SnippetMaster Author


WWW
[-] Re: open_basedir restriction error after click on image-URL-browse button
« Reply #4 on: October 26, 2006, 02:35:56 PM »

The path is valid.  It should work even with the double slash.  The operating system that "sees" the path should simply interpret it as one slash.  Smile

I'm not sure what to suggest, as I don't enjoy fighting with web hosts.. but I can say that it should work.  If you want to send me an email with a link to this thread, your ftp info, and a snippetmaster admin link.. I can look into it to see if maybe we can tweak the configuration of SnippetMaster a bit to work around this problem.


Report to moderator   Logged
Claude

Posts: 3


[-] Re: open_basedir restriction error after click on image-URL-browse button
« Reply #5 on: October 26, 2006, 03:45:31 PM »

Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: open_basedir restriction error after click on image-URL-browse button « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!