# |
May 26th 2016, 07:21 |
dakota |
Test test |
# |
May 26th 2016, 03:05 |
royalty |
okay thanks lol |
# |
May 26th 2016, 03:05 |
royalty |
yeah, that is the case |
# |
May 26th 2016, 02:56 |
royalty |
because it seems like the AppView layout won't let me over-ride it from the controller? |
# |
May 26th 2016, 02:56 |
royalty |
which layout should take precedence? |
# |
May 26th 2016, 02:55 |
royalty |
in my controller section i want to change the layout |
# |
May 26th 2016, 02:55 |
royalty |
so in my appview i have a layout set |
# |
May 26th 2016, 02:55 |
royalty |
simple question about cake 3 views |
# |
May 26th 2016, 02:55 |
royalty |
hello |
# |
May 26th 2016, 02:38 |
ayam |
hello, how can i save data to another model from other model. lat say, i've table users, books and loans. in loans, i've id, user_id and loan_id. let say i borrow book_id = 3, using user_id = 1. How can i write in table books taht the books is on loan? |
# |
May 26th 2016, 02:04 |
chars6 |
chmod logs got rid of the errors in stdout, but i still can't log into admin |
# |
May 26th 2016, 01:59 |
voycey |
but if your webserver cant read the files because you uploaded them as root thats probably a pretty good start to look at |
# |
May 26th 2016, 01:59 |
voycey |
also the logs directory for 3.x |
# |
May 26th 2016, 01:58 |
voycey |
its not /tmp |
# |
May 26th 2016, 01:41 |
chars6 |
that didn't work |
# |
May 26th 2016, 01:37 |
chars6 |
ohh, durr, you're talking about tmp inside my cake root dir, not /tmp ? |
# |
May 26th 2016, 01:31 |
chars6 |
not saying i'm doing that, just asking |
# |
May 26th 2016, 01:31 |
chars6 |
messing with /tmp is fairly benign, right? technically i could even delete all of /tmp, restart, and be fine? |
# |
May 26th 2016, 01:27 |
chars6 |
well, not all the contents are 777 though |
# |
May 26th 2016, 01:25 |
chars6 |
i ran stat -c "%a %n" /tmp and it says it already is 1777 |
# |
May 26th 2016, 01:22 |
voycey |
and you should look into how you are uploading files |
# |
May 26th 2016, 01:21 |
voycey |
chmod -R 777 tmp |
# |
May 26th 2016, 01:21 |
voycey |
it sounds like you have messed up the file permissions# |
# |
May 26th 2016, 01:19 |
chars6 |
it's gotta be my laptop... i haven't touched the admin section in months |
# |
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? |