[eluser]Donald Hughes[/eluser]
Figured it out. Same bug I reported for rc13 regarding date.php (I just forgot about it):
The month and day values should be wrapped with intval() to prevent days and months with a leading 0 (as in 05) from being treated as octal values. I added the intval() to my local copy of ‘date.php’ and the errors went away.
[eluser]Donald Hughes[/eluser]
Unfortunately, I'm still having my original problem where trying to edit the record just seems to revert to adding a new record.
The system seems to create the proper url: "/backend.php/news/manage/edit/3" (where 3 is the correct id), but the displayed form is blank and is titled "Add a new item".
[eluser]Donald Hughes[/eluser]
More info:
In the iterate function of codexforms.php, I get the following error for each of my fields if I try to echo out $param_array[$field]:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: start_date
Filename: libraries/codexforms.php
Line Number: 234
[eluser]abmcr[/eluser]
daulex: are you try with the latest version? are you under a XAMPP local machine? If yes try with VertrigoServer.
Donald Hughes: the field in the database is formated as date?
[eluser]daulex[/eluser]
abmcr, I did the same on my server and it seems to be fine, I wonder why xampp doesn't like it...
[eluser]abmcr[/eluser]
[quote author="daulex" date="1212502819"]abmcr, I did the same on my server and it seems to be fine, I wonder why xampp doesn't like it...[/quote]
I think there is a problem with "\" and "/"...
[eluser]Donald Hughes[/eluser]
[quote author="abmcr" date="1212491630"]
Donald Hughes: the field in the database is formated as date?[/quote]
Yes, it's a mysql datetime field. I'm just saving the datepicker's value.