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

2
votes
1answer
807 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 ...
1
vote
1answer
634 views

Configuring CakePHP on Hostgator

I have absolutely no idea what I am doing wrong here. I have followed just about every guide there is with installing cakephp on shared hosting and I am still having problems. I have also started over ...
0
votes
1answer
93 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
279 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 ...
0
votes
1answer
796 views

PHP CGI on IIS7 crash

I see an application error message in Windows Events Manager by PHP CGI every alternate hour. The message details are: Faulting application name: php-cgi.exe, version: 5.3.6.0, time stamp: 0x4d81eb28 ...
-1
votes
1answer
744 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 ...
2
votes
0answers
586 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
70 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
347 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
595 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 ...
0
votes
0answers
60 views

Nginx vhost cakephp multi apps

Hi I have two cakephp webistes with directory structure: /var/www/belledecor.local/ +app +admin +Vendor +bin +cakephp +composer +autoload.php app is webiste ...
0
votes
0answers
98 views

Nginx & Cakephp & another subfolder and Cloudflare application

I'm using nginx 1.6 and CakePhp 2.x At www.example.com/fasdwqe I see missing controller from Cakephp. But on www.example.com I am getting 504 gateway timeout from Cloudflare. I want to run another ...
0
votes
0answers
207 views

CakePHP Rewrite Loop using Subdomain Wildcards

I am using CakePHP 2.4 and usually setup a single virtualhost file to point to dev.myapp.com and everything works fine. dev.myapp.com goes to the home page, and dev.myapp.com/users goes to the main ...
0
votes
0answers
103 views

Can I merge my htaccess rewrite requests into something more efficient?

I'm afraid my knowledge of .htaccess files is really sketchy and my understanding of regular expressions, and the like, is even worse. I was hoping I might find some guidance here. I'm running a ...