{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/267","labels_url":"https://api.github.com/repos/mautic/mautic/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/267/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/267/events","html_url":"https://github.com/mautic/mautic/issues/267","id":66497639,"number":267,"title":"Tracking gif only registers a few Page Hits, then ignores the rest... useless 404 not found errors?","user":{"login":"pitus","id":9009360,"avatar_url":"https://avatars.githubusercontent.com/u/9009360?v=3","gravatar_id":"","url":"https://api.github.com/users/pitus","html_url":"https://github.com/pitus","followers_url":"https://api.github.com/users/pitus/followers","following_url":"https://api.github.com/users/pitus/following{/other_user}","gists_url":"https://api.github.com/users/pitus/gists{/gist_id}","starred_url":"https://api.github.com/users/pitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitus/subscriptions","organizations_url":"https://api.github.com/users/pitus/orgs","repos_url":"https://api.github.com/users/pitus/repos","events_url":"https://api.github.com/users/pitus/events{/privacy}","received_events_url":"https://api.github.com/users/pitus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-06T00:28:25Z","updated_at":"2015-04-13T16:06:23Z","closed_at":null,"body":"Not sure if these two are related, but we suspect that the 404 errors in the log file are the reason for some Page Hits not being registered properly.\r\n\r\nHere's a sample line (there are 5-20+ of these per hour) from our log file:\r\n\r\n>[2015-04-02 14:03:34] mautic.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: \"Sorry! The requested URL was not found.\" at /www_dev/httpdocs/PROD/mautic/vendor/symfony/framework-bundle/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 151 {\"exception\":\"[object] (Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\NotFoundHttpException(code: 0): Sorry! The requested URL was not found. at /www_dev/httpdocs/PROD/mautic/vendor/symfony/framework-bundle/Symfony/Bundle/FrameworkBundle/Controller/Controller.php:151)\"} []\r\n\r\nThis error message doesn't tell us *ANYTHING* useful, just pollutes the log file and uses up HD space so it would be nice if it also reported the actual *URL* being requested and which has failed (no route found for it?)\r\n\r\nWhat we've also observed is that a new anonymous Lead is being tracked with the tracking gif but only the first few page hits are saved into mysql and reported for the Lead ... no matter what that user does afterwards (may browser to many more pages or close the browser altogether) the lead details page shows the last recorded page as being still opened (accumulating its viewing time). No further Page Hits are being reported for the same user/browser ... however, if another browser window is opened (say, was using Chrome then switched to IE) then few more Page Hits from the new browser are recorded and they do stop just the same after a few Page Hits.\r\n\r\nIs it possible that this is related to the above 404 exception in line 151 of the Framework Controller.php ? I can provide you with additional information, mysql data, run whatever additional tests you think might help you identify and fix this issue as it currently renders Mautic rather useless for our marketing campaign :(\r\n\r\n-Piotr"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/92412101","html_url":"https://github.com/mautic/mautic/issues/267#issuecomment-92412101","issue_url":"https://api.github.com/repos/mautic/mautic/issues/267","id":92412101,"user":{"login":"pitus","id":9009360,"avatar_url":"https://avatars.githubusercontent.com/u/9009360?v=3","gravatar_id":"","url":"https://api.github.com/users/pitus","html_url":"https://github.com/pitus","followers_url":"https://api.github.com/users/pitus/followers","following_url":"https://api.github.com/users/pitus/following{/other_user}","gists_url":"https://api.github.com/users/pitus/gists{/gist_id}","starred_url":"https://api.github.com/users/pitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitus/subscriptions","organizations_url":"https://api.github.com/users/pitus/orgs","repos_url":"https://api.github.com/users/pitus/repos","events_url":"https://api.github.com/users/pitus/events{/privacy}","received_events_url":"https://api.github.com/users/pitus/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T16:06:23Z","updated_at":"2015-04-13T16:06:23Z","body":"Here's a suggestion for the siteUrl config parameter, as it seems very sensitive to whether it includes a trailing forward slash / or not - perhaps you should check for that (when saving it on Admin page) and remove it if present (to avoid things like a double slash in the tracker domain//email/... ?\r\nYou could also show a warning on the Dashboard when it's not been configured (as a reminder) ?"}}