[phorm] [Phorm:] Error when I include a script.

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 15 May 2003 20:44:45 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2708) Error when I include a script. 
            <http://www.phorm.com/support/?rev=2708> 
  AUTHOR:   Peter 
  DATE:     May 15, 2003 at 4:44 p.m. EST 

I am trying to include a php script (linklokurl.php) in an acknowledgemnt page 
when using Phorm. 

I have included the script at the head of the page as follows - 
<?php include"linklokurl.php"; ?> 
Further down the web page I have included a call to the script 
- <a href="<?php linklokurl('aga.exe',10,1); 
?>">Download Here</a> - 

If I go directly to this page in my web browser it works as it should. 
However if I am forwarded to it by a Phorm page, it returns the following 
error at the top of the page; 

_________________ 
Warning: Unknown(): open_basedir restriction in effect. 
File(/usr/share/pear/linklokurl.php) is not within the allowed path(s): 
(/home/httpd/vhosts/easycadplus.com/httpdocs) in 
/home/httpd/vhosts/easycadplus.com/httpdocs/phorm/phorm.php(2073) : eval()'d 
code on line 1 

Warning: Unknown(linklokurl.php): failed to create stream: Operation not 
permitted in /home/httpd/vhosts/easycadplus.com/httpdocs/phorm/phorm.php(2073) 
: eval()'d code on line 1 

Warning: Unknown(): Failed opening 'linklokurl.php' for inclusion 
(include_path='.:/usr/share/pear') in 
/home/httpd/vhosts/easycadplus.com/httpdocs/phorm/phorm.php(2073) : eval()'d 
code on line 1 
________________ 

The following is then displayed in the web page where the script details 
should be shown: 

_______________ 
<a href=" 
Fatal error: Call to undefined function: linklokurl() in 
/home/httpd/vhosts/easycadplus.com/httpdocs/phorm/phorm.php(2073) : eval()'d 
code on line 130 

___________ 

I am obviously not configuring something correctly. 

Any ideas on what that might be? 

Thanks 

Peter 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Error when I include a script.