# |
Aug 9th 2008, 19:28 |
Jezek |
i know it must be a simple task |
# |
Aug 9th 2008, 19:27 |
Spoom |
the 403 forbidden shows up in the ajax div so at least part of it is working |
# |
Aug 9th 2008, 19:27 |
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, 19:26 |
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, 19:23 |
Jezek |
just those with the admin prefix |
# |
Aug 9th 2008, 19:23 |
Jezek |
i dont want it on all the actions |
# |
Aug 9th 2008, 19:20 |
cpierce |
n/m i figured it out |
# |
Aug 9th 2008, 19:16 |
Jezek |
anyone? |
# |
Aug 9th 2008, 19:12 |
cpierce |
Fatal Error (256): ConnectionManager::getDataSource - Non-existent data source durantmainstreet [CORE/cake/libs/model/connection_manager.php, line 113] |
# |
Aug 9th 2008, 19:12 |
cpierce |
why am i getting this |
# |
Aug 9th 2008, 19:09 |
Jezek |
how do i just require authentication for admin/whatever for the authentication component |
# |
Aug 9th 2008, 18:43 |
netpro25 |
heh |
# |
Aug 9th 2008, 18:43 |
markstory |
gotta love em :) |
# |
Aug 9th 2008, 18:43 |
netpro25 |
markstory: darn stupid mistakes |
# |
Aug 9th 2008, 18:42 |
markstory |
) |
# |
Aug 9th 2008, 18:42 |
netpro25 |
markstory: got it, made a error, put equals instead of equality, dumb mistake, your method works well thanks |
# |
Aug 9th 2008, 18:40 |
markstory |
I love textmate and css edit :) |
# |
Aug 9th 2008, 18:38 |
netpro25 |
lol, good thinking |
# |
Aug 9th 2008, 18:38 |
netpro25 |
did not think of that |
# |
Aug 9th 2008, 18:38 |
markstory |
why no do /members/getOfficerEmail/'.$this->data['Contact']['sendTo'] |
# |
Aug 9th 2008, 18:37 |
netpro25 |
markstory: like this? $this->requestAction('members/getOfficerEmail', array('id' => $this->data['Contact']['sendTo'])); |
# |
Aug 9th 2008, 18:35 |
jaredhoyt |
should i add a new component to the bakery or just modify the old one? |
# |
Aug 9th 2008, 18:32 |
markstory |
its in the book :) |
# |
Aug 9th 2008, 18:32 |
markstory |
yes |
# |
Aug 9th 2008, 18:31 |
netpro25 |
is it the extra array? |
# |
Aug 9th 2008, 18:30 |
netpro25 |
with requestAction how can i send parameters? |
# |
Aug 9th 2008, 18:25 |
jaredhoyt |
this version still removes the data from the session after the afterComplete() callback for security, but you can easily move it elsewhere in the session if you want to keep it like $this->Session->write('wizardData', $this->Wizard->read()); |
# |
Aug 9th 2008, 18:24 |
markstory |
cool. |
# |
Aug 9th 2008, 18:23 |
jaredhoyt |
just changed one small bug and added the redirect() method : http://bin.cakephp.org/view/605820595 |
# |
Aug 9th 2008, 18:23 |
jaredhoyt |
got a bit newer version, lol |
# |
Aug 9th 2008, 18:23 |
jaredhoyt |
wait |
# |
Aug 9th 2008, 18:22 |
markstory |
I'm going to try and switch to the newer one you sent me. |
# |
Aug 9th 2008, 18:22 |
markstory |
cool, I think I ran into issues where it randomly deleted the session or got stuck on steps. but I figured them out. |
# |
Aug 9th 2008, 18:18 |
jaredhoyt |
but i think it runs smooth now |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
well after i used it myself, i realized there were a few big bugs |
# |
Aug 9th 2008, 18:17 |
markstory |
jaredhoyt: I didn't find it that bad, there were a few tricky bits but I figured them out. |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
nice :D |
# |
Aug 9th 2008, 18:17 |
jaredhoyt |
hopefully this new version will be easier to implement |
# |
Aug 9th 2008, 18:17 |
markstory |
jaredhoyt: I built a survey application, that is used nationally by arts organizations in canada. |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
lots of complaints on google groups and bakery comments... i never kept up |
# |
Aug 9th 2008, 18:16 |
jaredhoyt |
sweet :) ... i feel like a jerk though, i never realized how much trouble people had with it |