This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

stats.mod

Old posts that have not been replied to for several years.
Locked
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

stats.mod

Post by Turambar »

Hi I'm having a problem with thw writing of the stats html files. I can't use the liveupdate thing so I need to use the other method.

when I manually .writewebstats I alway get an error:

[17:42:56] (StatBot): [17:43] Writing static webfiles to ~...
[17:42:58] (StatBot): [17:43] ERROR writing webfiles! (~/index.html)


I used ~ as dir just as a test. I can't figure out what the problem is

Thx for the help
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

did no one have this problem yet?
pff I really have no idea what causes this. The read/write permissions are of course correctly set.

I'd really appreciate some help
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

I think most people use livestats. How come you don't?
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

It just for testing purposes. And I don't know yet if I get a free port. Anyway that's not the point.
I just don't understand where the problem is...
User avatar
CrazyCat
Revered One
Posts: 1255
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

just try to replace ~ with the full absolute path...
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

hmm i can't believe it, that was really the only problem. Why is that so, normally there shoulnd't be a problem with ~
strange thing

anyway thx :)

too easy to get that idea myself lol
User avatar
CrazyCat
Revered One
Posts: 1255
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

well, it's a small bug I know for a while :)
eggdrops don't know home directory, the only relative directory they know is ./ wich means /the/directory/where/is/the/executable/
And imho, it's better like this, so you can avoid troubles with setting a variable like:

Code: Select all

set home "/home/owner/eggdrop/"
Peharps the ~ is a special char in C or TCL... but something is sure: really depreciated in TCLs :)
Locked