CakePHP is an open source web application framework for producing web applications. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License.

learn more… | top users | synonyms

4
votes
1answer
1k views

Nginx, memcached and cakephp: memcached module always misses cache

I've got a simple nginx configuration; server{ servername localhost; root /var/www/webroot; location / { set_md5 $memcached_key $uri; index index.php index.html; try_files $uri ...
0
votes
1answer
133 views

A subdomain not loading

On my newserver i set up a subdomain patientslife.linf.in. But when i try to set up another subdomain pmr.linf.in it shows the page The connection was reset in Mozilla and No data received in chrome. ...
0
votes
1answer
493 views

Need help translating this htaccess rewrite rule to Nginx

Hi – I've been struggling with this for days. It seems simple but I just can't get it done. I have a site developed in CakePHP. There's a script that responds to /css/profiles/g/whatever.css ...
-1
votes
1answer
854 views

How to stop Nginx sending static file requests to the CakePHP app controller when running Cake in a subdirectory?

I'm trying to run a CakePHP app from within a subfolder on Nginx, but the static files are not being found and are instead being passed to the app controller. Here's my current config: location ...
3
votes
0answers
78 views

Nginx, CakePHP: Error: Create the class Index.phpController below in file: App/Controller/Index.phpController.php

I've config nginx 1.4 for running cakephp 2.6, but it can't work. For every page, for example http://my-app/ or http://my-app/admin it always return the error: Error: Create the class ...
2
votes
0answers
775 views

Content Encoding Error on new IIS 7 server with PHP

I recently moved a PHP (Cake framework) development site from an IIS 6 (x86) server to an IIS 7 server (x64). The content is all the same and the URL rewriting works, but on the attempt to display the ...
1
vote
0answers
187 views

How to add “List-Unsubscribe” in email header using CakeEmail component

I've tried the below, but it didn't works $email = new CakeEmail(); $email->addHeaders(array("List-Unsubscribe"=>"<$url>")); Any suggestion? Thank you
1
vote
0answers
461 views

mysql error on xampp 1.7.7 for windows

All of a sudden my XAMPP installation is playing silly buggers when I try to Cake bake. I get a recurring error: SQLSTATE[HY000]: General error: 6 Error on delete of 'C:\xampp\tmp\#sql...MYD' ...
1
vote
0answers
1k views

Cakephp CSS file not loading

I have a website working on one server. I am changing hosting, so I created a website on another server for testing. Everything seems to be working, except CSS. It is not loading at all. I have 777 ...