Connecting Tech Pros Worldwide Help | Site Map

How to edit funtion link in errors

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 23 '09
When there is an error, it shows error, then reason, then the function that failed, then a link to the function, but, it goes to my site.
Here is what it looks like:

Expand|Select|Wrap|Line Numbers
  1. Warning:
  2. file_get_contents(http://www.click4click.com/cgi-bin/adserve.cgi?userid=jerryhost&size=468x60)
  3. [function.file-get-contents]:
  4. failed to open stream:
  5. HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/jerry/public_html/template/classes/Common.php(100) :
  6. eval()'d code on line 10
Code wrapped for readability

The
Expand|Select|Wrap|Line Numbers
  1. [function.file-get-contents]
  2.  
Gives a link like:
[function.file-get-contents]

I need it to be:
[function.file-get-contents]

So, basicly, i need http://jerryhost.info changed to http://us3.php.net

How can I do this?
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#2: Aug 23 '09

re: How to edit funtion link in errors


You need to change the docref_root php.ini directive to point to http://us3.php.net. You might also need to set the docref_ext to .html.

Mark.
Reply