Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

fCORE OS issue

posted by darren 8 years ago

Hi Will,

Theres a problem with fCORE in checking for OSES which in turn fails my use of fEMAIL.

Fatal error: Uncaught exception 'fEnvironmentException' with message 'Unable to determine the current OS' in /PATH/php/flourish/fCore.php:439 Stack trace: #0 /PATH/php/flourish/fEmail.php(1191): fCore::checkOS('windows') #1 /PATH/daily.php(40): fEmail->send() #2 {main} thrown in /PATH/php/flourish/fCore.php on line 439

The server we are using is AIX so you would need to either add that to the list of have a generic catch for those not in the list which defaults to PHP mail?

Thanks,

Darren

I'd be happy to add support for AIX, I just need you to provide a little information since I don't have access to an AIX machine to test.

  1. Is there a program hostname and if so, does it have a flag --fqdn?
  2. Does AIX use /etc/resolv.conf and have a line domain example.com?
  3. Does AIX have the whereis command, and if so, does it have the -b flag?
  4. Can you paste the output of uname -s?
  5. Does AIX have the file /dev/urandom?

Thanks for your help!

posted by wbond 8 years ago

Hi,

Heres the info.

  1. hostname YES, flag NO
  2. YES and YES
  3. YES, YES -b "Searches for binary sections of a file."
  4. uname -s = AIX
  5. YES

Thanks

posted by darren 8 years ago

r960 should have fixed the issue with fCore not detecting AIX. You can grab it from the download page.

posted by wbond 8 years ago

Thanks heaps Will seems to work perfectly

posted by darren 8 years ago