![]() ![]() |
Wednesday, 10. July 2002
hjh,
July 10, 2002 at 9:16:05 PM CEST
where is getLasterror() defined? I just cvs'ed antville and built antclick for my home machine. When I try to get referrers eg 127.0.0.1:8080 I get the following. [HopMacro error: helma.scripting.ScriptingException: Runtime error The function 'getLasterror' is not defined for object '[Database: 'org.gjt.mm.mysql.Driver - connected]' detected at line 564 of function 'listReferrers_macro' in file: 'C:\depot\hop\helma\dist\antclick- 1.0pre1\apps\antville\site\macros.js'] grep says ./antville/site/macros.js:564: var dbError = c.getLasterror(); ./antville/site/macros.js:572: var dbError = c.getLasterror(); If I comment out a few lines around dbError check, referrers are returned. getLasterror() doesn't seem to be defined anywhere in antville code. Is it defined somewhere else eg Java or the mysql driver? thanks, -jay PS is this kind of question appropriate for this blog? Or should it go to the mailing list?
tobi,
July 10, 2002 at 2:19:08 PM CEST
"this" in macros shouldn't we avoid using "this" in skin macros by default wherever possible? i think reading a macro like <% story.title %> is much easier to comprehend esp. for beginners than <% this.title %>, isn't it? |
![]() |
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8645 Days
last updated: 1/4/11, 10:22 AM ![]() ![]() ![]() Youre not logged in ... Login
![]() ![]() ![]() ... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home ![]() ![]() ![]() ![]()
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
![]() |