[xdebug-general] Re: I don't understand why I've this message : "Notice: Trace could not be started in /var/www/test/xdebug.php on line 1"

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 5 Mar 2007 09:26:00 +0100 (CET)

On Sat, 3 Mar 2007, KLEIN Stéphane wrote:

> I've installed Xdebug 2.0.0RC3 on Ubuntu with PHP 5.2.1
>
> It work fine except this function :
>
> xdebug_start_trace("test.xt");
>
> I don't understand why I've "Notice: Trace could not be started in
> /var/www/test/xdebug.php on line 1" message ? xdebug.trace_output_dir
> is not setting then it's default value : "/tmp/".
>
> Do I need to set another setting ?

The function accepts a fullpath only, and it doesn't use the setting. I
am inclined to fix this as a documentation issue though. The message you
get is because the webserver can not write into the current working
directory.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Mar 05 2007 - 09:26:17 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST