.
When debugging in a small project in Eclipse PDT for OS X when I get to either of the lines below I get :
$doc_root = $_SERVER['DOCUMENT_ROOT'] ;
Notice: /site/error/main_error_handler.php line 149 - Undefined index: DOCUMENT_ROOT
$rem_addr = $_SERVER['REMOTE_ADDR'] ;
Notice: /site/error/main_error_handler.php line 164 - Undefined index: REMOTE_ADDR
yet when I run the page normally, just using the browser there are no errors and
echo $doc_root ;
echo $rem_addr ;
both work like they should...
I am running ZendServer CE with htdocs as the Document Root
I need to be able to rely on the debugger, not have it introduce more errors.
If I look at the $_SERVER variable in the debugger prior to the error, sure enough the values are missing.
Any ideas ?
.
.

