Questions tagged as 'cakephp'

1
answer

Horizontal scrollbar in sublime text3, how to activate?

I use Sublime text 3 in my projects in cakePHP. By default the html files in the cake have the .ctp extension and when I need to tinker with a .ctp file where I have a very large line of code it gives a line break instead of giving me the option...
asked by 22.01.2015 / 19:57
2
answers

Displaying filter from another view

I have View where the customer data is shown, and when you click a button, the user is redirected to a page that shows the movements of several clients, so that page contains some filters. So what I need is that when that client clicks on...
asked by 07.02.2017 / 19:22
1
answer

Generate menu and submenu with PHP

Location: I am building a menu with information submenu that I retrieve from the database, these data are categories and subcategories of products, this menu is ready and working, but when there are no subcategories (which is a submenu of t...
asked by 27.07.2015 / 16:20
2
answers

Problems with CAKEPHP login 2.6.1

I am having problems with the login of the CakePHP site, I am following the example that is described in the site, however informing any user or password, even if it is not registered in the bank, it allows access to the features. The followin...
asked by 18.01.2015 / 22:09
2
answers

How to avoid duplicate emails in the database?

I'm creating a simple CMS in CakePHP, in order to learn how to use framework. Within my CMS, in the admin part of the site, there is a tab called send emails and in this tab we see all emails that have been registered by the administrator. How...
asked by 27.07.2014 / 02:40
2
answers

Display data in table

I'm trying to display these items this way: Howeverafterseveralattemptsthetablealwayslookslikethis: How do I make the table to get this result? View <h2>Apagar evento</h2> <br> <table border="1" width "100px" borde...
asked by 27.03.2014 / 18:16
1
answer

PHPUnit and Selenium - How to call specific functions of the test script?

I need to create multiple test scripts for WEB using PHPUnit and Selenium . I was successful with my initial tests. I was even able to test the login and logout of my web page effectively. The problem is that I can only execute all the f...
asked by 14.04.2014 / 15:14
1
answer

Pagination always shows 20 images

I'm making a gallery that uses Pagination from CakePHP. The problem is that I only want to show 15 images per page, but regardless of the value I put in public $paginate , at the limit, 20 images are always shown. With the $this->Pag...
asked by 27.05.2014 / 19:16
1
answer

Cake \ Database \ Driver \ Mysql database driver can not be used due to missing PHP extension

I'm having problems with CakePHP bake, I searched for solutions in several places but none solved the problem. Error log: Exception: Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependenc...
asked by 10.09.2015 / 03:11
2
answers

CakePhp does not redirect to the Online server

Good morning! I'm using the cakephp framework, but I have a problem with no solution so far ... I have a login controller, I commented the entire login code and left only the trex    $ this-> redirect (array ('controller' => 'nomedocontorl...
asked by 22.05.2015 / 15:43