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

0
votes
0answers
3 views

lubuntu apache2 cakephp creating a Virtualhost [migrated]

I am using Lubuntu 14.10 32bit to run a LAMP system using Apache2.2. I have been unsuccessful at creating a virtualhost for cakephp 2.5.6. I'm not sure if this is causing the problem or not but I have ...
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 ...
1
vote
1answer
63 views

Apache serving modified static assets incorrectly: serves obsolete file with sizes adjusted to match that of the new file [duplicate]

I've got a CakePHP project running in a CentOS VirtualBox. The website is served with Apache 2.2.15. There are JS files in the document root folder. Apache seemed to serve them file. But after i ...
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 ...
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
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 ...
2
votes
3answers
837 views

PHP cli uses different php.ini file when run by cron

My CakePHP console script is having problems executing under cron. It complains about missing Mysql connections and such. After a little investigating I found that php run by cron uses a different ...
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. ...
2
votes
1answer
552 views

CakePHP and Wordpress on Nginx PHP-FPM

I'm trying to configure both CakePHP and a wordpress blog on the same server. CakePHP here: http://site.com/ Wordpress blog here: http://site.com/blog/ What works: The whole CakePHP app and going ...
0
votes
2answers
451 views

PDO ODBC error just resets connection

Trying to write an ODBC PDO driver for CakePHP. Seems like I get closer and closer however whenever a PDO function is called that it doesn't like the connection just gets reset immediately and I'm not ...
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 ...
0
votes
1answer
209 views

CakePHP Issue - site errors up

I have a cakePHP site and I moved the site over to a new server today and for some reason I keep getting errors. It works fine on another server but this new one that has cpanel does not seem to be ...
2
votes
1answer
322 views

High CPU usage resulting in server crash

running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
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 ...
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' ...
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
633 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 ...
1
vote
0answers
593 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
1answer
556 views

Critical Virus infection with PHP website. What are the options to remove Virus? [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I have a critical virus infection to one of my website. There is a additional script found added at footer of few web pages . the ...
1
vote
1answer
532 views

Why might POSTing cause a blackhole?

I'm developing an app using CakePHP and have encountered a strange problem: When I POST data to a particular method I get a 0 byte response and a simple 404 error in the access log. ...
0
votes
1answer
795 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 ...
2
votes
1answer
1k views

File “/home/v/s/vsdev/web/public_html/index.php” is not in document root of Vhost “/domains/d/e/dev.vacancysoft.com/web/public_html/”

I've got a dev site running under http://dev.vacancysoft.com/ As you go there you can see the error and I really searched the web for the solution but couldn't find any. It all started with the UID ...
0
votes
2answers
810 views

Trying to connect to mysql via php command line through XAMPP (ubuntu/cakephp)

I am trying to run the cake shell through xampp and I am running into some issues. What works I can connect PHP to Mysql while running through apache (in web browser) I can run the PHP CLI in bash ...
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 ...
0
votes
2answers
319 views

why mod_rewrite is not working

I enabled the mod_rewrite in apache by following this article : http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/ but still when i run the cake php folder it say : URL ...
0
votes
3answers
1k views

Steps to optimize an IIS server for PHP

I've inherited a very slow PHP site running on IIS and I'm trying to maximize it's performance. The issue is all in the Time to First Byte (TTFB), with 1500ms TTFB for an almost empty page and an ...
0
votes
3answers
163 views

where is cakephp installed ubuntu10.10

I just did apt-get install cakephp and it installed cake php but I have no idea where the root directory is. How can I find that? I'm using ubuntu 10.10
1
vote
4answers
492 views

Web server is extremely slow

My web server is running on PHP 5 and MySQL 5.0. When I copied an application developed in CAKE PHP, the server is extremely slow. The organization who provides the files are running the same ...
0
votes
1answer
469 views

When I try to access a website without www I get access denied

I have an apache web server on a debian machine. I'm using virtualmin to administer virtual hosts. I have two sites on this server right now, when I try to access one site without the www in the URL I ...
0
votes
1answer
643 views

How does everyone set up AWS for PHP with a git workflow while worrying about distributing EC2?

I have been looking for something like heroku but for php, and after much frustration (and almost finding what I need, but not quite) we decided to just go with AWS without any other abstraction. We ...
0
votes
3answers
247 views

How to setup multiple subdomains on lampp?

down vote favorite Hi , I need to set up multiple projects on lampp. How can i create sub domains for these multiple projects. My projects are in cakePHP. Can anyone help me?
4
votes
3answers
261 views

compromised site

So, I have a web site that has been compromised twice in two weeks. every index.php and .js file gets a script injecting into the source code of the file. The problem is that I have no idea how ...
1
vote
2answers
1k views

.htaccess time on godaddy

I'm trying to run a cakephp application on a godaddy linux account. The problem is that i get the error 500. I've read on cakephp discussion group that i have to edit the .htaccess file. 1) How much ...
1
vote
1answer
752 views

Migration to Media Temple (dv) from (gs) - 777 Permissions issue

I just migrated my website (built on CakePHP) from Media Temple's (gs) server to (dv). I got an error that the /tmp/cache folder is not writable. Changing the permissions to 777 fixes this error - ...
1
vote
1answer
864 views

Cakephp, App's folder not in the webroot why?

Why store the CakePHP files outside of the webroot? For example, this is the way way that I have always been told to do it. /home/username /app /cake /public_html index.php I know its ...
1
vote
2answers
3k views

CakePHP in a subdirectory using nginx (Rewrite rules?)

I managed to get this to work a while back, but on returning to the cakephp project I had started it seems that whatever changes I've made to nginx recently (or perhaps a recent update) have broken my ...
-1
votes
1answer
870 views

how to install cakephp on cpanel?

I tried to install cakephp om cpanel, but it does not work because of directory sturucture as i think if you provide me with guide line
1
vote
1answer
5k views

How can I set up another alias like “localhost” to point to a folder within htdocs?

Hi Everyone So I have xampp running, localhost or 127.0.0.1 will take me to htdocs within my xampp folder. Is there a way I can use a similar name such as localhost2 on the same machine to take me to ...
-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 ...
0
votes
1answer
2k views

setting up cake on hostgator

So i have been reading forum after forum and my bakery is still not functional. Here is my folder tree: /home/jja/public_html/ there i have: app, cake, index.php and one .htaccess that looks like: ...
1
vote
4answers
481 views

Web hosting for websites developed in cake php

I have developed my website using Cake PHP. Now, I am looking for a good webhost for my website. Cake PHP requires mod_rewrite to be enabled and also some changes might be required in the document ...
3
votes
3answers
5k views

cakephp & nginx config/rewrite rules

Hi somebody please help me out, I've asked this at stackoverflow as well but not got much of a response and was debating whether it was programming or server related. I’m trying to setup a cakephp ...
2
votes
4answers
2k views

Remove all files by filename (Linux one-liner)

CakePHP has a convention of putting files called "empty" in empty directories. I'm sure they have a reason, but it really bugs me. (Yeah, OCD, I know...) I want a one-line linux shell command that ...