CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. It uses commonly known design patterns like MVC and ORM within the convention over configuration paradigm.
0
votes
0answers
8 views
CakePHP Load FullCalendar event model on controler
CakePHP 2.3
Trying to add events to the FullCalendar from the controller, but I can't get the model to load
on my controller I have try:
App::import ('Events','FullCalendar');
And
...
0
votes
0answers
7 views
CakePHP Multiple Applications In Subdirectories
I am trying to accomplish a dynamic CakePHP application portal based on user login. For example, let's say I have the following applications:
App 1
App 2
App 3
I want to be able to have the ...
0
votes
2answers
11 views
Nginx and Cakephp .conf file
I want to run CakePHP 2.x under Nginx and everything works fine so far, except for the nginx.conf file. I currently don't know if I have to modify the nginx.conf file in the nginx root folder or if I ...
0
votes
1answer
21 views
CakePHP: How to make auto-increment values contiguous again after deleting rows
I have a blog with 4 remaining posts. The posts' ids are: 0, 1, 8, and 10. This is because I've deleted posts 2-7 and post 9. Is there any what I can "fix" these posts' ids so that in my database ...
0
votes
1answer
13 views
How to repair LdapAuthenticate::getUser() should be compatible … error?
I am trying to implement CakePHP Ldap Authentication following this example but am getting this error:
Strict (2048): Declaration of LdapAuthenticate::getUser() should be
compatible with ...
0
votes
1answer
20 views
realtime data updation in cakephp or php
i am working on a Cakephp 2.x .
I have a loader/spinner on my view page which is waiting for a response from user's mobile device. Unfortunately i'm compeletly blank on how to get the request from ...
0
votes
1answer
31 views
install cakephp with other website
I have one web server. I would like run 2 website on this server. 1 website with SPIP (already running good) and 1 website with cakephp (problem with it).
SPIP => /var/www/vitrine/
cakephp => ...
1
vote
1answer
21 views
How to integrate CakePHP-app to Facebook canvas
I have problems integrating CakePHP-app (2.3.8) to Facebook canvas. When I load the app-page in Facebook, the answer is:
The request has been black-holed
Error: The requested address ...
-5
votes
1answer
37 views
execute query with cakephp
I want to execute a query to get my data
how can I write this query with cakephp
select materiel_id , SUM(quantite) from paiements
GROUP BY
materiel_id
ORDER BY sum(quantite)
Thinks,
PS : ...
1
vote
1answer
44 views
How tell the local time of a web visitor?
I'm building a blog engine in CakePHP and I would like to show the current visitor articles relative to their local time of day.
For visitors where it's currently morning, then I'll show articles ...
0
votes
1answer
34 views
CakePHP user control
So i have two models
clients
employees
The main difference between these two are that employees has some different more advanced controls.
Now regardless of what user that logs in i need to set a ...
0
votes
1answer
25 views
Cakephp paginator array error
I'm new to CakePHP and have a question about this controller:
function showmy($userid) {
return $this->Voucher->find('all', array('conditions' => array('Voucher.user_id' => ...
0
votes
0answers
23 views
Cakephp -Minify 400 Bad request
i am working on a Cakephp 2.3.. I worked with minify using this plugin
https://github.com/maurymmarques/minify-cakephp
but i am not able to seem it to worked .. my website is not correctly loading ...
0
votes
1answer
24 views
Tracking browsing pattern of website user
I own website (typical registration and various links.Made in CAKEPHP, MYSQL).
I want to track every user browsing pattern without hurting speed of website.
I tried following DB.
...
0
votes
1answer
24 views
cakephp routing retrieve parameter from url to redirect
I am using cakephp v2.3.8 and struggle a bit with the routing.
The old url is www.domain.com/properties.aspx?prop=1999
I want to route this to the properties controller with id = 1999 so my url will ...