# |
Apr 18th 2017, 07:35 |
admad |
aiena: why are you using query() instead of find() for such a simple case? |
# |
Apr 18th 2017, 07:34 |
aiena |
I find this nesting structure very unusual. COsidering it is one row I expecte it to be an array containing an array of data |
# |
Apr 18th 2017, 07:32 |
aiena |
I am using cake php version 2.x (maintaining an old project). In the model when I do $this->query() I get an array of an array of an array. See http://paste.opensuse.org/73a3963d any guidance would be much appreciated |
# |
Apr 18th 2017, 07:23 |
dakota |
mampel, how you are installing it? |
# |
Apr 18th 2017, 07:22 |
rrueco |
@admad , not sure of what's happening. I have 2 controllers which uses the table. Validation is not showing in the other controller |
# |
Apr 18th 2017, 07:15 |
admad |
debug kit shows you model which use Table class instance instead of your actual class |
# |
Apr 18th 2017, 07:14 |
admad |
.. and it is being actually used |
# |
Apr 18th 2017, 07:14 |
admad |
make sure you have named the table class correct and it |
# |
Apr 18th 2017, 07:13 |
rrueco |
validation message is showing in other forms though, but to some of my forms, there's none |
# |
Apr 18th 2017, 07:13 |
rrueco |
@rchavik : I don't do redirect |
# |
Apr 18th 2017, 06:58 |
mampel |
someone help me? |
# |
Apr 18th 2017, 06:58 |
mampel |
i want to use cake php in macOS but I have some error in terminal when install php-intl |
# |
Apr 18th 2017, 06:57 |
mampel |
is there a person install intl in mac? |
# |
Apr 18th 2017, 06:57 |
mampel |
hi guys |
# |
Apr 18th 2017, 05:55 |
rchavik |
if you did a redirect, then the validation errors are lost |
# |
Apr 18th 2017, 05:35 |
rrueco |
I put rules and validation messages on my Model>Table but the validation is not applied when form is submitted. Anybody here who has an idea? |
# |
Apr 17th 2017, 22:50 |
cleptric |
Have you added the field to the form inside your view file? |
# |
Apr 17th 2017, 22:49 |
lastent |
Hi, I added a new field to a table and I am trying to save it in the form but it doesn't appear in the request data, I've already cleaned the ORM cache. What else can I do? |
# |
Apr 17th 2017, 19:28 |
bigdaddygee |
Look pretty similar to mine humm |
# |
Apr 17th 2017, 19:27 |
bravo-kernel |
That works, you should remove 'logstash' though |
# |
Apr 17th 2017, 19:26 |
bravo-kernel |
https://github.com/alt3/cakebox-console/blob/dev/src/Template/Bake/nginx-cakebox-http |
# |
Apr 17th 2017, 19:25 |
bigdaddygee |
I don't know if I've configured my rewrite the right way, or it's my cake that's in fault, I have Index.phpController could not be found :P |
# |
Apr 17th 2017, 19:24 |
bravo-kernel |
@bigdaddygee what's the q? |
# |
Apr 17th 2017, 19:23 |
bigdaddygee |
Hi folks, anybody here used CakePHP under NGINX ? |
# |
Apr 17th 2017, 18:48 |
awebster |
Okay thanks. Sorry about the confusion. Just have not done an upgrade from 2 to 3 before so it is all new to me |
# |
Apr 17th 2017, 18:39 |
dereuromark |
one is http://www.dereuromark.de/2015/06/06/cakephp-3-0-migration-notes/ |
# |
Apr 17th 2017, 18:37 |
awebster |
Okay I do not see where you are talking about. Also, do not see the blog posts about the upgrades |
# |
Apr 17th 2017, 18:34 |
dereuromark |
and maybe some blog posts from that time |
# |
Apr 17th 2017, 18:34 |
dereuromark |
should be all in the repo |
# |
Apr 17th 2017, 18:29 |
awebster |
Do you have a link the 2 year old explanations? Also, what are the manual things that need to be done? |
# |
Apr 17th 2017, 18:28 |
dereuromark |
should get you a decent help of automation along the road of still quite a few manual things to be done |
# |
Apr 17th 2017, 18:27 |
dereuromark |
try to follow the 2 year old explanations |
# |
Apr 17th 2017, 18:27 |
awebster |
@dereuromark I am using your extended upgrade script. I have it on a branch in git so I can start over. Is there a way that i can do to properly upgrade my app to cake 3 from 2.9.7 |
# |
Apr 17th 2017, 18:16 |
dereuromark |
but either way with DomPDF I used to have defi("DOMPDF_ENABLE_REMOTE", true); etc enabled for it to work |
# |
Apr 17th 2017, 18:16 |
dereuromark |
if you read the above link you would know that it internally fixed the paths in my examples :slightly_smiling_face: |
# |
Apr 17th 2017, 18:15 |
obinoob |
slackebot5: lets see how it goes |
# |
Apr 17th 2017, 18:15 |
obinoob |
slackebot5: but the problem is about the absolute path to files... working on it using <?= $this->Html->css(WWW_ROOT . '/css/pdf.css') ?> |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
any idea ? |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
I set up intl default in bootstrap |
# |
Apr 17th 2017, 18:14 |
obinoob |
I can generate pdf |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
Hello I am fighting against date internationalization: there is no way to have date other than english. I have intl installed and configured in php.ini but no way to have dates in my language |