TraceWatch with PHP5 and register_long_arrays



I guess it is a ,a href=“”>known issue but I learned that Trace Watch is a good tracking tool from this very thread and decided to give it a try.

I get the same error on the known issue page.
Warning: Invalid argument supplied for foreach() in /home/user/ on line 1

I’ve created .htaccess file and n there I’ve put

php_flag register_long_arrays on

but no go. What is the correct syntax for fixing this problem? thak you in advance.


Give this a try.

“PHPOption register_long_arrays on” without the quotes in .htaccess

Found this after a little googling about.

Web Hosting Reviews | Shonky’s Blog


I’d suggest looking for another tracking program. Sorry, but this is a fault of Tracewatch, it’s outdated code, and I would personally not support, by any means, the requirement of turning on register_long_arrays.

I’d make Tracewatch update their code or use an actual actively developed tracker program.


(A belated) Thank you to shonky and guice.

Guice, you are proably right. I will look into other software. I’ve used awstats in the past, but the log ile gets kind of large…
Does anyone have recommendatiuon for a good tracking tool??