Support Forums

Local installation with MAMP

This is a discussion on Local installation with MAMP within the Installation Problems forums, part of the Technical Support Forums category; Hi guys, New customer here - great product! Small problem! Trying to install on my local machine and keep getting ...


Go Back   68 Classifieds Forums > Technical Support Forums > Installation Problems

Reply
 
Thread Tools Display Modes
Old 05-14-2010, 09:15 AM   #1
Customer
 
Join Date: Mar 2010
Posts: 8
Rep Power: 0
Yelp is on a distinguished road
Default Local installation with MAMP

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)
Yelp is offline   Reply With Quote
Old 05-14-2010, 09:39 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,347
Rep Power: 133
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

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.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 05-14-2010, 11:10 AM   #3
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,071
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

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 Code:
[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.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-14-2010, 12:02 PM   #4
Customer
 
Join Date: Mar 2010
Posts: 8
Rep Power: 0
Yelp is on a distinguished road
Default

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!
Yelp is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run 68Classifieds local with XAMPP bluerate Pre Sales Questions 7 08-03-2009 11:18 AM
Run 2nd copy 68C on local machine.... RandyB Technical Support 3 11-25-2008 03:24 PM
Local Radio Spot louad Site Marketing 5 10-01-2007 06:37 PM


All times are GMT -4. The time now is 06:21 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0