Unable to log php pages

Avatar
I am trying the standard version of WebLog Expert and time for the trial is running out, so I need to solve this if I am going to purchase it.

I find the filtering tool an excellent tool for log file analysis. I have used it to filter multiple sites on the same server, based on the folder accessed. My difficulty is filtering php pages: the url consists only of the domain and folders. Although I can filter these folders, they don't show as page views, which wouldn't look good to a client. (In options I can't see a way to define pages except by file extension). Furthermore there is no folder or file in the url for the home page, so what do I enter as the home page for that?
php
Avatar
Nic Evans
Thank you Michael and apologies for the delay in replying. I will send you an email as suggested.

Regards

Nic
Avatar
Michael
Could you provide few samples of existing urls to be filtered out and urls to be shown in reports?
Avatar
Nic Evans
Hi Michael - as far as I can tell, this is the start of a response to someone loading the home page:

81.132.111.64 - - [28/Feb/2015:12:54:49 +0000] "GET /site-mw1/templates/css/fotorama.css HTTP/1.1" 200 14193 "http://www.milnerwoodcraft.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/5.2.43972 Mobile/12B466 Safari/600.1.4"

81.132.111.64 - - [28/Feb/2015:12:54:49 +0000] "GET /site-mw1/templates/css/mw-style.css HTTP/1.1" 200 9316 "http://www.milnerwoodcraft.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/5.2.43972 Mobile/12B466 Safari/600.1.4"

81.132.111.64 - - [28/Feb/2015:12:54:49 +0000] "GET /site-mw1/modules/BlowbackDesign-emo-aa8f990/emo.min.js HTTP/1.1" 200 1229 "http://www.milnerwoodcraft.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/5.2.43972 Mobile/12B466 Safari/600.1.4"

The example above should show as the home page being viewed, but doesn't. I can see each log entry as a hit, but showing as a page would be more beneficial.

The code log entry below is in response to a person selecting the Joinery page:

90.195.7.163 - - [11/Mar/2015:17:51:45 +0000] "GET /gallery/joinery/ HTTP/1.1" 200 8060 "-" "Mozilla/5.0 (Linux; U; Android 4.2.2; en-gb; GT-P5110 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"

90.195.7.163 - - [11/Mar/2015:17:51:49 +0000] "GET /site-mw1/templates/css/mag-styles.css HTTP/1.1" 200 7779 "http://www.milnerwoodcraft.com/galler..." "Mozilla/5.0 (Linux; U; Android 4.2.2; en-gb; GT-P5110 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"

Again, it doesn't show in Weblog Expert as a page.
I could supply more examples for other websites, but would need to send as an attachment.

Thanks for your help

Nic
Avatar
Michael
The /gallery/joinery/ page as well as other pages should be shown in the Pages report. If it isn't shown, you should check that you don't use a filter that may filter out this information. You should also check that the index page in the profile properties is set to a correct page name, e.g. index.php (even if you don't use an index page).

Missing requests like in your first example may occur in some cases if pages are already cached in user's browser, while in most cases they shouldn't significantly affect statistics.

If it doesn't help, you can send us a sample log from your site and a report created for it at support@weblogexpert.com, so we'll check what could cause the problem.