# |
Aug 9th 2008, 20:11 |
Spoom |
gimme a sec, i'll post the relevant controller code |
# |
Aug 9th 2008, 20:11 |
Spoom |
yeah, probably |
# |
Aug 9th 2008, 20:11 |
rafaelbandeira3 |
wich may use some requestAction? |
# |
Aug 9th 2008, 20:11 |
rafaelbandeira3 |
so you got something on you xmlHttpRequest handling that is not right... I mean, like a special logic |
# |
Aug 9th 2008, 20:10 |
Spoom |
yes |
# |
Aug 9th 2008, 20:10 |
rafaelbandeira3 |
so the url works just fine but not with the xmlHttpRequest? |
# |
Aug 9th 2008, 20:09 |
Spoom |
it's going to a client's domain when it's done anyway |
# |
Aug 9th 2008, 20:09 |
Spoom |
yes, it's something i need to fix but that is correct |
# |
Aug 9th 2008, 20:09 |
rafaelbandeira3 |
is this double questionaire right? |
# |
Aug 9th 2008, 20:09 |
Spoom |
that url also works |
# |
Aug 9th 2008, 20:09 |
Spoom |
the urls linked from the 403 error do work when i paste them in the address bar after the domain |
# |
Aug 9th 2008, 20:08 |
Spoom |
http://bin.cakephp.org/view/518523165 |
# |
Aug 9th 2008, 20:08 |
rafaelbandeira3 |
http://jamiearseneault.com/questionnaire/questionnaire/questions/index/page:1 |
# |
Aug 9th 2008, 20:07 |
rafaelbandeira3 |
nice... first things first... you're shure it's url request is right? |
# |
Aug 9th 2008, 20:06 |
Spoom |
paging is in an element as recommended by the tutorial |
# |
Aug 9th 2008, 20:05 |
Spoom |
Spoom: the 403 forbidden shows up in the ajax div so at least part of it is working |
# |
Aug 9th 2008, 20:05 |
Spoom |
Spoom: the pages that are referred to in the error work fine if i copy and paste them into the address bar |
# |
Aug 9th 2008, 20:05 |
Spoom |
Spoom: hi folks, i'm trying to set up ajax paging in cake using the paginator, and it works fine without ajax, but when i turn on ajax, it starts giving me 403 forbidden errors on clicking a page link, i'm following http://bakery.cakephp.org/articles/view/advanced-pagination-1-2 , any ideas? |
# |
Aug 9th 2008, 20:05 |
Spoom |
it's ok, one sec |
# |
Aug 9th 2008, 20:05 |
rafaelbandeira3 |
just got into the talk |
# |
Aug 9th 2008, 20:04 |
rafaelbandeira3 |
sorry but what ecxactly? |
# |
Aug 9th 2008, 20:04 |
Spoom |
same issue |
# |
Aug 9th 2008, 20:04 |
rafaelbandeira3 |
yes |
# |
Aug 9th 2008, 20:04 |
Spoom |
i take it in beforeFilter? |
# |
Aug 9th 2008, 20:03 |
Spoom |
one sec |
# |
Aug 9th 2008, 20:03 |
rafaelbandeira3 |
$this->Auth->allowedActions = array('*') |
# |
Aug 9th 2008, 20:03 |
rafaelbandeira3 |
Spoom: |
# |
Aug 9th 2008, 20:01 |
Spoom |
haven't found something similar to this googling |
# |
Aug 9th 2008, 19:57 |
Spoom |
i'm thinking something like the fact that it's posting to the url as opposed to get |
# |
Aug 9th 2008, 19:56 |
Spoom |
is there a reason that cake itself would generate a 403? |
# |
Aug 9th 2008, 19:56 |
Spoom |
hmm |
# |
Aug 9th 2008, 19:55 |
Spoom |
nope, no deal |
# |
Aug 9th 2008, 19:54 |
Spoom |
ACTION checks if allowing it helps even though he's logged into cake |
# |
Aug 9th 2008, 19:53 |
Spoom |
i am using auth |
# |
Aug 9th 2008, 19:53 |
Spoom |
hmm |
# |
Aug 9th 2008, 19:53 |
Jezek |
ok it seems to be working now, thanks |
# |
Aug 9th 2008, 19:53 |
Spoom |
but i wasn't before |
# |
Aug 9th 2008, 19:53 |
Spoom |
i am now, since i forgot to remove the domain when i pasted the access log ;^) |
# |
Aug 9th 2008, 19:51 |
Matt1 |
Spoom: you using an some access control ? |
# |
Aug 9th 2008, 19:50 |
Spoom |
any ideas with the ajax pagination? |
# |
Aug 9th 2008, 19:50 |
Jezek |
hmm |