Re: How to install CakePHP 2.x on OS X 10.8?

2013-03-05 Thread Andras Kende
try these :

change /etc/php.ini date.timezone to:
date.timezone = 'America/Chicago'


make tmp folder writeable:
sudo chmod -R 777 /Library/WebServer/Documents/cake2/app/tmp/



also all you setup issues is listed here: 
http://book.cakephp.org/2.0/en/installation.html



Andras Kende
http://www.kende.com

On Mar 5, 2013, at 1:55 PM, BoiceNet  wrote:

> I'm new to CakePHP and am trying to configure my MacBook Pro running OS X 
> 10.8 as a developer machine. I already have Apache, MySQL, PHP 5.x installed 
> and they all work fine. I'm unable to get CakePHP to work and cannot find any 
> instructions that work for my situation - did watch a couple of videos and 
> looked into the documentation. 
> 
> Can anyone provide me some assistance with this task? I have the latest 
> version of all software running and have unzipped the CakePHP download. I did 
> copy the Cake folders into the root of my web server. I receive the following 
> error when I go to the folder on my localhost using Firefox. I'm sure I'm 
> missing something important for this configuration.
> 
> Thank you.
> 
> 
> 
> Warning: strtotime() [function.strtotime]: It is not safe to rely on the 
> system's timezone settings. You are *required* to use the date.timezone 
> setting or the date_default_timezone_set() function. In case you used any of 
> those methods and you are still getting this warning, you most likely 
> misspelled the timezone identifier. We selected 'America/Chicago' for 
> 'CST/-6.0/no DST' instead in 
> /Library/WebServer/Documents/cake2/lib/Cake/Cache/CacheEngine.php on line 60
> 
> Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache 
> in /Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php on line 310
> 
> Warning: /Library/WebServer/Documents/cake2/app/tmp/cache/persistent/ is not 
> writable in 
> /Library/WebServer/Documents/cake2/lib/Cake/Cache/Engine/FileEngine.php on 
> line 337
> 
> Fatal error: Uncaught exception 'CacheException' with message 'Cache engine 
> _cake_core_ is not properly configured.' in 
> /Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php:166 Stack trace: 
> #0 /Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php(136): 
> Cache::_buildEngine('_cake_core_') #1 
> /Library/WebServer/Documents/cake2/app/Config/core.php(342): 
> Cache::config('_cake_core_', Array) #2 
> /Library/WebServer/Documents/cake2/lib/Cake/Core/Configure.php(77): 
> include('/Library/WebSer...') #3 
> /Library/WebServer/Documents/cake2/lib/Cake/bootstrap.php(164): 
> Configure::bootstrap(true) #4 
> /Library/WebServer/Documents/cake2/app/webroot/index.php(95): 
> include('/Library/WebSer...') #5 
> /Library/WebServer/Documents/cake2/index.php(43): 
> require('/Library/WebSer...') #6 {main} thrown in 
> /Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php on line 166
> 
> -- 
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




How to install CakePHP 2.x on OS X 10.8?

2013-03-05 Thread BoiceNet
I'm new to CakePHP and am trying to configure my MacBook Pro running OS X 
10.8 as a developer machine. I already have Apache, MySQL, PHP 5.x 
installed and they all work fine. I'm unable to get CakePHP to work and 
cannot find any instructions that work for my situation - did watch a 
couple of videos and looked into the documentation. 

Can anyone provide me some assistance with this task? I have the latest 
version of all software running and have unzipped the CakePHP download. I 
did copy the Cake folders into the root of my web server. I receive the 
following error when I go to the folder on my localhost using Firefox. I'm 
sure I'm missing something important for this configuration.

Thank you.



*Warning*: strtotime() 
[function.strtotime]: 
It is not safe to rely on the system's timezone settings. You are 
*required* to use the date.timezone setting or the 
date_default_timezone_set() function. In case you used any of those methods 
and you are still getting this warning, you most likely misspelled the 
timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' 
instead in *
/Library/WebServer/Documents/cake2/lib/Cake/Cache/CacheEngine.php* on line *
60*

*Warning*: _cake_core_ cache was unable to write 'cake_dev_en-us' to File 
cache in */Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php* on 
line *310*

*Warning*: /Library/WebServer/Documents/cake2/app/tmp/cache/persistent/ is 
not writable in *
/Library/WebServer/Documents/cake2/lib/Cake/Cache/Engine/FileEngine.php* on 
line *337*

*Fatal error*: Uncaught exception 'CacheException' with message 'Cache 
engine _cake_core_ is not properly configured.' in 
/Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php:166 Stack 
trace: #0 /Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php(136): 
Cache::_buildEngine('_cake_core_') #1 
/Library/WebServer/Documents/cake2/app/Config/core.php(342): 
Cache::config('_cake_core_', Array) #2 
/Library/WebServer/Documents/cake2/lib/Cake/Core/Configure.php(77): 
include('/Library/WebSer...') #3 
/Library/WebServer/Documents/cake2/lib/Cake/bootstrap.php(164): 
Configure::bootstrap(true) #4 
/Library/WebServer/Documents/cake2/app/webroot/index.php(95): 
include('/Library/WebSer...') #5 
/Library/WebServer/Documents/cake2/index.php(43): 
require('/Library/WebSer...') #6 {main} thrown in *
/Library/WebServer/Documents/cake2/lib/Cake/Cache/Cache.php* on line *166*

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.