6
I Use This!
Activity Not Available

News

Analyzed 3 months ago. based on code collected 4 months ago.
Posted over 15 years ago
by forgeze (Posted 25 Nov 2009 18:57)Code: Select all� � � � � � mysite.ru Better AWstats� v. 1.0� � � � � � � � � � � � � � � � � � Why utf-8? File <.codepage> is located in my "public_html" as cp1251.File "awstats-ru.txt" is unix-formatting in codepage utf-8 without BOM. When it open in notepad, looks russian.
Posted over 15 years ago
by Oliver (Posted 24 Nov 2009 15:40)What is the first and second case?What is a normal mapping?
Posted over 15 years ago
by chris_bbg333 (Posted 20 Nov 2009 02:09)ok thanks, I I'm not to sure what you ment I post you two things: 1. this is the screen ow better awstats http://www.picpaste.de/screenshot.1_1.jpeg2. the results of awstats (which are located in the data_dir ... [More] folder) look like this: http://pastebin.com/d22baaed4but I guess you didnt mean thiswell thanks again. [Less]
Posted over 15 years ago
by Oliver (Posted 17 Nov 2009 20:14)If I understand the problem you have correctly, awstats has a small design flaw in that it tries to show you the latest data first and not the oldest. In order to know what is the latest data, it assumes that you ... [More] have current data, and tries to display that. I did not write a fall-back option that would try all months backwards until it finds *some* data. otherwise it would have to read ALL datafiles and check which one is available, and which one is the latest. by the way PHP is written, this might take a LONG time and use lots of memory. thats why I assumed people want to look at current data and not use it as a historic tool.If you have a screenshot of the results when you switch off debug, I can check if that is the case with your setup. But I would recommend you to simply download recent data from your server instead and trying again. There is no need to run a cronjob with betterawstats. you simply need to have some current data. [Less]
Posted over 15 years ago
by jmm (Posted 17 Oct 2009 14:10)Solved. I think changing $BAW_CONF['xhtml'] to true is what made it. Nevertheless, I still get the same debugging notices.
Posted over 15 years ago
by Oliver (Posted 29 Sep 2009 07:45)well if you look at the frequency of postings here you will see its really not hat much.Unless I have more traffic, having another system to maintain or watch is just not really worth it.
Posted over 15 years ago
by Oliver (Posted 18 Sep 2009 07:50)betterawstats handles it this way since it does not parse the PERL-language awstats config files.let me check the code again later (quite busy recently) and I will see if I can come up with a better example for you.
Posted over 15 years ago
by Oliver (Posted 17 Sep 2009 13:37)good question.You will have to edit the code for this. The best thing would be to create a new array somewhere that maps the filename to the correct URL that should be making the link and then replace the filename ... [More] used with the correct link automatically in the display of the section for the URLs.So first you add the array to a file preferably the config.php:Code: Select all$BAW_CONF['new_urls']= array('filename1' => 'correct_url1','filename2' => 'correct_url2','filename3' => 'correct_url3',);and then, you go to to /core/display.inc.php and make a call to that array to insert the correct data. Find the functionfunction baw_display_urls($set) {and there the lineCode: Select all$link = baw_create_link($linktext, "http://{$BAW_CURR['site_name']}{$data[0]}", array(), true);so you can replace that line with Code: Select all$new_url =$BAW_CONF['new_urls'][$BAW_CURR['site_name']];$link = baw_create_link($linktext, "http://{$new_url}{$data[0]}", array(), true);make sure you add the appropriate slashes where needed.Also please note that this code might not be 100% correct since I did not try it out. It's more a guidance on how to solve the problem.Hope you get it done.Oliver [Less]
Posted over 15 years ago
by alternapop (Posted 15 Sep 2009 04:53)i have betterawstats configured to work with a bunch of different subdomains and it works.eg:housing.example.eduwith the config file called "awstats.housing.example.edu.conf"i know that i can use the OnlyFiles ... [More] directive to include only specified subdirectories.eg:housing.example.edu/main/OnlyFiles="main"the problem i'm having is that is appears that betterawstats uses the name of the conf file to create the live links within the report for "Pages-URL". so naming the conf file like these examples breaks these links:awstats.housing-main.confawstats.housing.example.edu-main.confand like this fails to update returning an error:awstats.housing.example.edu/main.confwhat is the best way to have multiple subdirectories, for one domain, using multiple conf files so that these links work properly?thanks! [Less]
Posted almost 16 years ago
by Oliver (Posted 14 Aug 2009 19:53)good idea. PHP 4 was declared dead in July 2007, 2 years ago...http://www.google.com/search?name=f&hl=en&q=php+4+end+of+life&sourceid=mozilla-search&start=0