# |
Oct 3rd 2016, 12:01 |
maikh |
is it possible to save belongsToMany Associations only if they have new values? ```$this->hasMany('Rooms', [ 'cascadeCallbacks' => true, 'saveStrategy' => 'replace', ]);``` |
# |
Oct 3rd 2016, 12:01 |
dakota |
hmic, even that is a guess at best :slightly_smiling_face: |
# |
Oct 3rd 2016, 12:00 |
hmic |
lets postpone the mariadb thing |
# |
Oct 3rd 2016, 12:00 |
dakota |
mariadb should be api compatible with mysql |
# |
Oct 3rd 2016, 12:00 |
hmic |
thanks for confirming dakota |
# |
Oct 3rd 2016, 12:00 |
hmic |
mariadb could really be a problem :-/ depends heavily... i dont think auth would be a problem alredy though. my advice would be: use plain mysql <5.6 |
# |
Oct 3rd 2016, 12:00 |
dakota |
I think only 1.3.20+ works on php 5.6 |
# |
Oct 3rd 2016, 12:00 |
maikh |
hey there. |
# |
Oct 3rd 2016, 11:58 |
WebDevB |
hmic: MySQL 5.5.5-10.1.14-MariaDB-1 |
# |
Oct 3rd 2016, 11:58 |
hmic |
i actually *know* that this particular php version works on >=1.3.20, i dont know if 1.3.19 does work too. so i'd just upgrade that (anyways) |
# |
Oct 3rd 2016, 11:58 |
Neon1024 |
!dereuromark |
# |
Oct 3rd 2016, 11:58 |
WebDevB |
slackebot1: yea |
# |
Oct 3rd 2016, 11:58 |
dakota |
1.3.19 I see |
# |
Oct 3rd 2016, 11:57 |
dakota |
webdevb, Are you using cakephp 1.3? |
# |
Oct 3rd 2016, 11:57 |
hmic |
you dont need to report the findings, but the differences only |
# |
Oct 3rd 2016, 11:57 |
hmic |
like with the webserver |
# |
Oct 3rd 2016, 11:57 |
hmic |
WebDevB, what was on the old one? - check all enabled modules too |
# |
Oct 3rd 2016, 11:57 |
WebDevB |
hmic: PHP Version: PHP 5.6.24-0+deb8u1 |
# |
Oct 3rd 2016, 11:56 |
hmic |
i'd personally not target below 2.6, for the known reasons :p |
# |
Oct 3rd 2016, 11:55 |
hmic |
come back with this additional info and we might be able to figure out the config problem more easily. it would be really helpful if you would check whats got changed on the server config. like webserver (version), php version, maybe api even, vhost config and modules on one env and not the other (both ways!) |
# |
Oct 3rd 2016, 11:55 |
WebDevB |
The core.php file within /app/config/core.php |
# |
Oct 3rd 2016, 11:54 |
Neon1024 |
Well, thatâ??s handy :) https://semver.mwl.be/#?package=cakephp%2Fcakephpandversion=%5E2.5andminimum-stability=stable |
# |
Oct 3rd 2016, 11:54 |
WebDevB |
Thanks hmic I'll have a look. |
# |
Oct 3rd 2016, 11:53 |
hmic |
additionally: check the log files below /tmp |
# |
Oct 3rd 2016, 11:53 |
hmic |
second: enable debug in config/core.php and see if/what you get |
# |
Oct 3rd 2016, 11:53 |
hmic |
first thing i'd suggest: upgrade to the latest cake-1.3 release. as it added support for more current php versions. |
# |
Oct 3rd 2016, 11:51 |
hmic |
s/no!/now!/ |
# |
Oct 3rd 2016, 11:51 |
hmic |
fix the server (config) rather |
# |
Oct 3rd 2016, 11:51 |
hmic |
and you've got an answer already too: if you did not change the app in the beginning - dont mind to so do no! |
# |
Oct 3rd 2016, 11:50 |
hmic |
question persists: what did you change? |
# |
Oct 3rd 2016, 11:50 |
WebDevB |
hmic: it's moved to a new server etc |
# |
Oct 3rd 2016, 11:49 |
Neon1024 |
dereuromark, Agreed |
# |
Oct 3rd 2016, 11:49 |
hmic |
WebDevB, what have you changed for it not to work anymore? |
# |
Oct 3rd 2016, 11:49 |
WebDevB |
slackebot1 Where can I do this? |
# |
Oct 3rd 2016, 11:49 |
acosonic |
slackebot1: I agree, support below 2.4 does not make sense, such users should be strongly encouraged to migrate... |
# |
Oct 3rd 2016, 11:48 |
dereuromark |
webDevB: if you debug it, or output and die before comparing it, sure |
# |
Oct 3rd 2016, 11:48 |
dereuromark |
Neon: support as many as you can safely do? but anything below 2.4 or 2.5 maybe doesnt make too much sense |
# |
Oct 3rd 2016, 11:47 |
acosonic |
you just remember language in session... |
# |
Oct 3rd 2016, 11:47 |
WebDevB |
The hashed version? |
# |
Oct 3rd 2016, 11:47 |
WebDevB |
acosonic: is it possible to see what it's trying to use for the password? |
# |
Oct 3rd 2016, 11:44 |
rudy1976s |
hello all I need some help: I have two folders: the first contains a lot of files structured in subfolders; I need to copy all those files to another flat directory: I am using a shell and this is the code ( not working ) https://gist.github.com/anonymous/6febca67210e90754f18d83ce779a90c |