Hi, I just installed my app on an older machine running os leopard with php 5.3.5. Using mamp 1.9
my problem is when using fRequest::get('somevalue'); it always returns null?
$validator = new fValidation();
$validator->addRequiredFields('username', 'password');
$validator->validate();
if (!$admin = User::find(fRequest::get('username'), 'username')) {
throw new Exception('Invalid Admin and/or Password. Please try again.');
}
But it never passes validate because post values are null. But when I print_r($_POST); the values are there correctly. any idea why? i narrowed it down to the static function cast in fRequest.php
I think it has something to do with fUTF8::clean iconv.
okay i figured it out after looking in fUTF8::iconv . I saw the comments that theres a problem with MAMP 1.9.4 and i am using 1.9.6 though?