After searching around a bit, this thread,
http://groups.google.com/group/cake-php/browse_thread/thread/be79094df3a57546/55c3393966bb003a?lnk=gst&q=update+gone+wrong#55c3393966bb003a,
came the closest to the problems I've been having. The person in that
thread seems to have solved the problem by updating to the latest
build. However, I installed an even newer one than he/she did but I'm
still having some trouble.
First, here's my setup...
Windows XP Pro SP2
Apache 2.2.6 (with mod_rewrite enabled)
MySQL 5.0.45
PHP 5.2.5
CakePHP 1.2.0.6311 beta
Here's how I have my directory structure setup (/htdocs/public_html is
set as my document root in my Apache configuration)...
/htdocs/includes
/cake_beta
/app
/cake
/docs
/vendors
/htdocs/public_html/webroot
After making the necessary changes to the ROOT and APP_DIR constants
in the index.php file in /webroot as well as configuring my database,
here's what's going on...
"Out of the box," when I point my browser to my site (http://localhost/
webroot/), I get a warning message at the top:
Warning (512): Cache not configured properly. Please check
Cache::config(); in APP/config/core.php [C:\htdocs\_includes\cake_beta
\cake\libs\configure.php, line 621]
I look at the core.php file in /app and notice a setting at around
line 75 that is commented-out:
//Configure::write('Cache.disable', true);
I un-comment it and the warning message earlier, disappears. So,
here's what CakePHP is telling me...
Your tmp directory is writable.
Your cache is NOT working. Please check the settings in APP/config/
core.php
Your database configuration file is present.
Cake is able to connect to the database.
Looking at what I just un-commented, my first thought was it would
need to be set to "false" since I actually DO want caching (which
might explain why I'm getting a "Your cache is NOT working" message),
but setting it to false just gets me warning #512 again.
Is there something I'm missing? This is the first time I've decided to
try out the beta.
Any help is greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---