# |
Feb 21st 2020, 12:10 |
spriz |
that's simply a waste of time :) |
# |
Feb 21st 2020, 12:10 |
spriz |
welp, I'd tell clients there's nothing you can do without knowing exactly what hardware that is running |
# |
Feb 21st 2020, 12:09 |
challgren |
Im still waiting for access, so I can only guess |
# |
Feb 21st 2020, 12:09 |
spriz |
at least it's easy to upgrade :) |
# |
Feb 21st 2020, 12:09 |
spriz |
:,) |
# |
Feb 21st 2020, 12:09 |
challgren |
Yeah its AWS so Im guessing they went cheap with the instance |
# |
Feb 21st 2020, 12:09 |
spriz |
then I'd look into configuration of the db :v: |
# |
Feb 21st 2020, 12:08 |
challgren |
But yeah, kind of took over the project so gotta optomize it |
# |
Feb 21st 2020, 12:08 |
spriz |
or you need to tweak the configuraion of the db/table :) |
# |
Feb 21st 2020, 12:08 |
challgren |
Only 1 index |
# |
Feb 21st 2020, 12:07 |
spriz |
I'd guess you have too many indexes if the writes are too heavy |
# |
Feb 21st 2020, 12:07 |
spriz |
if that takes long time it's more of a db issue than cake issue |
# |
Feb 21st 2020, 12:07 |
challgren |
Its more of getting the data into the db |
# |
Feb 21st 2020, 12:06 |
spriz |
knowledge about DB engine starts to mean something tho :) |
# |
Feb 21st 2020, 12:06 |
spriz |
@challgren you can easily urn 100+ m tables with a cake project :thinking_face: |
# |
Feb 21st 2020, 11:21 |
challgren |
Geeze 101 million records in this database now. I think this project out grew cake |
# |
Feb 21st 2020, 11:03 |
admad |
that shell is only meant for php files, not twig |
# |
Feb 21st 2020, 11:01 |
naino |
Hi! Anyone here using Twig template with cakephp i18n extract shell? It doesn't seem to extract strings from my .twig files. |
# |
Feb 21st 2020, 10:56 |
slackebot |
work too. The warning is ```Failed to initialize storage module``` ---- Environment information PHP 7.3 Apache 2.4 (x64) Cake 2.10.x Thanks in advance |
# |
Feb 21st 2020, 10:56 |
le.mao |
I have a warning when update Cake PHP 2.2.5 to Cake PHP 2.10.x as the following ```Warning (2): session_set_save_handler() [<a href='http://php.net/function.session-set-save-handler'>function.session-set-save-handler</a>]: Cannot change save handler when headers already sent [CORE/Cake/Model/Datasource/CakeSession.php, line 599]``` Could you please tell me detail about this error --- In addition, when i use the `session_start()` , it was not |
# |
Feb 21st 2020, 10:44 |
neon1024 |
I remember stuff just randomly exploding |
# |
Feb 21st 2020, 10:43 |
neon1024 |
3.4 was a big hump for my projects |
# |
Feb 21st 2020, 10:43 |
neon1024 |
..but hey, why not run a race with your shoelaces tied? You’ll still finish right? |
# |
Feb 21st 2020, 10:43 |
challgren |
I dont think deprecations really came around until 3.7 |
# |
Feb 21st 2020, 10:43 |
neon1024 |
What you really mean is <insert excuse here> |
# |
Feb 21st 2020, 10:43 |
challgren |
At least to 3.6 I would think |
# |
Feb 21st 2020, 10:43 |
neon1024 |
You can always upgrade it |
# |
Feb 21st 2020, 10:42 |
dsar |
Why you can't upgrade it? |
# |
Feb 21st 2020, 10:41 |
peppejaripappalardo |
ok thanks to all |
# |
Feb 21st 2020, 10:40 |
dereuromark |
it is part of how framework application development is supposed to work. |
# |
Feb 21st 2020, 10:40 |
peppejaripappalardo |
anyway we use 3.0 not 3.1 |
# |
Feb 21st 2020, 10:39 |
dereuromark |
failure by design, jep. Always use latest minor. Upgrading is trivial here and necessary. |
# |
Feb 21st 2020, 10:39 |
peppejaripappalardo |
It is an old project we can’t upgrade it :S |
# |
Feb 21st 2020, 10:39 |
dsar |
However I don't understand why a project should still stick with 3.0 |
# |
Feb 21st 2020, 10:38 |
dsar |
I thought he means to use it in CakePHP 3.0 where it's not present |
# |
Feb 21st 2020, 10:38 |
neon1024 |
I assume people mean any release, good job on knowing the release version 8) |
# |
Feb 21st 2020, 10:37 |
dsar |
notMatching was implemented in CakePHP 3.1 |
# |
Feb 21st 2020, 10:37 |
neon1024 |
Yes, you can use `notMatching()` |
# |
Feb 21st 2020, 10:33 |
peppejaripappalardo |
Hello to everybody, in CakePHP 3.0 there is a way to perform something like notMatching? |
# |
Feb 21st 2020, 10:23 |
spriz |
Ah, it was a build rule without errorField and message :upside_down_face: :shrug: |
# |
Feb 21st 2020, 10:12 |
spriz |
(https://api.cakephp.org/3.8/class-Cake.Database.Query.html#_from) |