Hi Richard, Your final suggestion for changing the code to get it working on PHP5.2 will work well for us.
Just to make sure I don't do the wrong thing, can you send me a link with the specific code changes that need to be made please and the file name I need to make them to? Thanks very much - I appreciate the assistance, Anthony On 16/05/2011, at 7:39 AM, Richard Mansfield wrote: >> From bug #722475: > > - Bug 722470 is a result of our version of PHP. To fix this we will need > to go to PHP 5.3 as there is no other fix. Is that correct? > > Anthony, I don't think we're 100% sure about the cause of the problem. > Hugh's saying that it's likely due to your OS having a different > strptime implementation to the one we're used to. > > Simply moving to PHP 5.3 won't help, because the code on that page is > still using the strptime function. So one way to fix the problem would > be to make PHP 5.3 a requirement for Mahara, and then rewrite the page > to use date_parse_from_format() instead of strptime(). > > Another way to fix it on PHP 5.2 (hinted at in bug #564001) would be to > modify your code to use the workaround strptime function that's included > in view/access.php (it's included there for Windows users who don't have > strptime at all). > > -- > You received this bug notification because you are a direct subscriber > of the bug. > https://bugs.launchpad.net/bugs/722470 > > Title: > From/To Date Validation not working for VIEWS > > Status in Mahara ePortfolio: > Incomplete > > Bug description: > Mahara: 1.3.3 > SunOS java 5.11 > PHP 5.2.6 > MySQL > Chrome 9.0.597.102, Mozilla 3.6.13, Safari 5.0.3 > > When you go to EDIT ACCESS for a particular View and add any of the > following: > - Public > - Logged In Users > - Friends > - Secret URL > - A particular individual > > AND include a FROM and TO Date where the FROM date IS before the TO > Date and the TO Date is in the future, you receive an error message: > "The stop date cannot be in the past" which is clearly not correct. > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/mahara/+bug/722470/+subscribe -- You received this bug notification because you are a member of Mahara Committers, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/722470 Title: From/To Date Validation not working for VIEWS Status in Mahara ePortfolio: Incomplete Bug description: Mahara: 1.3.3 SunOS java 5.11 PHP 5.2.6 MySQL Chrome 9.0.597.102, Mozilla 3.6.13, Safari 5.0.3 When you go to EDIT ACCESS for a particular View and add any of the following: - Public - Logged In Users - Friends - Secret URL - A particular individual AND include a FROM and TO Date where the FROM date IS before the TO Date and the TO Date is in the future, you receive an error message: "The stop date cannot be in the past" which is clearly not correct. _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

