# |
Nov 30th 2017, 09:54 |
maymeow |
@ceeram looking for library that allows me to manage git repositories (even --bare) from php application |
# |
Nov 30th 2017, 09:54 |
ghoritrilochan |
how to solve plz help me |
# |
Nov 30th 2017, 09:53 |
ghoritrilochan |
404 not found image: <li style="background-image: url(images/slide_1.jpg);"> |
# |
Nov 30th 2017, 09:52 |
ghoritrilochan |
hii.. |
# |
Nov 30th 2017, 09:51 |
ceeram |
@maymeow not sure what you are looking for, but we use this https://github.com/ggioffreda/git |
# |
Nov 30th 2017, 09:05 |
neon1024 |
Morning all |
# |
Nov 30th 2017, 08:50 |
spriz |
thanks a lot @admad!! |
# |
Nov 30th 2017, 08:50 |
spriz |
Ah ffs - I’m missing a `.` in the `extensions` key |
# |
Nov 30th 2017, 08:49 |
spriz |
Current file is: https://gist.github.com/Spriz/a1a7da78167fbf2fe85b63c18add6d0c |
# |
Nov 30th 2017, 08:49 |
spriz |
Ah, ofc - I’ll try to copy that @admad. |
# |
Nov 30th 2017, 08:48 |
admad |
@spriz https://github.com/cakephp/cakephp/blob/fbd230b1ff56a7563473747de5ffde1a99959b5f/.stickler.yml#L3 |
# |
Nov 30th 2017, 08:43 |
akutaktau |
still display forbidden page |
# |
Nov 30th 2017, 08:43 |
akutaktau |
trying to set ErrorDocument in htaccess also not redirecting it to 404 |
# |
Nov 30th 2017, 08:42 |
akutaktau |
hi, just a quick question, how to handle https://cakephp.org/<s>/<s> from giving a forbidden page? |
# |
Nov 30th 2017, 08:37 |
spriz |
I just can’t make the phpcs with CakePHP standard work - and after writing the support I think something’s wrong on our end |
# |
Nov 30th 2017, 08:37 |
spriz |
:wave: @birdy247! Does anyone have experience using stickler-ci? :slightly_smiling_face: |
# |
Nov 30th 2017, 08:11 |
birdy247 |
morning |
# |
Nov 30th 2017, 07:58 |
maymeow |
Anyone knows good PHP library to manage git? |
# |
Nov 30th 2017, 07:28 |
cakephp696 |
is right? how to modelize this situation? |
# |
Nov 30th 2017, 07:28 |
cakephp696 |
data in admins table |
# |
Nov 30th 2017, 07:27 |
cakephp696 |
I'd like to add a switch field in users table and then link users with another table, so that if the user is an admin I memorize the additional |
# |
Nov 30th 2017, 07:26 |
cakephp696 |
an user can be also an administrator, and in that case I'd like to add some fields |
# |
Nov 30th 2017, 07:26 |
cakephp696 |
hi all I have a table 'users' with some fields |
# |
Nov 30th 2017, 01:58 |
AlexMax |
but every sqlite3 database contains a 'rowid' field that is usually hidden from select * |
# |
Nov 30th 2017, 01:58 |
AlexMax |
erm it doesn't have an 'id' field |
# |
Nov 30th 2017, 01:58 |
AlexMax |
I'm trying to map an existing database to a model, and it doesn't have a row id |
# |
Nov 30th 2017, 01:57 |
AlexMax |
Question - is there some easy way to hydrate the 'rowid' row in all queries for an sqlite3 database? |
# |
Nov 30th 2017, 00:27 |
obinoob |
yes it should work I'm reading a stack overflow that points it out |
# |
Nov 30th 2017, 00:26 |
phantomwatson |
``` $conn = ConnectionManager::get('default'); $conn->logQueries(true); ``` That should do it. |
# |
Nov 30th 2017, 00:25 |
phantomwatson |
I _think_ that shouldn't make a difference. ``` |
# |
Nov 30th 2017, 00:24 |
obinoob |
phantomwatson I'm using an entity :( |
# |
Nov 30th 2017, 00:23 |
phantomwatson |
I think this is what you're looking for: https://book.cakephp.org/3.0/en/orm/database-basics.html#query-logging |
# |
Nov 30th 2017, 00:20 |
obinoob |
phantomwatson I need to log the sql I guess I'm calling a bad methods $this->log($clients->sql()); |
# |
Nov 30th 2017, 00:20 |
obinoob |
phantomwatson I am tailing the logs and not much help |
# |
Nov 30th 2017, 00:19 |
obinoob |
phantomwatson absolutely positive |
# |
Nov 30th 2017, 00:19 |
obinoob |
phantomwatson the problem is that the request is being made via ajax |
# |
Nov 30th 2017, 00:18 |
phantomwatson |
Regarding that error message, are you sure that the `district_id` value exists in the `districts` table? |
# |
Nov 30th 2017, 00:16 |
phantomwatson |
The DebugKit has a "Sql Log" tab that you can use to browse the queries used in the last request. |
# |
Nov 30th 2017, 00:15 |
obinoob |
how can I get the sql being generated so i can have a glimpse of whats going wrong? |
# |
Nov 30th 2017, 00:11 |
phantomwatson |
Does anyone know of a slick way to get the current `\Cake\Http\Response` from a `\Cake\Event\Event`? I'm trying to delete a cookie in response to an `Auth.logout` event in an Authentication class, but the only parameters supported are `$event` and `$user`. |
# |
Nov 30th 2017, 00:11 |
obinoob |
good evening, anyone knows why I'm having this message (line 2) https://gist.github.com/obinoob/235840a3aaa6224d43d4cdb87aab0419 |