I just spent the last few days trying to troubleshoot my aMember 3.1.8 Trial (Ioncube Loader) on a Mac running OS 10.6.2 using the OS X built-in install of PHP (5.3.0). The install of aMember went OK (a few 'magic_quotes' warnings, but no errors). After install however loading the site resulted in nothing but a blank page. No errors in the error log, just a blank page. I quickly realized it was probably an issue with the version of the Ioncube Loader Dynamic Libraries. You need to make sure to get the PHP 5.3 compatible versions here: http://www.ioncube.com/loaders.php. I used the OS X (x86-64) ones as I have a current model Intel Macbook Pro. I tried simply adding the 5.3 versions from the download to my 'ioncube' directory in my install, but this didn't work. I realized that possibly OS X wasn't dynamically loading the library, this despite the fact the I had 'enable_dl = On' set in my PHP ini (If anyone knows why this doesn't work, let me know). The solution then was to load the extension in the php.ini. I had to add this line to the 'Dynamic Extensions' section: Code: zend_extension= /[your path here]/ioncube_loader_dar_5.3.so Once I did that and restarted Apache it was almost working. Now I just had a PHP 'WARNING' and 'NOTICE' Code: Notice: Use of undefined constant E_DEPRICATED - assumed 'E_DEPRICATED' in /[path]/config.inc.php on line 19 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /[path]/config.inc.php:19) in /[path]/common.inc.php on line 1789 WARNING: Cannot modify header information - headers already sent by (output started at /[path]/config.inc.php:19) in line 1633 of file common.inc.php Simply adding single quotes around the E_DEPRICATED in line 19 of the config.inc.php file resolved this. UPDATE Looks like these secondary errors were caused by me when I was troubleshooting. I had switched the commenting on the 'error_reporting' lines at the top of the config.inc.php file. By default it was set to: Code: error_reporting(E_ALL ^ (E_NOTICE | 8192)); //E_DEPRICATED since PHP 5.3.0 only This avoided the notice and warnings. I did have the following 'deprecated' error on several files: Code: Deprecated: Function set_magic_quotes_runtime() is deprecated in /Users/phylaxis/Sites/maccastmember/common.inc.php on line 24 Simply commenting out the referenced lines corrects the error. This took me some time to figure out so hopefully this helps anyone else encountering these issues.
I may have spoke too soon. Now I am getting a fatal error on several pages: Code: Fatal error: [] operator not supported for strings in /[root path]/smarty/Smarty_Compiler.class.php on line 298 Going to possible try re-installing aMember with the Ioncube library fix installed before I run the installation.