I realized some mistake in vacation section.
When i post in mysql my vacation statu, the message was modified for the return line.
go to :
I rntest rna rnvacation rnmessage
it seem to be an error record in database.
Good journey :)
Hmm, there are \r\n characters added somewhere, I suspect they're partly to blame.
But my postfixadmin version & database is up to date with svn, so where i can correct this ?
Up ! :)
Please help me.
Where is the problem in edit-vacation ?
Thanks in advance.
I don't know... will try testing now...
I've tested vacation.pl from svn-trunk and it all works as expected. I'm confused as to what your problem is.
Thanks for your help.
I just do a new test, i delete edit-vacation.php, re-update with svn, go in user test, put vacation on, and juste refresh users/vacation.php, all the text is in a same line.
It's seem to be a wrong insert in database.
My config.inc.php used mysqli
My php version is : 5.2.6-3
My mySQL version is : 5.0.51a
Thanks for your help.
I test to delete users/vacation.php and reup from svn.
The problem continu...
But did you update vacation.pl ??
No, i did not update it, you think all vacations insert need now to be in a same line with \r\n ?
I need to change all (omg :x) ?
I m afraid to change vacation.pl to do that.
I m suprise by this problem, all work good 3 weeks ago.
Maybe something change in users/vacation.php to hack insert db.
Thanks for your help and time.
Sorry for my question but :
- I have updated all files, vacation.pl too, and my problem continu.
- db was update with upgrade.php
- I check all file edit-vacations.php, template, vacations.pl, functions.inc.php etc, but i did not find error.
- I test with a new user, old one, when a user push in db(mySQL with mysqli or mysql connections) vacation body, all returns were continue to replace by rn
I think something wrong from with last update file of edit-vaction.php and maybe functions.inc.php.
This error was appear when last update (5 weeks ago)
Thanks for you help
Found it: The vacation subject and message were passed to escape_string twice - once in users/vacation.php and once in model/VacationHandler.php.
Fixed in SVN r646 (by removing the superfluous escape_string in users/vacation.php) - thanks for pointing this out!
I m gonna be crasy :)
Good end of week end
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.