Hi guys, New customer here - great product! Small problem! Trying to install on my local machine and keep getting the following error when trying to access the admin area : Site error: the file /Applications/MAMP/htdocs/zone/administration/includes/init.php requires the ionCube PHP Loader ioncube_loader_dar_5.2.so to be installed by the site administrator. The front end works just fine, its just throws the error when you go to the administration. I've read through the other posts relating to this issue, and tried the fixes suggested there - adding zend_extension=/Applications/MAMP/htdocs/zone/ioncube/ioncube_loader_dar_5.2.so to the php.ini file, installing the latest ioncube files - all to no avail. I'm now about ready to tear my hair out! Any help would be appreciated! MAMP PHP Version 5.2.6 68 Classifieds Developer V 4.1.10 Mac OS X 10.5.8 Ioncube Loaders OS X (x86)
Couple things, make sure you actually have the file ioncube_loader_dar_5.2.so because its not shipped with 68C 4.1.10 as far as I know and next, when you add the line to php.ini, make sure the path is correct and points to the file.
MAMP does indeed already come with Zend optimizer as well as all of the extensions. You should have in your Mamp folder a folder called, "ioncube" which is where all of the loaders are including the version that you specified. This should be on by default when you installed MAMP, however if not then ensure that your php.ini file is modified to correct it. Also bear in mind that MAMP comes with both php4 and php5 and needless to say, they both have their own php.ini file. The [ZEND] configuration should be at the very bottom of this file. This is how mine reads for php5: PHP: [Zend] zend_optimizer.optimization_level=15 zend_extension_manager.optimizer=/Applications/MAMP/bin/php5/zend/lib/Optimizer-3.2.2 zend_optimizer.version=3.2.2 zend_extension=/Applications/MAMP/ioncube/ioncube_loader_dar_5.2.so zend_extension=/Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so I believe I'm using a slightly older version of Mamp then you are, so versions of things may be different in yours like the Optimizer.
Thanks for your prompt replies and all your help guys! Problem sorted! I added the ioncube_loader_dar_5.2.so into the MAMP/bin/php5/zend/lib/ folder and edited the php.ini to reflect that, and Bob - as they say - was indeed my fathers brother! Thanks again - you've saved me from going bald!