Wednesday 05 July 2006 12:31:47 pm
I'm having some serious problems with this script. It refuses to update the ezview_counter table. I've playing around with it a little to see what it is doing, and it looks like it doesn't process the file correctly, but it's probably due to something I do wrong... I'm using eZ Publish 3.7.4 and Apache 2 with this in my virtual host
CustomLog logs/mysite-access_log combined
The log contains alot of impressions. I did some printing from the script, and on line 204 this statement: print_r($pathArray ); generates only 25 URL's which is less than what's actually in the log file. Also it seems to take URL's that look like this:
some/url/to/parse
and store them in $pathArray as
some/some/url/to/parse
resulting in that it cannot find any nodes with this path_identification_string... Furthermore, on line 222 I added the following statement:
print $pathIdentification. "\n";
which prints:'ome/some/url/to/parse' from the example above (this is the path id string used in the query to find the node, it has one element too many, and one letter to few...) So, is it something regarding my setup or configuration that's causing this? Anyone had problems with this?
|