# |
Oct 22nd 2009, 08:21 |
ajushi |
hi, how do i set pagination on a single view page? i mean when viewing a single entry i want to see previous and next at the bottom |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
5 fails and 5 php errors |
# |
Oct 22nd 2009, 08:21 |
Phally |
odegard: how did you insert your password? |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
PhpNut: http://bin.cakephp.org/view/2124391032 |
# |
Oct 22nd 2009, 08:20 |
odegard |
I get a "Login failed. Invalid username or password" no matter what I do. I've reduced the code to the minimum described in the cookbook. Any tips? |
# |
Oct 22nd 2009, 08:20 |
Ceeram |
~bin |
# |
Oct 22nd 2009, 08:19 |
Ceeram |
they fail, and give error |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
stupid spelling mistakes |
# |
Oct 22nd 2009, 08:19 |
Ceeram |
offset was used in 5 tests of the testcase |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
$this->CalibationProfile->contain(array('MeasuringDevice')); |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
i hate these bugs: |
# |
Oct 22nd 2009, 08:18 |
Ceeram |
php.net: 5.2.0 Added the optional parameter offset . |
# |
Oct 22nd 2009, 08:17 |
Ceeram |
run them on 5.1.2 |
# |
Oct 22nd 2009, 08:17 |
Ceeram |
it will pass if mb_strrpos is defined by cake or php>=5.2.0 |
# |
Oct 22nd 2009, 08:17 |
PhpNut |
I wrote the tests too and they work fine |
# |
Oct 22nd 2009, 08:17 |
Ceeram |
so cakes core is fine, but the test isnt set up correct |
# |
Oct 22nd 2009, 08:16 |
ADmad |
liaogz82: what are you trying to achieve? |
# |
Oct 22nd 2009, 08:16 |
Ceeram |
http://code.cakephp.org/tickets/view/194#c483 |
# |
Oct 22nd 2009, 08:16 |
liaogz82 |
cos i try not to use include |
# |
Oct 22nd 2009, 08:16 |
Ceeram |
ihave 5.1.2 which does have mb_strrpos() but doesnt take $offset param whcich is used in test |
# |
Oct 22nd 2009, 08:16 |
liaogz82 |
can i create one specially myself say ... $advertisement_for_layout? |
# |
Oct 22nd 2009, 08:15 |
PhpNut |
where? |
# |
Oct 22nd 2009, 08:15 |
spaced312 |
how can i send simple php emails using mail() from my controller? |
# |
Oct 22nd 2009, 08:15 |
Ceeram |
PhpNut: the $offset param |
# |
Oct 22nd 2009, 08:15 |
liaogz82 |
you echo that in cakePHP to display contents |
# |
Oct 22nd 2009, 08:15 |
PhpNut |
Ceeram what is issue with multibyte code? |
# |
Oct 22nd 2009, 08:15 |
jessica-m |
i cant see anything where it would be set that way |
# |
Oct 22nd 2009, 08:15 |
liaogz82 |
i know that cakePHP has its $content_for_layout |
# |
Oct 22nd 2009, 08:15 |
jessica-m |
ok im just going to manually update the modified field then |
# |
Oct 22nd 2009, 08:14 |
Ceeram |
well that why i took the ones with offset out and put them in another test which will skip if php<5.2.0 |
# |
Oct 22nd 2009, 08:14 |
liaogz82 |
hi all |
# |
Oct 22nd 2009, 08:14 |
Ceeram |
well i do have the function it just does not take the $offset parameter |
# |
Oct 22nd 2009, 08:14 |
markstory |
yeah, so the tests should only run when the function is created. |
# |
Oct 22nd 2009, 08:13 |
Ceeram |
yes got that, its because if function not exists cake will define it |
# |
Oct 22nd 2009, 08:13 |
markstory |
same with all the unclassed functions. |
# |
Oct 22nd 2009, 08:13 |
Ceeram |
~tell Gothfunc about book multiple relations to same model |
# |
Oct 22nd 2009, 08:13 |
odegard |
I've been banging my head against an Auth problem. I''ve stripped everything down to basics, but I still can't log in with a user. Would someone help me please? |
# |
Oct 22nd 2009, 08:13 |
markstory |
Ceeram: I think the tests are to test the mb_strrpos that multibyte can create. |
# |
Oct 22nd 2009, 08:12 |
Gothfunc |
hehe |
# |
Oct 22nd 2009, 08:12 |
markstory |
circular relationships make the world go round. |
# |
Oct 22nd 2009, 08:12 |
markstory |
you did hear wrong. |