Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Missing link prefix

Reply to Post Add a New Topic
UserPost

10:22 pm
September 4, 2011


Paul Weston

Guest

Hi,

I've been using AWStats for years without problems. Since moving my site to a new server and downloading and installing the latest version of AWStats, something isn't configured correctly. It's got to be simple, but I've been staring at it for hours.

The links in the static files (XML) no longer have the 'awstats.' prefix:

  mydomain.co.uk.1109.allhosts.xml, instead of:

  awstats.mydomain.co.uk.1109.allhost.xml

This is the build statement (from a .bat) – broken up to make it eassier to read.

awstats_buildstaticpages.pl" -awstatsprog="awstats.pl"

-builddate=%ThisYear%%ThisMonth% -month=%ThisMonth% -year=%FullYear%

-update -config=mydomain.co.uk

-output

-staticlinks

-dir="C:PathTomydomain.co.ukstats"

Has their been a change to AWStats that might cause this?

Any ideas?

Thanks in advance.

Paul

10:34 am
September 6, 2011


Paul Weston

Guest

I went over to the forum at sourceforge and it seems that others have faced the same issue, but without receiving a solution. The exception is in this post, where the user suggests a fix by modifying the awstats_buildstaticpages.pl file.

I don't like to modify source files if I can avoid it. What do you think? Is it the only way? I was hoping it was a configuration issue.

Paul

2:38 pm
September 6, 2011


Jean-Luc

Admin

posts 1125

Hi Paul,

I am afraid that this cannot be solved with a change in configuration.

This has to be reported as a bug to the AWStats development team. I noticed that the problem is present only when you use the -builddate  option. I would suggest not to use -builddate  when possible.

I suspect that the real source of the problem is located in awstats.pl , not in awstats_buildstaticpages.pl .

4:56 pm
September 6, 2011


Paul Weston

Guest

Hi Jean-Luc,

Thanks for your reply.

Has it been reported, or should I do it? The issue has cropped up a few times in the sourceforge forum already.

Everything was going so well before this and I can't remove the -buildate option without a lot of additional work.

Do you know in which release the bug was introduced? Is it possible still to get the build immediately before that release?

Thanks again,

Paul

5:22 pm
September 6, 2011


Jean-Luc

Admin

posts 1125

I compared the results between AWStats 7.0 and 6.9. The links are valid in 6.9. I did not try 6.95. I guess that the bug was introduced in 7.0.

I haven't reported the bug yet. So it would be good you report it in the Sourceforge AWStats bugs tracker. Thanks.

You can still find the older releases in the AWStats download page.

6:39 pm
September 6, 2011


Paul Weston

Guest

Thanks,

I did a quick search and someone reported it back in May (ID: 3303027).

They also say in the bug report that the problem wasn't there in 6.95, so I've reverted to that and the problem's disappeared.

Thanks for your help.

Paul

10:37 am
February 25, 2013


Laurent

Guest

I have the same problème but i found this in "tools/awstats_buildstaticpages.pl" line 483

my $smallcommand="\"$Awstats\" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"").($DatabaseBreak?" -databasebreak=$DatabaseBreak":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=$OutputSuffix":"");

I juste add 'awstat.' before $OutputSuffix

my $smallcommand="\"$Awstats\" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"").($DatabaseBreak?" -databasebreak=$DatabaseBreak":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=awstats.$OutputSuffix":"");

Reply to Post

Reply to Topic:
Missing link prefix

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)