# |
May 26th 2016, 01:19 |
chars6 |
i hope it's my laptop setup and not the code, so i don't break production next time i update |
# |
May 26th 2016, 01:16 |
chars6 |
and every time to FileLog.php on line 134 |
# |
May 26th 2016, 01:16 |
chars6 |
the only reason i thought of trying as sudo is stdout keeps unsuccessfully trying to write to a log file. over and over 'PHP Warning', 'failed to open stream: Permission denied' |
# |
May 26th 2016, 01:14 |
chars6 |
has that happened to anyone else before? |
# |
May 26th 2016, 01:14 |
chars6 |
so, i don't know when this happened, but with my local copy of my cake site, i can't log into the admin section unless i run the server as sudo |
# |
May 25th 2016, 23:47 |
shudon |
hi all :) in cakephp2, is it typical for an application to have multiple mutually exclusive configuration files in named "local.php" "production.php" and "offsite.php" in app/Config ? |
# |
May 25th 2016, 22:51 |
ionas |
bravo-kernel where you from btw? |
# |
May 25th 2016, 22:50 |
LACabeza |
but without any condition, that join sectors will ruim your query |
# |
May 25th 2016, 22:50 |
LACabeza |
something like on Sectors.id = ValidatedSectors.id or Sectors.id = AgentsValidatedSectors.sector_id, i dont know |
# |
May 25th 2016, 22:47 |
phpcoder |
uh? |
# |
May 25th 2016, 22:47 |
LACabeza |
phpcoder you need join sectors and agent_sectors |
# |
May 25th 2016, 21:46 |
phpcoder |
*well |
# |
May 25th 2016, 21:46 |
phpcoder |
guys cake returns this query https://gist.github.com/anonymous/7ff67a7838792aeb584bc70e78b66329 it works but why does it use 1 = 1 here https://gist.github.com/anonymous/7ff67a7838792aeb584bc70e78b66329#file-test-sql-L67 it does not look very good |
# |
May 25th 2016, 21:25 |
LACabeza |
nevermind, i found the anwser on docs |
# |
May 25th 2016, 21:24 |
LACabeza |
hi! do i need to create templates on a json webservice? |
# |
May 25th 2016, 20:49 |
hekep |
!logs |
# |
May 25th 2016, 20:37 |
jefazos |
anyone around? |
# |
May 25th 2016, 20:37 |
jefazos |
hello |
# |
May 25th 2016, 20:18 |
jefazos |
is there anyone here? |
# |
May 25th 2016, 20:17 |
jefazos |
if someone is open to help |
# |
May 25th 2016, 20:17 |
jefazos |
I need some help in finding the correct way to add a functionality to my app |
# |
May 25th 2016, 20:10 |
Eax |
Hey folks! Cake3 question: I have this LoginController: https://gist.github.com/eaxexe/64442df2e6465a67fe7a0fcd98ad27f7 (It uses Facebook to auth the login, hence no password checking) - My question is: Can anyone see why the cookie simply dissapears after being set and the user being redirected? Thanks! ð??? |
# |
May 25th 2016, 19:00 |
bravo-kernel |
thanks again for the framework guys, enjoy the fest |
# |
May 25th 2016, 18:59 |
slackebot |
Action: bravo-kernel gives everybody NL hugs, just because |
# |
May 25th 2016, 18:30 |
ionas |
anyone wants to go out and have a bite and resides near to the conference place? |
# |
May 25th 2016, 17:57 |
a.barclay |
will do, thanks for the help guys :slightly_smiling_face: |
# |
May 25th 2016, 17:57 |
nrother |
try removing unnecessary columns, so its easy to see the interesting things in the query ;) |
# |
May 25th 2016, 17:57 |
a.barclay |
Maybe the SQL example will help them see it's an issue, because that seems to be generated entirely by Paginator rather than any query I'm doing |
# |
May 25th 2016, 17:56 |
a.barclay |
Yeah that might be worth doing, though I can't see how I can make it simpler, there's only 3 models and 2 joins |
# |
May 25th 2016, 17:55 |
nrother |
you could try to create a simple example so its easier to see that there is actually a bug. |
# |
May 25th 2016, 17:54 |
a.barclay |
but I can't see any missing associations / joins |
# |
May 25th 2016, 17:53 |
a.barclay |
I was told "You'll have to sort out the missing associations/joins. That isn't a bug with CakePHP" |
# |
May 25th 2016, 17:53 |
a.barclay |
I tried filing a bug on GitHub and it was rejected |
# |
May 25th 2016, 17:53 |
nemmons |
Maybe posting this SQL to the thread you started will help other more experienced people see the issue more clearly? |
# |
May 25th 2016, 17:53 |
a.barclay |
Neither have I, but for this particular application it would be helpful to have that restriction in the model |
# |
May 25th 2016, 17:53 |
nemmons |
Sorry i can't be more help than that =\ |
# |
May 25th 2016, 17:53 |
nrother |
you can try filing a bug on github, maybe someone with more experience of the internals can help |
# |
May 25th 2016, 17:52 |
a.barclay |
Yeah. |
# |
May 25th 2016, 17:52 |
nemmons |
but i've never tried to paginate on a model containing an association defined by a custom finder, so there's a lot going on here |
# |
May 25th 2016, 17:52 |
nemmons |
There doesn't seem to be anything obviously wrong here |
# |
May 25th 2016, 17:52 |
a.barclay |
hehe, that's true :slightly_smiling_face: |