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

[I lost my password] encoding error

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When me, or any other (test) users try to request a password I, and they, had back the error still using e-mail or nickname or both:


I still looked the post where this problem comes up (the search engine works good ;P) but I can't solve this matter.
[originally posted on jforum.net by 0m4r]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this jforum 2.0.2 with mysql 4.1? then take a look at https://coderanch.com/t/574688

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

Rafael Steil wrote:Is this jforum 2.0.2 with mysql 4.1? then take a look at https://coderanch.com/t/574688

Rafael



still not working.
I've tried to modify the string in mysql.properties and alter the jforum database with

but no result was obtained.
[originally posted on jforum.net by 0m4r]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it is not working because jforum looks for configuration options in three files:

SystemGlobals.properties
mysql.properties
<username>.conf

in this order. So, if you only changed mysql.properties, but the changed key is also into <username>.conf, you should change this file as well.

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

Rafael Steil wrote:



great this works nice!!
why this kind of redundancy of information? I think that it need more consistencies checks that will drive the development process to be more difficult...
[originally posted on jforum.net by 0m4r]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just the opposite. SystemGlobals.properties is the main configuration file, but it does not have settings for the database, which are in the files <dbname>.properties. The file <username>.conf, which in JForum 2.1 should be only jforum-custom.conf, is used to store settings of each developer. As this file is not sync with the CVS, you can put in there usernames and passwords without being afraid to get them commited to all other users.

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
Oh, nice answer.
Seeing it in this way sound better. Thanks again to clear my doubts!
[originally posted on jforum.net by 0m4r]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just updating this same issue. Rafael, is there a way to customize the password recovery email which is automated? It currently says " [JForum] - Password recovery" I can't seem to find where to update it. Please advise.
[originally posted on jforum.net by Didas]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just edit WEB-INF/config/SystemGlobals.properties. Search for "mail" there and you'll find the keys.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic