Sign In  |  Cart  |  Join Now

Installing Concrete 5.3 with MAMP on OS X Leopard

April 10, 2009
Previously I'd tried using the OS X tutorial on the Concrete5 site to install Concrete5 on OS X Leopard using MAMP Pro. But I couldn't get it to install.

With Concrete 5.3 and MAMP however, I'm starting to get further - at least I'm getting specific PHP errors which I'm hoping someone here will help me understand and fix them.

After giving the concrete directory inside MAMP read/write access (as described in the tutorial) the setup screen loads but with an error: "You must chmod 755 concrete/libraries/3rdparty/htmldiff.py and disable PHP safe mode."

I've checked the php.ini file at: MAMP/conf/php5/php.ini and it clearly states that PHP safe mode is off.

If I follow the tutorial exactly, which doesn't say to chmodd the file (in the tutorial screen shot you can see the yellow exclamation icon) I get the following error after hitting install:

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /Applications/MAMP/htdocs/concrete/concrete/models/file_set.php on line 22"

Line 22 in the file_set.php file is:

public function getGlobal() {
$fs = new FileSet;
$fs->fsID = 0;
return $fs;
}

If I then start again (delete the concrete database and replace the concrete folder) and run chmod 755 on the htmldiff.py file, I get the following error after hitting install:

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /Applications/MAMP/htdocs/concrete/concrete/helpers/concrete/file.php on line 147"

Line 147 in the file_set.php file is:

public function unSerializeUploadFileExtensions($types){
//split by semi-colon
$types = preg_split('{;}',$types,null,PREG_SPLIT_NO_EMPTY);
$types = preg_replace(self::REGEX_INVALID_EXTENSION_CHARS,'',$types);
return $types;
}

I've tried this 3 times (each time deleting the database and starting again) but the exact same errors occur. Has anyone managed to get concrete5 up and running under OS X Leopard using MAMP?

Any help would be much appreciated.

Cheers

Used a different OS X Leopard machine

Apr 10, 2009 at 4:56 PM
Have tried installing on a completely different leopard machine to see if it was something on my machine but the same thing happens - except I get the first error twice (line 22 of file_set.php) not the second one.
 

Check your php.ini setting

Apr 10, 2009 at 4:58 PM
I've been using MAMP 1.7.2 on my MacBook Pro OS X 10.5.6.

And MAMP is my primarily test server for my Japanese translation, and they are all working fine.

I've attached my zip files containing PHP5 setting just in case.

php.ini is stored under /Application/MAMP/conf/php5/

*** If MAMP Pro Application is stored at the same location as MAMP free one.

I am not using MAMP pro. So I don't recommend to use my configuration file directly.

MAMP free version is working fine on Leopard
 

Thanks!

Apr 17, 2009 at 7:05 AM
The attachments did the trick in MAMP!

Thanks a lot!

Ruan
 

htmldiff.py is not a big deal

Apr 10, 2009 at 5:02 PM
For htmldiff.py issue, that's the file permission itself.

Just use chmod in terminal to change the target file stored under....

YOUR_MAMP_CONCRETE5_FOLDER/concrete/libraries/3rdparty

And it will work fine (you can check the versions of revisions like Wikipedia have)
 

Awesome!

Apr 10, 2009 at 5:13 PM
Your Apache and PHP5 settings files seemed to do the trick!

Thanks a lot for your help.

Cheers
 

Kinda the same problem...

Aug 19, 2009 at 7:02 AM
I too had the same issue.

I did everything you said, chmod'ing the files and used your 2 files (which looked identical) and still no cigar...

I ended up with the error attached.

Any help muchly appreciated, concrete 5 looks just what I am after!

B ;)
 

I have the same problem but with a different Fatal Error

Aug 20, 2009 at 6:57 PM
Same but different. The fatal error memory amount is different than the original poster and I have used the php.ini and httpd.config files uploaded here. Even changed the resource system memory amounts, but no go.

Running 10.5.8 OSX

Hope somebody will address this..very frustrating to say the least.

~chris
 

if all we're talking about is that python script

Aug 20, 2009 at 9:55 PM
kill it.. the compare versions thing is cute but hardly that useful.
 

Same problem with MAMP installation of concrete

Oct 26, 2009 at 3:16 AM
I tried installing concrete5.3.3.1 in Mamp but I get the error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /Applications/MAMP/htdocs/concrete5/concrete/blocks/content/controller.php on line 74

I also tried the files by katz515 but it didn't work, still got the same error, just a different line this time.

Any other ideas on this?
 

Solved my problem

Oct 26, 2009 at 3:32 AM
i just enabled Zend Optimizer and eAccelerator in the MAMP Preferences.

Not sure though if it is related in any way. But it worked for me.
 

re: Solved my problem

Feb 08, 2010 at 10:28 PM
Thanks for the info, enabling Zend Optimizer and eAccelerator in MAMP 1.7 did the trick for me as well.
 

re: Solved my problem

Feb 08, 2010 at 10:48 PM
It looks like you need to use my file, and enable ZendOptimizer.
 
 

Hot Spots...

ForumsPartners | Contact | Blog

Search site