Page 1 of 1

Installation on MAC failed... help please.

Posted: Thu Nov 27, 2008 5:19 pm
by guitresan
Good morning every body.

Here at the officce, we have a couple of months using CMSMS on Windows with no problem at all. Everything works perfect.

This mornig we try to make a clean install over a MacBook (Leopard 10.5.5, 2.2 Ghz Intel Core 2 Duo, 2 Gb ram, Apache 2.2.6, PHP 5.2.4, MySQL 5.0.67) and found a lot of problems during the installation process.

This the first page (step 1) of the installation (I tried to put de errors between color=red tags):

Code: Select all

[color=red]string(116) "Smarty error: [in header.tpl line 25]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)"[/color]CMS
Install System
Thanks for installing CMS Made Simple
1.4.1 (Spring Garden)
Step 	Step 	Step 	Step 	Step 	Step

[color=red]string(114) "Smarty error: [in page1.tpl line 19]: syntax error: unrecognized tag 'cycle' (Smarty_Compiler.class.php, line 590)" string(114) "Smarty error: [in page1.tpl line 52]: syntax error: unrecognized tag 'cycle' (Smarty_Compiler.class.php, line 590)" string(114) "Smarty error: [in page1.tpl line 95]: syntax error: unrecognized tag 'cycle' (Smarty_Compiler.class.php, line 590)"[/color]

Please read the Installation Troubleshooting page in the CMS Made Simple Documentation Wiki.
Checking permissions and PHP settings
System Information
Server Software 	Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.6
Server API 	apache2handler
Server Operating System 	Darwin 9.5.0 On i386
Required settings
Test 	Result
You have 5.2.6 Checking for PHP version 4.3.0+
(minimum 4.3.0, recommend 5.0.4 or greater) 	Success
You have On Checking for md5 Function 	Success
You have On Checking for tokenizer functions 	Success
Checking for GD library

[color=red]GD library are mandatory for some modules and functionality.
	Failure[/color]You have Off Checking write permission on /Library/WebServer/Documents/cmsms/config.php

[color=red]This file may not exist yet. If it does not, you should create an empty file with this name. Please also ensure that this file writable by the web server process.
	Failure[/color]Checking if the httpd process can create a file inside of a directory it created. 	Success
Recommended settings
Test 	Result
You have 128M Checking PHP memory limit
(minimum 16M, recommend 24M or greater) 	Success
You have 30 Checking PHP time limit in second
(minimum 30, recommend 60 or greater)

Number of seconds a script is allowed to run. If this is reached, the script returns a fatal error.
	Caution
You have Off Checking for safe mode 	Success
Check for PHP Open Basedir 	Success
Test for remote URL

Outgoing http connections do not appear to work. This will result in module manager, and potentially other functionality failing.

[color=red]You will probably not be able to open a file on a remote web server.
	Failure[/color]You have On Checking file uploads 	Success
You have 8M Checking max post size
(minimum 2M, recommend 10M or greater)

You will probably not be able to submit (larger) data. Please be aware of this restriction.
	Caution
You have 2M Checking max upload file size
(minimum 2M, recommend 10M or greater)

You will probably not be able to upload (larger) files using the included file management functions. Please be aware of this restriction.
	Caution
You have /Library/WebServer/Documents/cmsms/uploads Checking if /Library/WebServer/Documents/cmsms/uploads is writable

[color=red]No permission to write in directory. This could be caused by file permissions and ownership. Safe mode may also be in effect. (/Library/WebServer/Documents/cmsms/uploads)[/color]

The uploads folder is not writable. You can still install the system, but you will not be able to upload files via the Admin Panel.
	Failure
You have /Library/WebServer/Documents/cmsms/uploads/images Checking if /Library/WebServer/Documents/cmsms/uploads/images is writable

[color=red]No permission to write in directory. This could be caused by file permissions and ownership. Safe mode may also be in effect. (/Library/WebServer/Documents/cmsms/uploads/images)[/color]
The images folder is not writable. You can still install the system, but you will not be able to upload and use images via the Admin Panel.
	Failure
You have /Library/WebServer/Documents/cmsms/modules Checking if /Library/WebServer/Documents/cmsms/modules is writable

[color=red]No permission to write in directory. This could be caused by file permissions and ownership. Safe mode may also be in effect. (/Library/WebServer/Documents/cmsms/modules)[/color]
The modules folder is not writable. You can still install the system, but you will not be able to upload modules via the Admin Panel.
	Failure
Checking if session.save_path is writable

Your session.save_path is empty. PHP will use the temporary directory of your OS. If you have SESSION problems and ini_set works you can try to enable session cookies adding: ini_set('session.use_only_cookies', 1); to top of include.php
	Caution
You have On Checking for basic XML (expat) support 	Success
You have On Checking for file_get_contents 	Success
You have On Checking if ini_set works 	Success
Legend
Symbol 	Definition
	A required test passed
	A required test failed
	A setting is below a required minimum value
	A setting is above the required value, but below the recommended value
or... A capability that may be required for some optional functionality is unavailable
	A setting meets or exceeds the recommended threshhold
or... A capability that may be required for some optional functionality is available
One or more tests have failed. Please correct the problem and click the button below to recheck. 
... I will fix by myself the last three errors, those about "write permissions"... but can anyone help me with the first ones (GD Library and Test for remote URL)? what about "smarty" errors?

Thank you all for any advice. 

Re: Installation on MAC failed... help please.

Posted: Thu Nov 27, 2008 6:39 pm
by guitresan
Well, I think I found the solution for all the errors except one: the DG Library.

Reading some blogs I found tha Leopard 10.5.5 doesn't have the DG Library preinstalled, so you need to compile it or reinstall PHP using the Entropy's PHP5 package.

http://macoshelp.blogspot.com/2008/02/adding-gd-library-for-mac-os-x-leopard.html

I hope this can help anybody.

See you!!!

Re: Installation on MAC failed... help please.

Posted: Thu Nov 27, 2008 6:45 pm
by alby
guitresan wrote: Reading some blogs I found tha Leopard 10.5.5 doesn't have the DG Library preinstalled, so you need to compile it or reinstall PHP using the Entropy's PHP5 package.
Someone use MAMP pack also

Alby