# |
Jul 6th 2017, 08:28 |
juststeveking |
maybe if I purge redis? |
# |
Jul 6th 2017, 08:27 |
juststeveking |
`CACHE_DRIVER=Redis` |
# |
Jul 6th 2017, 08:27 |
dakota |
Then I don’t know :S |
# |
Jul 6th 2017, 08:27 |
juststeveking |
`CACHE_DISABLED=1` |
# |
Jul 6th 2017, 08:26 |
juststeveking |
Cache is diabled in my `.en filev` |
# |
Jul 6th 2017, 08:25 |
juststeveking |
```Cache::config('_cake_model_', array( 'engine' => $engine, 'prefix' => $prefix . 'cake_model_', 'path' => CACHE . 'models' . DS, 'serialize' => ($engine === 'File'), 'duration' => $duration ));``` |
# |
Jul 6th 2017, 08:25 |
dakota |
Weird… You sure that there isn’t a cache defined? Check the core.php config file for `_cake_model_` |
# |
Jul 6th 2017, 08:24 |
juststeveking |
Empty directories |
# |
Jul 6th 2017, 08:23 |
juststeveking |
But there weren't any directories |
# |
Jul 6th 2017, 08:23 |
juststeveking |
I know :slightly_smiling_face: |
# |
Jul 6th 2017, 08:23 |
dakota |
Just a note, don’t delete the directory, only the files in it :slightly_smiling_face: |
# |
Jul 6th 2017, 08:23 |
dakota |
haha |
# |
Jul 6th 2017, 08:23 |
juststeveking |
fuck wrong window x) |
# |
Jul 6th 2017, 08:23 |
juststeveking |
ls -la ../ |
# |
Jul 6th 2017, 08:23 |
dakota |
What is there? |
# |
Jul 6th 2017, 08:22 |
juststeveking |
There isn't even a models directory in the cache directory :S |
# |
Jul 6th 2017, 08:21 |
juststeveking |
Let me just SSH in and see what I can find |
# |
Jul 6th 2017, 08:21 |
dakota |
In cake 3 there is a connection level config for it |
# |
Jul 6th 2017, 08:21 |
dakota |
At least cake 2.x does |
# |
Jul 6th 2017, 08:21 |
dakota |
Especially with debug off |
# |
Jul 6th 2017, 08:20 |
dakota |
Cake always caches the database structure |
# |
Jul 6th 2017, 08:20 |
dakota |
Default place would be tmp/cache/model iirc |
# |
Jul 6th 2017, 08:20 |
juststeveking |
And there is no cache enabled on the application |
# |
Jul 6th 2017, 08:20 |
dakota |
In that case, clear your model cache |
# |
Jul 6th 2017, 08:20 |
juststeveking |
I am able to query it from MySQL workbench no problems |
# |
Jul 6th 2017, 08:20 |
juststeveking |
It does yes |
# |
Jul 6th 2017, 08:20 |
dakota |
As per that name |
# |
Jul 6th 2017, 08:20 |
dakota |
I assume you’ve check that the table does exist? |
# |
Jul 6th 2017, 08:19 |
dakota |
juststeveking |
# |
Jul 6th 2017, 08:19 |
juststeveking |
or whichever one the command was x) |
# |
Jul 6th 2017, 08:19 |
juststeveking |
Should I try `Console/cake schema update` |
# |
Jul 6th 2017, 08:19 |
juststeveking |
I have ran the migrations |
# |
Jul 6th 2017, 08:19 |
juststeveking |
I added a plugin (cakephp 2.x app) and it worked in my local environment, I pushed this up to a dev sserver for wider testing, and now I am getting the following error: `Table asbaudits for model Audit was not found in datasource default.` |
# |
Jul 6th 2017, 08:18 |
megan |
hey juststeveking, sure go ahead and ask :slightly_smiling_face: |
# |
Jul 6th 2017, 08:17 |
juststeveking |
Anybody got a sec to help me get my head around a problem? |
# |
Jul 6th 2017, 08:15 |
juststeveking |
Morning al |
# |
Jul 6th 2017, 08:00 |
jonasz |
Morning guys |
# |
Jul 6th 2017, 07:43 |
glanceded |
It seems it is present in docs, but not in composer.json |
# |
Jul 6th 2017, 07:25 |
glanceded |
I will check it today, it's the cakephp docs repo? |
# |
Jul 6th 2017, 07:24 |
glanceded |
yes, I would like to make a PR. It would be nice for people to know the complete lib list |
# |
Jul 6th 2017, 07:23 |
glanceded |
Hello neon1024 |