Solved

Error with HTML editor

Posted on 2007-12-03
5
209 Views
Last Modified: 2008-02-01
Hi, A client uses snippetmaster (Editor), and she has just asked me what this means.  Unfortunately never having used snippetmaster before I do not know...can anyone shed some light on it please?

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/lib/php/extensions/no-debug-non-zts-20060613/../../../../../../home/ioncube/ioncube_loader_lin_5.2.so) is not within the allowed path(s): (/home/wwwblos:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwblos/public_html/snippetmaster/index.php on line 3

PS I have tried their user forum, no answer yet, so hoping the error is general enough for someone to help on here...or the error looks like a missing page...or something..:)
0
Comment
Question by:wood1e
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:steelseth12
ID: 20395062
Safe mode is probably on .

Have a look at

http://www.php.net/manual/en/features.safe-mode.php

and also

http://www.php.net/manual/en/function.file-exists.php

Basically what it means is that the file your client is trying to open is outside the allowed directory tree.

0
 

Author Comment

by:wood1e
ID: 20395071
So it could be a case of her having moved the index.php file from snippetmaster folder to 'somewhereelse/'  folder?
0
 
LVL 20

Accepted Solution

by:
steelseth12 earned 500 total points
ID: 20395096
No. From what i can see its trying to check if ioncube is installed on the system. Your client probably being on a share host doesnt have access to resources outside his document root.

He could try and contact his hosting provider but in most cases they will refuse to make any changes.
0
 

Author Comment

by:wood1e
ID: 20395117
yes I see...I will get on to the hosting company..  Cheers
0
 
LVL 20

Expert Comment

by:steelseth12
ID: 20395124
From snippetmaster website it looks like there are 2 flavors. On encrypted with Zend Optimizer and the other with Ioncube.

http://www.snippetmaster.com/requirements/loaders.php

Tell your client to try the zend optimizer version, as it comes bundled with php and it doesnt matter if safe mode is on
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question