• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Error when looking at messages in profile...

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to:

http://www.jforum.net/user/profile/1981.page

Click:

[31] Messages posted by MyJForum

Get this error:

An error has occurred.

For detailed error information, please see the HTML source code, and contact the forum Administrator.

Expression karmaMin is undefined on line 20, column 32 in default/js/karma.js.

[originally posted on jforum.net by MyJForum]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fixed, thanks.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still got the error now.

An error has occurred.

For detailed error information, please see the HTML source code, and contact the forum Administrator.

Encountered "}" at line 39, column 73.
Was expecting one of:
".." ...
"=" ...
"==" ...
"!=" ...
LESS_THAN ...
LESS_THAN_EQUALS ...
ESCAPED_GT ...
ESCAPED_GTE ...
"," ...
")" ...
"" ...
"=" ...
"." ...
"[" ...
"(" ...
"?" ...
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
AND ...
OR ...


[originally posted on jforum.net by andowson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fixed, thanks.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Rafael,
but what was the fix?
It seems to me that one of the problem is the missing:
<script type="text/javascript" src="${contextPath}/templates/${templateName}/js/minmax.js">
that you put in the last version of post_show.htm
That fix is necessary to solve:
==> ${karmaMin} [on line 20, column 30 in IOL/js/karma.js]
in include "js/karma.js" [on line 11, column 1 in IOL/user_posts_show.htm]
But I cant find the minimax.js anywhere...

PS - Ol�, estou a adaptar o jforum para um grande portal portugu�s http://www.iol.pt ligado ao segundo grupo de media nacional: televis�o, r�dios, etc.
Quando estiver p�blico, aviso. Por agora j� refiz toda a parte de autentica��o para ligar ao nosso LDAP e usar nicknames, etc
Bom trabalho.

[originally posted on jforum.net by lazarus]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello again.
No news about the missing /js/minmax.js?
Thanks,

[originally posted on jforum.net by lazarus]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
${karmaMin} was a fix made on some .java files, not in the templates. The error reported by andowson was a typo.

Forget about minmax.js .. it shouldn't be there. I removed from cvs.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
I solve it too with the src files from CVS.
[originally posted on jforum.net by lazarus]
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic