Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

smilies fail to display

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is a small one , in the smiles section the url is wrong for the images so they sont display.

http://localhost:9090/"/JForum-2.1.2/images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad

looks like escaping is the wrong kind of slash

Mark
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works fine for me (2.1 worked also in 2.0.1).
I would first look in the Configuration panel for the Forum URL.
then I would look in root.properties or jforum-custom.conf
then I would look in SystemGlobals.properties

My 2 cents
[originally posted on jforum.net by pala]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First i should clarify , this is within the admin section , the section that allows you to setup the smilie's , smilies are fine elsewhere.

does that work for you also and are you running windows ?

looked in the SystemGlobals file and this line seems relevent

smilie.image.pattern=

looks like #CONTEXT# and #IMAGE# are giving wrong values as there is also no .gif at end of generated url.


Mark.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This happened since the first time you opened the smilies page in the admin? I tested here (windows machine) and it's working.
The value from SystemGlobals is parsed at runtime.

Which servelt container / jdk are you using?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tomcat 5.5.7 , JSE 5 (JDK1.5) win2k

this is near out of box tomcat install , only changed port's in server.xml
straight install of JForum 2.1.2

what system are you using . I have multiple jdk's / tomcat's so can switch easy.

also found more serious prob's with categories will make a new post .

maybe this is specific to tomcat/jdk ?



Mark.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, looks like hsqldb support to jforum is a piece of crap in version 2.1. I'm fixing the bugs and will release version 2.1.3 when i get them fixed.

Sorry for the inconvenience.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guess it's just luck someone put's it through all its paces the very day you release it

Thanks for the *very* quick response(s) ,

This seems like a very good program, very easy to install, very easy to configure.

look forward to 2.1.3.

Regards Mark.


[originally posted on jforum.net by MarkD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hehe. I released version 2.1.2 and you started to point the problems .

To is is very hard to test JForum for all databases. It requires a LOT of effort and time, and always there are some stuff which is forgotten.

You can get version 2.1.3 at http://prdownloads.sourceforge.net/jforum/JForum-2.1.3.zip?download.

It has some other minor fixes not listed here in the forum

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow quick

I'll see what else i can break

Mark
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I fixed the smilies thing. The fixed code is in the CVS. About the delete message, I can't reproduce the bug in the current cvs version. I have refactored the code some days ago, so it's probably that the bug you're getting was fixed.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm thinking this is related to this bug.

Using HSQLDB here, most everything works, but I've noticed two things:

Firstly, when I click on More smilies when creating a new post, the image tags in the window are broken, they are formatted as follows:



It seems that the problem would be the escape sequences.

As well, and more seriously, when trying to delete a post, I get a java.lang.reflect.InvocationTargetException, and the post will not delete. I've poked around at the source code, but I can't find what's wrong. :?

The following is the stack trace I get:



I hope this is helpful

-Colin
[originally posted on jforum.net by Colin Walsh]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wooops.. it sure does. I'll fix it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just grabbed the latest code from CVS and tried running it. Seems like both problems are fixed.

Thanks for the quick response, Rafael

-Colin
[originally posted on jforum.net by Colin Walsh]
 
    Bookmark Topic Watch Topic
  • New Topic