Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Totally confused by the solution of file upload problem

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

I setup the JForum 2.1.6 and file upload problem occured. I found 3 solutions from this forum:

1. build the source from CVS.
I checked out JFrom CVS from my netbean IDE and compile it as a project and then replace the "net" directory(which is under the WEB-INF/classes) of the distribution version of JForum. But I got the errors in the installation:
------------------------------------------------------------------------
Expression dateTimeFormat is undefined on line 2, column 29 in default/header.htm. The problematic instruction: ---------- ==> setting datetime_format set to "dateTimeFormat" [on line 2, column 1 in default/header.htm] [on line 2, column 1 in default/header.htm] in include "header.htm" [on line 1, column 1 in default/message.htm] in include
------------------------------------------------------------------------
2. download three class files (seemed like some Action*.class )from this forum and override the old ones.
I did it but it did not work.
3. just make a "tmp" directory under the tomcat/webapp/jforum (the deploy directory).
I did it and it worked.
I was totally confused about that. which solution is the CORRECT AND
FORMAL solution. If I used 3, must I backup the tmp directory with the
database also at the same time??
Who can help? Thanks in advanced.
[originally posted on jforum.net by alartin]
 
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
In fact, the "tmp" directory is the easy one, and will work just fine.

You don't have to backup the directory.

Rafael
[originally posted on jforum.net by Rafael Steil]
reply
    Bookmark Topic Watch Topic
  • New Topic