# |
Apr 23rd 2017, 21:45 |
iqu |
yep. yes. this is mysql problem |
# |
Apr 23rd 2017, 21:44 |
dereuromark |
yeah this is sth that bugs me a lot lately :slightly_smiling_face: A new setting of trying to make mysql more standard |
# |
Apr 23rd 2017, 21:44 |
iqu |
ok. This must be something with mysql 5.7 -> http://stackoverflow.com/questions/36228836/syntax-error-or-access-violation-1055-expression-8-of-select-list-is-not-in-gr |
# |
Apr 23rd 2017, 21:40 |
iqu |
Error: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column '247news.Articles.lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by |
# |
Apr 23rd 2017, 21:40 |
iqu |
gives funny warning which i dont fully understand |
# |
Apr 23rd 2017, 21:38 |
iqu |
grouping does not work |
# |
Apr 23rd 2017, 21:38 |
iqu |
->limit(5); |
# |
Apr 23rd 2017, 21:38 |
iqu |
->group(['formatted_address']) |
# |
Apr 23rd 2017, 21:38 |
iqu |
->order(['id' => 'desc']) |
# |
Apr 23rd 2017, 21:38 |
iqu |
->select(['formatted_address']) |
# |
Apr 23rd 2017, 21:38 |
iqu |
$query = $this->Articles->find('distance', $options) |
# |
Apr 23rd 2017, 21:38 |
iqu |
$options = ['lat' => $lat, 'lng' => $lng, 'distance' => $distance]; |
# |
Apr 23rd 2017, 21:36 |
iqu |
dereuromark: question over your fantastic geo plugin |
# |
Apr 23rd 2017, 16:27 |
crazycoder |
i have checked the permissions and i see no problem |
# |
Apr 23rd 2017, 16:26 |
crazycoder |
is this normal? Notice (8): session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) |
# |
Apr 23rd 2017, 15:43 |
dereuromark |
ah thats the catch |
# |
Apr 23rd 2017, 15:40 |
marass |
but not everyone want to pay for it :) |
# |
Apr 23rd 2017, 15:40 |
dereuromark |
A few basics: take a look at the core tickets if you like to help out, check out https://github.com/FriendsOfCake/awesome-cakephp if you find any plugins that you find useful and want to contribute. |
# |
Apr 23rd 2017, 15:39 |
dereuromark |
marass: everyone does :slightly_smiling_face: |
# |
Apr 23rd 2017, 15:39 |
marass |
maybe someone need some help with cake project? |
# |
Apr 23rd 2017, 12:44 |
dereuromark |
plugin |
# |
Apr 23rd 2017, 12:44 |
dereuromark |
checkout the twitter api |
# |
Apr 23rd 2017, 11:58 |
iqu |
basically something that does all this: https://adamboother.com/blog/automatically-posting-to-a-facebook-page-using-the-facebook-sdk-v5-for-php-facebook-api/ |
# |
Apr 23rd 2017, 11:55 |
iqu |
but to post to account |
# |
Apr 23rd 2017, 11:55 |
iqu |
not share |
# |
Apr 23rd 2017, 11:55 |
iqu |
any suggestions: a good social media plugin that is able to post facebook, twitter, googleplus, linkedin... |
# |
Apr 23rd 2017, 10:55 |
dereuromark |
ra7bi: why not? |
# |
Apr 23rd 2017, 10:55 |
dereuromark |
cakephp534: re-format it afterwards after math operations again. formatting != internal calc handling |
# |
Apr 23rd 2017, 10:38 |
crazycoder |
hwo can i get the first day of the week ? |
# |
Apr 23rd 2017, 10:38 |
crazycoder |
pardon the week |
# |
Apr 23rd 2017, 10:38 |
crazycoder |
done |
# |
Apr 23rd 2017, 10:17 |
crazycoder |
how can i get the date of the start of the month ? |
# |
Apr 23rd 2017, 10:17 |
crazycoder |
hey |
# |
Apr 23rd 2017, 10:07 |
theaxiom |
thanks @admad and @dakota |
# |
Apr 23rd 2017, 09:48 |
rudy1976s |
I am working using view extensions: I have put a form opening and closing tags on base view but I noticed form does not work on extended view this way: is normal ? |
# |
Apr 23rd 2017, 09:46 |
rudy1976s |
Hi all and good sunday to everyone |
# |
Apr 23rd 2017, 09:04 |
ayakut |
http://stackoverflow.com/questions/43566928/how-can-i-call-beforesave-methods-recursively-while-saving-associative-data-in-c |
# |
Apr 23rd 2017, 09:03 |
ayakut |
Hi guys I am really stuck! Can anyone answer that question |
# |
Apr 23rd 2017, 09:02 |
cakephp534 |
Hey guys, I have hours with a leading zero ( date('H') ) and I want to add a certain number of hours to the calculation, however when I do date('H') + $i, the resulting number loses its leading zero, what's the beast way to add hours ánd maintaint the leading zero? |
# |
Apr 23rd 2017, 08:20 |
dakota |
@theaxiom `->associations()->remove('Ba')` |
# |
Apr 23rd 2017, 08:08 |
ra7bi |
can i use Sqlite with bake ? |