Questions tagged [cakephp-2.7]

CakePHP is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications.

CakePHP is a free, , rapid development for PHP. It’s a foundational structure for programmers to create web applications. Our primary goal is to enable you to work in a structured and rapid manner–without loss of flexibility.

CakePHP takes the monotony out of . It provides you with all the tools you need to get started coding and what you need to get done: the logic specific to your application. Instead of reinventing the wheel every time you begin a new project, check out a copy of CakePHP and get started with the logic of your application.

CakePHP has an active developer team and community, bringing great value to the project. In addition to keeping you from wheel-reinventing, using CakePHP means your application’s core is well tested and is being constantly improved.

Here’s a quick list of features you’ll enjoy when using CakePHP:

  • Active, friendly Official CakePHP discussion group
  • Flexible licensing
  • Compatible with versions PHP 5.2.8 and greater
  • Integrated CRUD for database interaction
  • Application scaffolding
  • Code generation
  • MVC architecture
  • Request dispatcher with clean, custom URLs and routes
  • Built-in validation
  • Fast and flexible templating (PHP syntax, with helpers)
  • View helpers for AJAX, JavaScript, HTML forms and more
  • Email, cookie, security, session, and request handling Components
  • Flexible ACL
  • Data sanitization
  • Flexible caching
  • Localization
  • Works from any web site directory, with little to no Apache configuration involved
71 questions
4
votes
2 answers

Import js file CakePHP src tag is missing

I am trying to do something really simple which I've done a thousand times already. I am trying to import a JS file on CakePHP using the Html Helper and instead of the "src" attribute i get a "facebook" attribute . Here is what I am doing:- echo…
zihatzik
  • 55
  • 1
  • 6
3
votes
2 answers

CakePHP slow response on SQL Server find

I have a problem with my app in CakePHP 2.7.1, with Sqlserver Datasource. When I do a find operation on any table, the response time is extremely slow (more than 1 minute). I did the research with XDebug + QCachegrind and I found out that the…
3
votes
4 answers

How to define FlashHelper/Component element for general authError message

After updating CakePHP from 2.6.2 to 2.7.2 I get an missing key error when the auth flash message is created. How can I define the element template for the default authError? Since SessionComponent::setFlash() has been deprecated I added the…
Oops D'oh
  • 941
  • 1
  • 15
  • 34
2
votes
2 answers

create form in html table row in cakephp view

I am trying to create form inside table td in foreach loop of cakePHP, I want to form in only 3 table td and update it in. Also, it is working fine but only issue is with alignment of heading because of form inside td. If I take out form out pf td,…
Asmita
  • 171
  • 1
  • 11
2
votes
2 answers

Adding to (or overriding) a core class method in cakePHP

We are using cakePHP 2.7.x. The question I have is with overriding a core class -- or specifically adding functionality to a method without modifying the core code. I need to add some functionality to the…
Fliggerty
  • 73
  • 7
2
votes
1 answer

CakeEmail is erroneously reporting that a template is missing when using themes

I have a controller QuickContacts with an action add() which uses CakeEmail to send a message, like so: $Email = new CakeEmail(); $Email->from(array('noreply@xyz' => 'xyz')); $Email->to(($this->isBranded) ?…
user1658296
  • 1,398
  • 2
  • 18
  • 46
2
votes
0 answers

Generating and Saving HABTM Data in CakePHP

Edit: Cake version 2.7 In my app I have a Wedding model which has a HABTM relationship with Users. When I'm logged into as the admin user I want to be able to add a new Wedding and by doing so generate and save 2 additional users to login with…
1
vote
0 answers

CakePHP 2.7 - changed server - issues finding Classes

Transferred an old CakePHP project to a new server to do some testing ( i don't have access to it's original server) . It's cakePHP 2.7 running on php 5.5. The project was originally built using PEAR, I've managed to install PEAR after a lot of…
RainMan
  • 13
  • 3
1
vote
0 answers

Cakephp cookie return encrypted data

Could anyone help me? When i read cookie in live server, cookie return encrypted data in live server. But in local cookie return decrypted data. Cookie config is as the following $this->Cookie->name = 'rememberMe'; $this->Cookie->secure =…
1
vote
3 answers

CakePHP Migrations - How to specify scale and precision

I'm Running CakePhp 2.7 with Migrations Plugin and a Postgresql DB. Creating a field of type 'number' and specifying length 15,4 (scale 15, precision 4 - or any length) does not actually create the field with that precision and/or scale. …
atomCode
  • 842
  • 7
  • 17
1
vote
0 answers

Cookie destroy not working in CakePHP 2.7

Quite straight forward: public function demo(){ $this->Cookie->delete('Auth.User'); $this->Cookie->destroy(); if($this->Cookie->check('Auth.User')){ echo "yes"; }else{ echo "no"; } die(); } Getting "yes" all…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
2 answers

Prevent ajax calls from updating session timeout with CakePHP

I'm using some long pooling in JavaScript of this kind: setInterval(demo, 3000); function demo(){ $.get(url, params, function(data){ //whatever }); } Being url a URL to a CakePHP controller action returning JSON. But I want my…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
1
vote
0 answers

CakeResque - Class 'Resque' not found in app/Plugin/CakeResque/Lib/CakeResque.php on line 82

http://cakeresque.kamisama.me/install#install As instructed in the link above, I've been trying to install CakeResque plugin to CakePHP 2.7.10 with no luck. I'm getting the following error. Fatal error: Class 'Resque' not found in…
mmrn
  • 249
  • 2
  • 8
  • 18
1
vote
1 answer

Separate navigation menu from default.ctp in CakePHP

I am working on CakePHP 2.7. I have to show some static menu on every page. Since, the menu contains lot of sub menus, I want to keep them in a separate file navigation.ctp and show them on default.ctp I tried extend and elements but none of them…
Anuj TBE
  • 9,198
  • 27
  • 136
  • 285
1
vote
1 answer

How do I install CakePdf Plugin compatible with Cakephp 2.7.3?

I am working on a Cakephp 2.7.3 application and I need to install CakePdf Plugin. So far all I've found is the CakePdf version that requires Cakephp 3.0+, including when I try using composer and GitHub. Am still not an expert in CakePHP. Kindly…
Rodgers Ouma
  • 103
  • 2
  • 13
1
2 3 4 5