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?
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.
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.
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.