Questions tagged [cakephp-3.3]

Questions about the 3.3.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.3

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

Version 3.3.0 was released in August 2016.

Resources

49 questions
0
votes
1 answer

Validate email across 2 tables with custom validator in CakePHP 3.x

I need to make sure that an email field is unique for the current contacts table and I want to make sure that same email is unique to the users table as well. If it is not found in either table then allow the data to be saved. I am not sure if I am…
Battousai
  • 503
  • 7
  • 17
0
votes
1 answer

Getting strange character encoding in json output

Getting stuff like this in my JSON responses: \u003Cp\u003EOur Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco…
cnizzardini
  • 1,196
  • 1
  • 13
  • 29
0
votes
2 answers

CakePHP 3 - Can't return proper json when debug mode = true

I'm new to stackoverflow, and I've just started to play around with CakePHP 3. I've run into a weird problem: I'm sending an ajax-request (form submit) to the controller, and I expect to get a proper json-response back. It works fine when I set…
-1
votes
1 answer

CakePHP 3.3 - Auth not working

I'm new to CakePHP and I watched a tutorial on YouTube on how to implement a Login view. I was following the tutorial step by step, but $user seems to never be true. I get the "Incorrect Login" error even when I try to login with the right…
mitch3ls
  • 18
  • 5
1 2 3
4