# |
Jun 13th 2018, 06:47 |
admad |
@thomasnucleus ^ |
# |
Jun 13th 2018, 06:45 |
admad |
"I've tried setting 'timestamp' => 'force', in app.php but no luck" that should be enough. Doing so would include the file's last modified timestamp in querystring for asset URLs. So when you update a file the timestamp would be updated and browser would download file again. |
# |
Jun 13th 2018, 06:25 |
thomasnucleus |
How can I ensure people that visit my site are downloading the latest js and css files from webroot? I'm getting a lot of errors in error.log for old js/css files I removed a while ago. I believe client's browser cache's are still trying to access these files? Not sure what to do. I've tried setting 'timestamp' => 'force', in app.php but no luck. Anyone know what's happening? |
# |
Jun 13th 2018, 02:08 |
genellern |
Nicely done, pretty ROR like |
# |
Jun 13th 2018, 02:08 |
genellern |
Never mind, I found out about Json and XML views |
# |
Jun 13th 2018, 02:05 |
genellern |
Hi guys, returning to Cakephp after awhile, when using a json ext page it's asking me for a json template, is it a new behavior in v3.6.5 ? |
# |
Jun 12th 2018, 22:30 |
jaynoco |
i see. heh |
# |
Jun 12th 2018, 22:27 |
dereuromark |
https://github.com/alt3/cakebox (something) |
# |
Jun 12th 2018, 22:27 |
jaynoco |
what is sth? |
# |
Jun 12th 2018, 22:26 |
jaynoco |
i’ll look into cakebox |
# |
Jun 12th 2018, 22:26 |
dereuromark |
most people use cakebox or sth which provides all out of the box |
# |
Jun 12th 2018, 22:26 |
dereuromark |
bake itself is not the prob, any connection to db from CLI will be. you need to fix it |
# |
Jun 12th 2018, 22:24 |
jaynoco |
@dereuromark I see. Might there be an alternative method the cake bake, if I’m having trouble installing these modules via the command line? (Metajake from IRC). |
# |
Jun 12th 2018, 22:21 |
lorenzo |
@itmpls https://github.com/lorenzo/audit-stash/releases/tag/2.0.0 |
# |
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 |