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
1answer
6 views
cakephp 1.3 : how to omit virtual fields from a find query
I'm trying to convert the output of a Model->find query into SQL to be input into a database completely separate from the current MySQL database being used by the cakePHP system. My problem is that I ...
0
votes
0answers
8 views
unable to semd 1000 mail from cakephp to centos(postfix/covedot)
I am unable to semd 1000 mail from cakephp to centos(postfix/covedot).
Till 950 mails i can sent, Above that some time i lost my message boddy/email not recived by centos.
Is ther any limitation.
I ...
0
votes
1answer
9 views
Adding table header vertically in Cakephp
This is my code for adding table header
echo $this->Html->tableHeaders(
array(
'Vacancycard id',
'Date',
'Starting time',
'Starting point',
'Destination ...
0
votes
0answers
8 views
CakePHP TreeBehavior::recover() SQL error
So I'm trying to use the recover method of the TreeBehavior, as I think some of my data is corrupted. When trying to do this, I get this SQL error:
Error: SQLSTATE[42000]: Syntax error or access ...
0
votes
1answer
6 views
CakePHP - PHPUNIT - Tables getting deleted when we run test.php
I'm a newbie to PHPUnit testing. I have successfully installed PHPUnit and I am able to run it. I have a new database with some records. Whenever I run the test cases, the tables are getting deleted ...
0
votes
0answers
8 views
Prevent CakePHP from recreating the entire Acl structure when updating a User
I have noticed that when I update a User that is linked to the Acl component, CakePHP will delete all Aro, Aco and ArosAco records associated with the user and then recreate them.
Is there some way ...
1
vote
2answers
29 views
Can't insert multiple data against an id into multiple fields in a table in mySQL?
Scenario: I have a form in my PHP page, inserting data into mySQL database.
Suppose, to each types of T-shirt, there are color variations, size variations and others like this. So in my database, I ...
0
votes
0answers
12 views
Cakephp add/edit function in image upload not working
Please help me out
I have add and edit function together in controller.
I have the following fields in my ctp file :
say for example album name,album cover and influenced by.
When I tried to edit ...
0
votes
0answers
11 views
Are there any usable plugins for Entity Attribute Value for cakephp 2.3?
I am in a week of search of usable plugin to store Entity Attribute Value data in cake.
These are plugins I found so far:
EAV Behavior https://github.com/abalonepaul/eav_behavior
Expandable ...
-1
votes
0answers
30 views
PHP Framework - Need to create Facebook type Web and mobile app [closed]
I am new bee in PHP, As of now i have in a confusion which framework should I used for my project.
Below are the basic requirement for my project. (The app is just look like Facebook)
Minimum 2 ...
1
vote
1answer
27 views
Attaching condition to find() in controller
i've been trying to learn more about how to have fat models and skinny controllers the right way, because before my models would have basically no code and i'm trying to change that. My function ...
0
votes
2answers
19 views
How to load javascript in CakePHP?
I'm fresh in CakePHP, current work in a website which a part require bxsldier.
I imported scripts with following code:
echo $this->Html->script('http://code.jquery.com/jquery-1.9.1.min.js');
...
0
votes
1answer
26 views
CakePHP skipping over field in select * statement
First of all, I just want to say that I understand not using CakePHP's built in functionality to find data can result in vulnerabilities. However, there is absolutely no input going into this query ...
1
vote
0answers
15 views
Cakephp Security component blackholes delete post
I'm sending a delete post from an organisation page to a people controller like this:
$this->Form->postLink(__('Delete'),
array('controller'=> 'people', 'action' => ...
0
votes
1answer
39 views
How do you make a proper HTTP POST request to an API via PHP code? I'm doing something wrong
So I am trying to authenticate with a url (in a companies API) and send some information in to be checked. If the info is good, it sends me back what I need (string). If not, it sends back a string: ...