# |
Oct 6th 2016, 12:55 |
burzum |
Just in case you want to avoid duplicates with file storage you'll need to explicitly check for them. It does a bunch of other "smart" things as well to avoid collisions and performance issues. It is actually more than just a simple uploader, it's a whole storage concept and system. |
# |
Oct 6th 2016, 12:53 |
flangofas |
it hashes the filenames |
# |
Oct 6th 2016, 12:53 |
flangofas |
i've used https://github.com/burzum/cakephp-file-storage |
# |
Oct 6th 2016, 12:48 |
charolastra |
is josegonzalez/cakephp-upload recommeded? cause it doesn't seem to handle same filenames and simply overwrites. any other recommendations? |
# |
Oct 6th 2016, 12:40 |
francky06l |
ypnos: made a behavior for this, works perfect thanks again |
# |
Oct 6th 2016, 12:20 |
spriz |
ours pass on 3.3.3 but fails on 3.3.4 |
# |
Oct 6th 2016, 12:20 |
spriz |
anyone else had problems with integration tests and Footprint since 3.3.4? :P |
# |
Oct 6th 2016, 12:16 |
aneh |
thnx @ndm and @flangofas :slightly_smiling_face: |
# |
Oct 6th 2016, 12:11 |
ndm |
Doesn't matter if your action doesn't need it, the helper does. |
# |
Oct 6th 2016, 12:10 |
ndm |
http://book.cakephp.org/3.0/en/development/routing.html#passing-parameters-to-action |
# |
Oct 6th 2016, 12:10 |
ndm |
@aneh You must mark the `cat` element as to be passed, ie in the routes options `'pass' => ['cat']` |
# |
Oct 6th 2016, 12:08 |
flangofas |
http://book.cakephp.org/3.0/en/views/helpers/paginator.html#creating-jump-links |
# |
Oct 6th 2016, 11:59 |
aneh |
Hi, i need a your help with pagination plz check my qus on stackoverflow: http://stackoverflow.com/questions/39871520/cakephp-3-custom-route-in-pagination thanks thanks |
# |
Oct 6th 2016, 11:20 |
francky06l |
ypnos: yes like linux tab .. easy ! |
# |
Oct 6th 2016, 11:18 |
ypnos |
idk, press y<tab>? ;) |
# |
Oct 6th 2016, 11:17 |
francky06l |
ypnos: thanks I am back on it ..( Damn I do not remember the IRC shortcut for putting your name in from of the message) :) |
# |
Oct 6th 2016, 11:13 |
bhaskartripathi |
Thanks @yonos |
# |
Oct 6th 2016, 11:13 |
ypnos |
bhaskartripathi: the ORM layer basically needs to be redone in any case |
# |
Oct 6th 2016, 11:12 |
ypnos |
bhaskartripathi: it depends on the code and design quality of your old code. mine was so bad that I gave up on migration and restarted from scratch |
# |
Oct 6th 2016, 11:12 |
ypnos |
francky06l: as in the main model you can unset the related elements... as in my example code |
# |
Oct 6th 2016, 11:11 |
ypnos |
francky06l: I had said you have to do this in the users/clients model.. NOT in the associated model :) |
# |
Oct 6th 2016, 11:11 |
birdy247 |
Super sweet exception :) |
# |
Oct 6th 2016, 11:11 |
bhaskartripathi |
which approach is best 1. migration 2. start from scratch in cakephp3 |
# |
Oct 6th 2016, 11:11 |
birdy247 |
The afterSave event in "App\Model\Table\RatesTimesheetsTable" is aborting the transaction before the save process is done. |
# |
Oct 6th 2016, 11:10 |
ypnos |
great bhaskartripathi |
# |
Oct 6th 2016, 11:09 |
bhaskartripathi |
hi, my website is in cakephp2 and i want to upgrade it to cakephp3 |
# |
Oct 6th 2016, 11:06 |
maikh |
dumbass |
# |
Oct 6th 2016, 11:06 |
maikh |
ok... found my fault... :P |
# |
Oct 6th 2016, 11:02 |
maikh |
no, dont works... |
# |
Oct 6th 2016, 10:59 |
maikh |
ok, i did a copy of the correct working rules... now it works... hm... |
# |
Oct 6th 2016, 10:57 |
maikh |
hm, i dont can see a typo |
# |
Oct 6th 2016, 10:55 |
hmic |
you obviously missed something, i've already mentioned a typo as this would be the first random error |
# |
Oct 6th 2016, 10:53 |
maikh |
thats strange for me. |
# |
Oct 6th 2016, 10:53 |
maikh |
yes, i know. but i dont understand why it works on the one field but not on the other field. |
# |
Oct 6th 2016, 10:52 |
hmic |
still the wrong approach to the requrirement |
# |
Oct 6th 2016, 10:51 |
maikh |
i did it because my customer dont wants datepickers, only inputs for that. |
# |
Oct 6th 2016, 10:51 |
maikh |
jep |
# |
Oct 6th 2016, 10:51 |
hmic |
so cake does not even know they are date fields? :p |
# |
Oct 6th 2016, 10:51 |
maikh |
these fields are bothe declared as varchar fields in db. |
# |
Oct 6th 2016, 10:49 |
hmic |
maikh: whats the database for those two fields? if the code is identical - no typos :p, the database can still be a point - like a NULL vs. NOT NULL field |
# |
Oct 6th 2016, 10:46 |
maikh |
has anyone a hint on this for me? |