Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Manual Installation problems

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just installed JForum manually & noticed some inconsistencies between the documentation & the actual JForum package (2.1.7b3).

Going through the manual instructions (http://www.jforum.net/install_no_wizard.jsp):

Database Configuration

All OK.


Note for MySQL Users

. Regular installations will opt to use unicode and UTF-8 as character encoding, but, when using MySQL 4.1+, you shoudl avoid id. To do that, open the file mysql.properties and change the value of the keys "mysql.encoding" and "mysql.unicode" to empty (eg, mysql.unicode= ).


This infers that if I am using a version of MySQL prior to 4.1 (which I am) then I should NOT change the keys 'mysql.encoding' and 'mysql.unicode' to empty. However, they were already set to empty when I unzipped the package.


Creating the database tables

All OK.


Populating the Tables

All OK.


Renaming Files

Now, look for a file named new_rename.htm in the root directoy. If it exists, rename it to index.htm (delete the existing index.htm first).


It mentions what to do "If it exists" but what if it does not exist ? Am only asking because it certainly does not exist on my installation

In the end, I just opened the http://localhost/jforum/forums/list.page URL to check if it works or not.


Security Information and Considerations

if you're going to use the file attachments support, the directoy you'd chosen to store the files ("uploads" by default) should also be writable.


I think this directory has been renamed "upload" by default.



I have spent three hours trying to install this (tried the wizard first time and that failed for a variety of reasons) ~ and still I can only update values in the forum (no inserts as explained in an earlier post https://coderanch.com/t/577140 ). JForum looks like it could be a great product for the Java platform but still a way to go on the installation process to match PHP-based forum installs.

Thanks,

Heather



[originally posted on jforum.net by heatherfraser]
 
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
I noticed in another post that Rafael mentions to somebody using an older version of MySQL to:

"go to web-inf/config/database/mysql and copy all contents of the file mysql_323.sql over mysql.sql"

For a manual install using MySQL v4.0.20 can I therefore take it that I should be copying the contents of WEB-INF/config/database/mysql/mysql_40.sql to mysql.sql ???

If so, could I suggest that this is also added to the manual installation instructions? I've done this and my install seems to be working fine now.

I think my previous "SQL String can not be null" errors (thrown whenever an insert were attempted) were caused by setting "database.support.autokeys=false" in mysql.properties

Heather

[originally posted on jforum.net by heatherfraser]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic