![]() |
CodeExtinguisher 2.0 Release Candidate 14.2 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: CodeExtinguisher 2.0 Release Candidate 14.2 (/showthread.php?tid=8451) |
CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [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. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [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". CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [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 CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-02-2008 [eluser]daulex[/eluser] this is weird: I drop a fresh codeigniter into a folder, drop a fresh codex into the folder, run the installer, click the final yes, and backend.php starts crying ![]() check this out: Code: A PHP Error was encountered and yes, 100% fresh install. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [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? CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [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... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [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 "/"... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [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. CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [eluser]abmcr[/eluser] no datetime..... it must be date: see the sql file attached to the zip file Code: ... CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008 [eluser]daulex[/eluser] ok, this is funny, after a default install, go into the related example, post anything and boom: Code: <select name="view_mode"> help me oh wise ones ![]() |