# |
Dec 7th 2019, 23:47 |
niel45 |
yup, tried that, didn't work just gave me an error |
# |
Dec 7th 2019, 23:46 |
challgren |
Ok now run `bin/cake upgrade file_rename locales /home/otherapp/` |
# |
Dec 7th 2019, 23:46 |
niel45 |
yes |
# |
Dec 7th 2019, 23:46 |
challgren |
Ahh ok so your in ./upgrade right now? |
# |
Dec 7th 2019, 23:46 |
niel45 |
no "composer install --no-dev" as per the instructions for installing it |
# |
Dec 7th 2019, 23:45 |
challgren |
How are you already in the directory when installing? Did you do composer require? |
# |
Dec 7th 2019, 23:45 |
niel45 |
ok, well then the instructions are confusing "cd ~/code/upgrade" is very specific, and doesn't exist. Not to mention that after installing, we're already in the "upgrade" directory so it is redundant. |
# |
Dec 7th 2019, 23:44 |
challgren |
Eg `bin/cake upgrade rector --rules phpunit80 /home/otherproject/tests` |
# |
Dec 7th 2019, 23:43 |
challgren |
then you cd into the upgrade di8rectory and run your commands |
# |
Dec 7th 2019, 23:43 |
niel45 |
yup, did it that way |
# |
Dec 7th 2019, 23:43 |
challgren |
It needs to be setup as its own project/folder outside the app/plugin |
# |
Dec 7th 2019, 23:42 |
challgren |
You do not install it into your current app/plugin |
# |
Dec 7th 2019, 23:42 |
niel45 |
Installing goes as expected, but the ones to run it on your application/plugin fail at first stepo |
# |
Dec 7th 2019, 23:41 |
niel45 |
I'm trying to use the instructions here https://book.cakephp.org/4/en/appendices/4-0-upgrade-guide.html but they don't work for me |
# |
Dec 7th 2019, 23:39 |
niel45 |
can anyone help with the 4.x upgrade tool? |
# |
Dec 7th 2019, 23:38 |
corey.taylor.fl |
Update TwigView to twig 3.0? https://github.com/WyriHaximus/TwigView/issues/219 |
# |
Dec 7th 2019, 20:26 |
luizcmarin |
the twig/twig is updated 3.0, but in cake is 2.12.2..... I am suggesting his update. |
# |
Dec 7th 2019, 17:59 |
martin |
oh it is standalone I think? but can I also use custom oauth? |
# |
Dec 7th 2019, 17:53 |
martin |
yes I did found that one, but that works with the old auth component? |
# |
Dec 7th 2019, 17:50 |
admad |
you can use my social-auth plugin :slightly_smiling_face: |
# |
Dec 7th 2019, 17:49 |
admad |
oauth is technically authorzation |
# |
Dec 7th 2019, 17:48 |
martin |
hmm cakephp authenticain middleware does not support login via oauth (like facebook etc) because it is not a authentication method? hmm :S |
# |
Dec 7th 2019, 14:50 |
dereuromark |
usually |
# |
Dec 7th 2019, 14:50 |
dereuromark |
in 4.x /templates/ |
# |
Dec 7th 2019, 14:48 |
luizcmarin |
To customize bake, the manual says: "Create a new directory / src / Template / Bake /." but the 'template' directory has been moved out of 'src'. Is the correct then '/ Template / Bake /'? |
# |
Dec 7th 2019, 13:30 |
luizcmarin |
Hi, I am reviewing the manual in Portuguese and sent two corrections. I can't see where they stay after we send. Could you just let me know how to see this? is corrections for https://book.cakephp.org/4/pt/index.html and https://book.cakephp.org/4/pt/intro.html |
# |
Dec 7th 2019, 13:17 |
damiano |
before inserting updated records |
# |
Dec 7th 2019, 13:17 |
damiano |
basically i have to remove all records that have property_id = 10 |
# |
Dec 7th 2019, 13:17 |
damiano |
is it possible to delete all record that has a specific field before inserting? |
# |
Dec 7th 2019, 13:16 |
damiano |
hello |
# |
Dec 7th 2019, 07:00 |
admad |
@neon1024 for your testing pleasure :slightly_smiling_face: https://github.com/UseMuffin/Webservice/tree/cake-4.x |
# |
Dec 7th 2019, 05:11 |
GigaFlow |
feature* |
# |
Dec 7th 2019, 05:11 |
GigaFlow |
How to use remember_me featre in new Authentication plugin? |
# |
Dec 7th 2019, 03:59 |
turkles |
What is the easiest way to do a LEFT OUTER join? ie. I want all entries where a particular association is empty |
# |
Dec 6th 2019, 21:13 |
challgren |
https://book.cakephp.org/3/en/orm/associations.html#hasmany-associations |
# |
Dec 6th 2019, 21:12 |
challgren |
and bindingKey |
# |
Dec 6th 2019, 21:12 |
challgren |
foreignKey parameter for your relationship |
# |
Dec 6th 2019, 21:10 |
dogmatic69 |
for example joining by a username if that was a field in both tables |
# |
Dec 6th 2019, 21:10 |
dogmatic69 |
Is there a way to define a relation between two tables not using primaryKeys |
# |
Dec 6th 2019, 21:07 |
dogmatic69 |
o/ |
# |
Dec 6th 2019, 16:53 |
neon1024 |
I’ll look at it again on Monday, and perhaps I’ll have a Eureka! moment |