Questions tagged as 'cakephp-2'

1
answer

Finding where heavy query is generated

Good morning I need to find where in CakePHP 2.5.2 this query is performed: SELECT COUNT(*) AS count FROM umatabela WHERE status = 1 It has a model where this table is referenced, and may be referenced elsewhere. By Debugkit I'm...
asked by 15.01.2016 / 12:51
1
answer

Adding and Removing Fields Generated via CakePHP

I have a <select> that is fed by data from the database. I need to manipulate this select and multiply it if the user wants to enter more different data. I also need to change the "name" attribute of each <select> so...
asked by 12.02.2015 / 15:45
1
answer

remove duplicate values in multidimensional array

I have a huge multidimensional array and I need to remove duplicate values with PHP or some function that does this when using CakePHP. Array structure: Array ( [0] => Array ( [Advertencia] => Array (...
asked by 07.05.2015 / 21:30
1
answer

Configuring CakePHP with Composer

I installed CakePHP on a MAMP server (Mac OS X) and configuring the cakephp-upload plugin had the hint of install the plugin using Composer . I configured my composer.json as follows: { "name": "designliquido/loja", "descr...
asked by 16.08.2014 / 20:47
1
answer

Hide domain directory using htaccess or router in cakephp

I'm having a hard time creating a configuration in .htaccess to hide a folder from my site. My domain has the following structure: www.site.com.br/cake, where are the files and folders related to the project. I want to hide the / cake directo...
asked by 03.07.2015 / 15:26
2
answers

Google Maps API and Google Indoor Maps

Good afternoon. I work with Network Design and Structured Cabling and developed an application for the mapping of optical fiber with the Google Maps API, which you can see at the following URL: link In brainstorming with the team, everyo...
asked by 13.04.2015 / 22:02
1
answer

Dropdown with default value and option "all"

Using CakePHP in my project, I created a dropdown to use to search the database for values and strings . I need to create an "all" option to search all the results and to be the "default" option of this dropdown . How can I do this? Co...
asked by 09.01.2015 / 16:26
1
answer

How to solve this CakePHP problem on Mac?

Warning: require(/Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/config/bootstrap.php on line 23 Fa...
asked by 18.07.2015 / 19:10
1
answer

CakePHP submit form using JQuery?

I have a form in CakePHP and I want to submit this form using JQuery. I'm looking for a solution on how to do this without using CakePHP's JsHelper, I want to use only the same JQuery native. How to do this? I'm trying to do this. //ad...
asked by 09.10.2015 / 16:28
2
answers

Call to a member function find () on a non-object

I've been breaking my head here for some time and have not yet understood the error. I'm learning about CakePHP. I made the MVC from the Regionals table manually, and for others, I used the bake. The problem is that when I try to add a new congr...
asked by 16.01.2015 / 20:15