Hi there,
when saving settings (Admin panel -> Administration -> Konfiguration) for a fresh 0.9 stable installation (no need to change settings actutally) the database connection settings in file serendipity_config_local.inc.php get messed up.
I'm currently dealing with two installations where after saving the db connection password reads 'john'. It took my 10 hours to figure it out...
Please fix, thanks.
S9Y overwriting DB settings when saving config
-
- Regular
- Posts: 13
- Joined: Sat Jan 22, 2005 7:34 pm
- Contact:
S9Y overwriting DB settings when saving config
Last edited by ReneSchmidt on Tue Nov 15, 2005 8:48 pm, edited 1 time in total.
NO BLOG
http://log.reneschmidt.de
http://log.reneschmidt.de
Re: Bugbugbug
This is a bug in your browser. It can happen when your browser does not properly restore INPUT elements, but displays them with previous contents.
The firefox browser is known to cause these oddities, especiall if you are using Form extensions like SaveForm.
Thus, there is nothing we can fix in Serendipity. When your browser sends a password for a field, Serendipity must think that you know what you are sending.
( Hint: use descriptive titles for your posting! )
Regards,
Garvin
The firefox browser is known to cause these oddities, especiall if you are using Form extensions like SaveForm.
Thus, there is nothing we can fix in Serendipity. When your browser sends a password for a field, Serendipity must think that you know what you are sending.
( Hint: use descriptive titles for your posting! )
Regards,
Garvin
-
- Regular
- Posts: 13
- Joined: Sat Jan 22, 2005 7:34 pm
- Contact:
Re: Bugbugbug
Hi Garvin,Anonymous wrote:This is a bug in your browser. It can happen when your browser does not properly restore INPUT elements, but displays them with previous contents.
The firefox browser is known to cause these oddities, especiall if you are using Form extensions like SaveForm.
I don't use SaveForm. Firefox did not preset input fields with previously saved data. In fact, the DB password form field is completely empty as it should be. Yet S9Y does overwrite the db password with 'john' (doe?).
I will have a look into it tomorrow.
Rene
PS: phpOpenTracker plugin v1.3 is under way...
NO BLOG
http://log.reneschmidt.de
http://log.reneschmidt.de
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Bugbugbug
Please install the LiveHTTP Headers extension to see, what your Firefox is doing exactly.
But s9y should only put the data in, which your browser submits. Some buggy firefox versions submitted forms twice, I've already seen that happen...
Best regards,
Garvin
But s9y should only put the data in, which your browser submits. Some buggy firefox versions submitted forms twice, I've already seen that happen...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
You are right... This is definitely Browser-dependent. The error occurs with Firefox 1.5RC2 also. The odd thing is in my own S9Y 0.9 installation using the same PHP version the error does NOT occur... Strange.
Well OK... a 'chmod 0440 serendipity_config_local.inc.php' must do it for the time being.
Rene
Well OK... a 'chmod 0440 serendipity_config_local.inc.php' must do it for the time being.
Rene