# |
Jun 12th 2018, 22:20 |
dereuromark |
there are usually two different php.ini etc |
# |
Jun 12th 2018, 22:19 |
dereuromark |
if it works from web, maybe your php setup for CLI doesnt contain the right db drivers |
# |
Jun 12th 2018, 22:18 |
metajake |
^ hmmm okay. |
# |
Jun 12th 2018, 22:17 |
dereuromark |
i just did and found immediately a clue: Most likely invalid db connection, cannot access your database from bake. |
# |
Jun 12th 2018, 22:17 |
dereuromark |
did you google this error? |
# |
Jun 12th 2018, 22:15 |
metajake |
…any otherwise, my app works fine with the database. I have a basic CRUD working. |
# |
Jun 12th 2018, 22:15 |
metajake |
I've tried the most common solutions of resetting my database passwords to the 41 character hash. |
# |
Jun 12th 2018, 22:14 |
metajake |
might anyone have any ideas or insight into this issue? |
# |
Jun 12th 2018, 22:14 |
metajake |
Hi all. I’m trying to run “bin/cake bake model users” from the Tags and Users tutorial. I’m getting back the following error in my command line: The server requested authentication method unknown to the client in… |
# |
Jun 12th 2018, 21:58 |
lorenzo |
the plugin has not changed in a long time |
# |
Jun 12th 2018, 21:57 |
lorenzo |
well, it was true |
# |
Jun 12th 2018, 21:52 |
dereuromark |
=> https://www.dereuromark.de/2018/03/14/cakephp-3-6-is-coming/#prepare-your-plugins |
# |
Jun 12th 2018, 21:51 |
dereuromark |
^3.0 etc sure wont cut it |
# |
Jun 12th 2018, 21:51 |
dereuromark |
cake core constraint :slightly_smiling_face: |
# |
Jun 12th 2018, 21:49 |
lorenzo |
or maybe I don’t understand what you mean |
# |
Jun 12th 2018, 21:48 |
lorenzo |
I will bump to 2.0 |
# |
Jun 12th 2018, 21:48 |
dereuromark |
prefer-lowest I mean |
# |
Jun 12th 2018, 21:48 |
dereuromark |
@lorenzo It is probably safest to apply a bc check travis build to your plugin, to make sure minimal version is true |
# |
Jun 12th 2018, 21:45 |
lorenzo |
@itmpls almost done with deprecations |
# |
Jun 12th 2018, 21:43 |
itmpls |
@lorenzo - I'd also be happy to test/QA if you got other things, or just check if you haven't gotten to it at all |
# |
Jun 12th 2018, 20:53 |
squeeze |
hello all. For information link => "https://api.cakephp.org/3.6/source-constant-COMPARE_GREATER_OR_EQUAL.html#64-67" give a 404 error... |
# |
Jun 12th 2018, 20:45 |
lorenzo |
I’ll let you know |
# |
Jun 12th 2018, 20:43 |
itmpls |
appreciate it - lemme know whenever you want me to try to composer update :slightly_smiling_face: |
# |
Jun 12th 2018, 20:42 |
itmpls |
ok |
# |
Jun 12th 2018, 20:34 |
lorenzo |
you will get some deprecation errors, I will try to fix them now |
# |
Jun 12th 2018, 20:33 |
itmpls |
i'll update now |
# |
Jun 12th 2018, 20:33 |
itmpls |
3.6 |
# |
Jun 12th 2018, 20:33 |
itmpls |
oh wow, didn't know you were doing it now. |
# |
Jun 12th 2018, 20:33 |
lorenzo |
@itmpls what cake version are you using? |
# |
Jun 12th 2018, 20:31 |
lorenzo |
there are now migrations for it https://github.com/lorenzo/audit-stash#tables--regular-databases |
# |
Jun 12th 2018, 20:30 |
itmpls |
that's a nice pr |
# |
Jun 12th 2018, 20:28 |
itmpls |
oh |
# |
Jun 12th 2018, 20:27 |
lorenzo |
that should make stuff more clear |
# |
Jun 12th 2018, 20:27 |
lorenzo |
@itmpls actually, I’m going to merge this pr https://github.com/lorenzo/audit-stash/pull/21 |
# |
Jun 12th 2018, 20:26 |
lorenzo |
@itmpls the fields it saves https://github.com/lorenzo/audit-stash/blob/master/src/Persister/DatabasePersister.php#L40-L48 |
# |
Jun 12th 2018, 20:23 |
itmpls |
and.. is the audit stash schema anywhere? |
# |
Jun 12th 2018, 20:23 |
itmpls |
hey @lorenzo - starting to implement that.. I grabbed the package, setup the DB persister class and confirmed it's pulling in the class. so will it not attempt to write to the audit stash table unless the db config is specified? and i just replace the ES stuff with mysql for example? persistent can be false? |
# |
Jun 12th 2018, 19:43 |
mdotobie |
disregard |
# |
Jun 12th 2018, 18:35 |
mdotobie |
I’m having a little trouble using the uploadedFile validation. I have the settings to only accept a file of the `application/pdf` type and the upload form has the correct enctype. But when I include a valid PDF, I’m getting an error. |
# |
Jun 12th 2018, 18:24 |
lorenzo |
@itmpls you can use the plugin and use your own persistent class, but there is a database persistent as well included |
# |
Jun 12th 2018, 18:12 |
admad |
@pedroseco you are supposed to write integration tests for controllers. Read up about it on manual |