# |
Oct 3rd 2016, 11:40 |
WebDevB |
to this: /en/users/login/language:en |
# |
Oct 3rd 2016, 11:40 |
acosonic |
try this http://zenofcoding.com/2009/01/12/462/ |
# |
Oct 3rd 2016, 11:40 |
WebDevB |
When you try and login to the /admin with the correct details it redirects you to |
# |
Oct 3rd 2016, 11:40 |
WebDevB |
Just need to get the admin working correctly. |
# |
Oct 3rd 2016, 11:39 |
WebDevB |
acosonic: yea it's really old to be fair but there isn't much time to upgrade it. |
# |
Oct 3rd 2016, 11:39 |
acosonic |
WebDevB: uh-huh, its pretty old. If your app is not really large I suggest upgrading it to at last 2.4 if 3 is too big switch for you... |
# |
Oct 3rd 2016, 11:38 |
WebDevB |
acosonic: 1.3.19 to be exact. |
# |
Oct 3rd 2016, 11:37 |
WebDevB |
to be exact |
# |
Oct 3rd 2016, 11:37 |
WebDevB |
1.3.19 |
# |
Oct 3rd 2016, 11:36 |
WebDevB |
1.3 |
# |
Oct 3rd 2016, 11:35 |
acosonic |
WebDevB: which version of Cake are you using? |
# |
Oct 3rd 2016, 11:34 |
WebDevB |
acosonic: Yea sorry, do you know where the default user controller is? I've not really used CakePHP much... Sorry to sound num |
# |
Oct 3rd 2016, 11:34 |
acosonic |
WebDevB: you need to be more specific... Check your action on sucessful and unsucessful login, put a var dump there or something |
# |
Oct 3rd 2016, 11:28 |
WebDevB |
Can anyone help? |
# |
Oct 3rd 2016, 11:28 |
WebDevB |
Hey guys, we've got a multi langauge site and when we're trying to login it's redirecting us back to the homepage saying incorrect login details but they are correct. |
# |
Oct 3rd 2016, 11:28 |
livia.scapin |
my code is waiting for tests since 2 yearsâ?¦ |
# |
Oct 3rd 2016, 11:21 |
johan |
`public function testXxxI()` |
# |
Oct 3rd 2016, 11:21 |
johan |
as long as starts with the word `test`, as far as I know |
# |
Oct 3rd 2016, 11:05 |
dereuromark |
Yeah :slightly_smiling_face: |
# |
Oct 3rd 2016, 10:57 |
unorthodox |
lol |
# |
Oct 3rd 2016, 10:57 |
crazycoder |
D |
# |
Oct 3rd 2016, 10:57 |
Neon1024 |
Indiaâ??s software industry would shut down without Stackoverflow haha |
# |
Oct 3rd 2016, 10:56 |
Neon1024 |
Whatâ??s wrong with copying random code from Stackoverflow and putting it in your project! :p |
# |
Oct 3rd 2016, 10:56 |
unorthodox |
If you really want to use cakephp's way |
# |
Oct 3rd 2016, 10:56 |
unorthodox |
http://book.cakephp.org/3.0/en/views/helpers/html.html#creating-meta-tags |
# |
Oct 3rd 2016, 10:56 |
crazycoder |
ok copy and paste |
# |
Oct 3rd 2016, 10:55 |
crazycoder |
Neon1024, ahaha :D |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
p |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Write a library which you can then implement into a helper, which you can call in your layout |
# |
Oct 3rd 2016, 10:55 |
unorthodox |
:( |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Copy and paste into your layout? |
# |
Oct 3rd 2016, 10:55 |
Neon1024 |
Haha |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
but how can i add them via cakephp ? |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
oh thank unorthodox |
# |
Oct 3rd 2016, 10:54 |
crazycoder |
$this->response->expires('-1 days'); |
# |
Oct 3rd 2016, 10:50 |
unorthodox |
http://stackoverflow.com/a/1341133 |
# |
Oct 3rd 2016, 10:49 |
crazycoder |
guys how can i prevent that browsers cache my page? |
# |
Oct 3rd 2016, 10:49 |
crazycoder |
hello |
# |
Oct 3rd 2016, 09:38 |
Neon1024 |
lol |
# |
Oct 3rd 2016, 09:38 |
charolastra |
i see, thanks |
# |
Oct 3rd 2016, 09:37 |
unorthodox |
That's still an echo |