# |
May 27th 2016, 21:28 |
phpcoder |
ionas https://gist.github.com/anonymous/08a079d90a3fcf85f58705c1aca298a2#file-gistfile1-txt-L4-L9 |
# |
May 27th 2016, 21:28 |
ionas |
(later on) |
# |
May 27th 2016, 21:28 |
ionas |
phpcoder: SELECT count(*) FROM fooâ?¦ maybe you can use select() with a custom expression and use hydrate(false) |
# |
May 27th 2016, 21:22 |
phpcoder |
i read ->count() execute the query and returns the number of records |
# |
May 27th 2016, 21:21 |
phpcoder |
without executing the quesry? |
# |
May 27th 2016, 21:21 |
phpcoder |
how can i get the query object with COUNT |
# |
May 27th 2016, 21:21 |
phpcoder |
hello |
# |
May 27th 2016, 20:15 |
Axel___ |
is there a way to bake test with a prefix if it wasn't done the right way at the start? |
# |
May 27th 2016, 20:03 |
rohan__ |
ok let me do this |
# |
May 27th 2016, 20:02 |
ionas |
like webroot/plugins/PLUGINNAME/js/jquery.min.js |
# |
May 27th 2016, 20:01 |
ionas |
rohan__: symbolic link your plugin to your webroot |
# |
May 27th 2016, 19:57 |
rohan__ |
Yes in AppControllers beforeRender |
# |
May 27th 2016, 19:56 |
graziel |
rohan_ did you loadPlugin in bootstrap.php and added $this->ViewBuilder()->theme('mytheme') somewhere in the code before render? |
# |
May 27th 2016, 19:52 |
rohan__ |
so in plugins directory I have created Front/webroot/js/jquery.min.js file ... The theme is loading properly but the js and css associated to the theme is not loading |
# |
May 27th 2016, 19:51 |
rohan__ |
I am trying to learn Themes in cakephp |
# |
May 27th 2016, 19:51 |
rohan__ |
Hello all, I am trying to setup a project in cakephp 3 on nginx ... the project is working but all the css and js is not showing up, and in browser console .. the links to js and css file are showing 404.. what could be the issue in this. |
# |
May 27th 2016, 19:37 |
ionas |
^^ |
# |
May 27th 2016, 19:37 |
YamakasY |
ionas: joking mate, I don't see what you want |
# |
May 27th 2016, 19:36 |
YamakasY |
that makes spaceCake[]; |
# |
May 27th 2016, 19:36 |
YamakasY |
cakephp('space'); |
# |
May 27th 2016, 19:36 |
ionas |
its not |
# |
May 27th 2016, 19:36 |
YamakasY |
you are in cakephp it's a function to bake cake |
# |
May 27th 2016, 19:35 |
ionas |
I am coding tests testExistsInAllowSqlNulls |
# |
May 27th 2016, 19:35 |
YamakasY |
yes! |
# |
May 27th 2016, 19:35 |
ionas |
huh? |
# |
May 27th 2016, 19:35 |
YamakasY |
*coding |
# |
May 27th 2016, 19:35 |
YamakasY |
you should be coding nodig baking cake :P |
# |
May 27th 2016, 19:35 |
ionas |
why? |
# |
May 27th 2016, 19:34 |
YamakasY |
wrong channel ? :P |
# |
May 27th 2016, 19:34 |
YamakasY |
ionas: oh mate are you lost ? |
# |
May 27th 2016, 19:34 |
ionas |
any hint? |
# |
May 27th 2016, 19:34 |
ionas |
despite that there is a SiteArticlesFixture.php |
# |
May 27th 2016, 19:34 |
ionas |
Cake\Database\Exception: Cannot describe site_articles. It has 0 columns. |
# |
May 27th 2016, 19:34 |
ionas |
in RulesCheckerIntegrationTests.php there I did add $table = TableRegistry::get('SiteArticles'); - now when running the test I get this error: Cake\Test\TestCase\ORM\RulesCheckerIntegrationTest::testExistsInAllowSqlNulls |
# |
May 27th 2016, 19:33 |
YamakasY |
no people baking cake ? |
# |
May 27th 2016, 19:32 |
YamakasY |
oh lovely people! |
# |
May 27th 2016, 19:24 |
marlinc |
Very nice! I wonder what the conference itself will be like :) |
# |
May 27th 2016, 19:23 |
ionas |
hotel had stable internet and good food |
# |
May 27th 2016, 19:23 |
ionas |
I could take some more card and board games to come down from all the hacking :P â?¦. but the the social climate is great, the workshops were nice (though I will have to re-do the one on collections and toy a lot more to get more into it) |
# |
May 27th 2016, 19:22 |
marlinc |
How's it going so far ionas? |
# |
May 27th 2016, 19:20 |
marlinc |
I wish I could come now but I can't unfortunately.. |