Questions tagged [cakephp-3.2]

Questions about the 3.2.x branch of the CakePHP MVC framework. Use this tag in combination with the general [cakephp] tag. If your question applies to CakePHP more generally, use only the [cakephp] tag.

CakePHP 3.2

CakePHP is a PHP development framework using Associative Data Mapping, Front Controller and MVC design patterns.

Version 3.2.0 was released in January 2016.

Resources

145 questions
0
votes
1 answer

Override Cakephp 3 core class

I'd like to override a function that exists in the CakePHP 3 core (to be more specific Cake\Database\ValueBinder). How can I achieve this? I tried copying the class to src/Database/ and changed the namespace from Cake to App. I use'd the class in…
boindil
  • 95
  • 1
  • 9
0
votes
0 answers

Get IP address in cakephp 3.2

Here i want to find the ip address of system,which i want to implement. but i stucked here. I am using cakephp version 3.2. i have worked on it ,getting an incomplete ip ::1,while my machine ip is 155.0.0.1 Below is code for getting ip echo…
sradha
  • 2,216
  • 1
  • 28
  • 48
0
votes
1 answer

Redis as NoSQL Key/Value Database in CakePHP 3

I'am wondering what is the best way to use Redis NoSQL Database in CakePHP not for Caching but as regular Key/Value Store? There is a Plugin for Redis 2.4.2 or higher, but the Plugin does not work with CakePHP 3.x: Redis CakePHP 2.4.2 Plugin What is…
Niklas
  • 95
  • 1
  • 9
0
votes
2 answers

CakePHP 3.2 find query issue

Here is my query in CakePHP 3.x public function confirmation($token){ $result = $this->Users->findAllByVerificationCode($token); debug($result->first()); die(); } If the variable $token is too long, the result is always null, but if i…
Br.sasa
  • 49
  • 1
  • 8
0
votes
0 answers

cakephp 3 PDO instances error

I'm currently trying to send an email to multiple employees if a condition is met; the list of users is gotten as expected but when I try to foreach the array I always get this "You cannot serialize or unserialize PDO instances" error. this is the…
DanielHolguin
  • 305
  • 4
  • 13
-1
votes
1 answer

Cakephp 3.0 router.php not working

I got the following code on my router.php file: redirect('/e/*', 'http://google.com', ['status' => 302]); }); ?> Though, when I go to…
Cafn
  • 137
  • 1
  • 8
  • 26
-1
votes
1 answer

How to add new MongoClient in cakephp 3x

How to add new MongoClient('mongodb://localhost'); in cakephp 3x __construct . I am trying to setup mongodb in cakephp-3.2, and also is there any plugin for cakephp3.2 to have mongodb
Ragu N S
  • 17
  • 1
  • 7
-1
votes
2 answers

searching not work in cakephp-3

I want to search my data from database by searching input,Everything is looking right but i can not find why this code is not work.when i input the searching data in input box any thing is done.please help My controller : AdUnitsController class…
-1
votes
3 answers

CakePHP 3 : dynamically create options in select | Form Helper

I want to generate select input field like where option is generated…
Anuj TBE
  • 9,198
  • 27
  • 136
  • 285
-1
votes
2 answers

CakePHP 3: validating user from mobile application

I'm working on a project which has Web Application and Mobile client. I'm using CakePHP 3.2 for developing web application. There is a table users to store user credentials and register login logout function. I'm using DefaultPasswordHasher of…
Anuj TBE
  • 9,198
  • 27
  • 136
  • 285
1 2 3
9
10