Log message #4132309

# At Username Text
# Apr 13th 2018, 12:45 mtreu Error: [InvalidArgumentException] Cannot convert value to integer in /var/www/html/vendor/cakephp/cakephp/src/Database/Type/IntegerType.php
# Apr 13th 2018, 12:44 btx what does the error say
# Apr 13th 2018, 12:44 mtreu however it does not seem to work and i m only getting the standard cakephp error
# Apr 13th 2018, 12:43 mtreu $this->Applications->find('all',['conditions'=>['Applications.id'=>[14,15]]]);
# Apr 13th 2018, 12:43 mtreu syntax wise this should be fine no?
# Apr 13th 2018, 12:43 mtreu I want to find in my model Applications the indexes 14 and 15
# Apr 13th 2018, 12:42 mtreu i have a problem with multiple ID queries
# Apr 13th 2018, 12:42 mtreu Hi!
# Apr 13th 2018, 12:38 dereuromark there you can find the bootstrap plugin linked
# Apr 13th 2018, 12:38 lorenzo @stalkerxxl this https://github.com/friendsofcake/bootstrap-ui
# Apr 13th 2018, 12:37 slackebot2 !tell @stalkerxxl about awesome
# Apr 13th 2018, 12:37 slackebot2 Command sent from Slack by dereuromark:
# Apr 13th 2018, 12:32 stalkerxxl Guys, what's the easiest way to use bootstrap in CakePHP? I installed AdminLTE, but it's a plugin .. And I have little experience and I do not want to then look for errors in the code related to the plugins .. How do I switch to bootstrap (a simple template) so that BAKE works with it? P.S. Can someone have a Russian-speaking in this chat room?
# Apr 13th 2018, 12:02 steinkel if so, reading the 1st line of the file would give you the ts
# Apr 13th 2018, 12:02 steinkel @neon1024 are you using file cache?
# Apr 13th 2018, 11:49 neon1024 Most of the Cache api seems to be around the item in cache, rather than the meta
# Apr 13th 2018, 11:49 neon1024 I’d like to display how long the cache has left until invalidation
# Apr 13th 2018, 11:49 neon1024 Anyone know how I can read the cache datetime of an item?
# Apr 13th 2018, 10:25 tobias yes did everything like the tutorial https://book.cakephp.org/2.0/en/development/testing.html
# Apr 13th 2018, 10:22 neon1024 Sounds like a missing class
# Apr 13th 2018, 10:12 tobias does anybody know this problem?
# Apr 13th 2018, 10:12 tobias in my cake 2 project everytime i try to execute app/Console/cake test app TestEverything, TestEverything is a Suite i get the error Message, Class '' could not be found in app/Test/Case/TestEverythingTest.php
# Apr 13th 2018, 10:09 iqu i have to see events as well. that might be one solution as well
# Apr 13th 2018, 10:08 iqu they are dangerous even though they come with hero badge
# Apr 13th 2018, 10:08 neon1024 Along with suspension of your good coder badge
# Apr 13th 2018, 10:08 neon1024 Well, no, that would be `$_GLOBAL`
# Apr 13th 2018, 10:06 iqu easiest global variable ever :D
# Apr 13th 2018, 10:06 neon1024 LOL
# Apr 13th 2018, 10:05 iqu @neon1024 @dereuromark. more general solution. json_encode whole object and then pass it whereever with assign and read it anywhere with fetch :)
# Apr 13th 2018, 09:23 neon1024 @paulo.moura Could be some permissions issues with that, as the other folder might not be owned by the web server, or have write permissions. Which is why I usually use a folder in the root of the project for non web accessible file uploads
# Apr 13th 2018, 09:20 spriz Ahh @dereuromark - I just found the same header with help from @jippi
# Apr 13th 2018, 09:14 iqu neon1024: dereuromark: easy solution was to use assign and fetch
# Apr 13th 2018, 09:13 paulo.moura Its normal to not work when you try to move and uploaded file outside the app folder? example: appfolder path: /var/www/html/ desired destination folder: /var/www/randomfolder
# Apr 13th 2018, 09:08 paulo.moura @dereuromark thanks. I will take a look
# Apr 13th 2018, 09:05 dereuromark using the libs available. e.g. Flysystem adapters.
# Apr 13th 2018, 08:58 paulo.moura Anyone know how to save an uploaded file to a folder outside of the project?
# Apr 13th 2018, 08:53 dereuromark #Heroku way RewriteCond %{HTTP:X-Forwarded-Proto} !https
# Apr 13th 2018, 08:53 dereuromark LOL, someone built that in into the htaccess file in our app ;) I just saw it " force redirect to ssl"
# Apr 13th 2018, 08:51 spriz Unfortunately the default Heroku things still allow access without https, but it might be a settings thing :slightly_smiling_face: Thanks @dereuromark
# Apr 13th 2018, 08:50 iqu dereuromark: thanks. i got it
# Apr 13th 2018, 08:50 neon1024 What @dereuromark said ;)