# |
Sep 12th 2009, 10:06 |
savant |
http://pastie.org/614657 |
# |
Sep 12th 2009, 10:05 |
Dimatter |
savant: eh ..say what ? :) |
# |
Sep 12th 2009, 10:05 |
savant |
Dimatter: heh. you aren't passing by reference in the foreach, only by value :P |
# |
Sep 12th 2009, 10:05 |
Spirit |
the default .htaccess |
# |
Sep 12th 2009, 10:05 |
Spirit |
umm, yes, i have |
# |
Sep 12th 2009, 10:04 |
Dimatter |
savant: $categories |
# |
Sep 12th 2009, 10:04 |
Dimatter |
savant: http://pastie.org/614656 this is how i want it |
# |
Sep 12th 2009, 10:04 |
Dimatter |
Spirit: do you have the .htaccess file in the root of your application ? |
# |
Sep 12th 2009, 10:04 |
Spirit |
but i'm not found AddModule mod_rewrite.c |
# |
Sep 12th 2009, 10:04 |
Spirit |
i found LoadModule rewrite_module libexec/httpd/mod_rewrite.so |
# |
Sep 12th 2009, 10:04 |
Spirit |
win xp |
# |
Sep 12th 2009, 10:04 |
Spirit |
in httpd.conf |
# |
Sep 12th 2009, 10:03 |
savant |
operating system? |
# |
Sep 12th 2009, 10:03 |
Spirit |
i'm not sure |
# |
Sep 12th 2009, 10:03 |
savant |
Spirit: do you have mod_rewrite correctly enabled? What operating system are you running? |
# |
Sep 12th 2009, 10:03 |
Spirit |
cake is the directory where cake is installed |
# |
Sep 12th 2009, 10:03 |
Spirit |
i have other site inside my server |
# |
Sep 12th 2009, 10:03 |
Dimatter |
Spirit: try without |
# |
Sep 12th 2009, 10:02 |
savant |
Dimatter: I have no idea as to how you want to have the array |
# |
Sep 12th 2009, 10:02 |
Dimatter |
Spirit: u dont need /cake/ |
# |
Sep 12th 2009, 10:02 |
Spirit |
The requested URL /cake/posts/index was not found on this server. |
# |
Sep 12th 2009, 10:02 |
Spirit |
the browser tell me: Not Found |
# |
Sep 12th 2009, 10:02 |
Dimatter |
savant: check out the last paste. first u see the debugs (and everything is correct) but later u see the output of the whole $catgories array and the "new_count" is not there |
# |
Sep 12th 2009, 10:02 |
Spirit |
when i go to http://localhost/cake/posts/index |
# |
Sep 12th 2009, 10:01 |
Spirit |
ok :) |
# |
Sep 12th 2009, 10:01 |
savant |
Spirit: ask your question and someone can try :) |
# |
Sep 12th 2009, 10:01 |
Spirit |
can someone give me a hand? |
# |
Sep 12th 2009, 10:01 |
Spirit |
i have some problem to use the blog tutorial |
# |
Sep 12th 2009, 10:00 |
Spirit |
hi at all |
# |
Sep 12th 2009, 09:54 |
Dimatter |
savant: sec, i think i found the prob |
# |
Sep 12th 2009, 09:54 |
savant |
and I can give you the proper syntax for a small fee :P |
# |
Sep 12th 2009, 09:54 |
savant |
Dimatter: how about you give me what you want it to look like if there is a new_count... |
# |
Sep 12th 2009, 09:54 |
Dimatter |
ohh ... hold up |
# |
Sep 12th 2009, 09:53 |
Dimatter |
savant: this is just weird http://pastie.org/614644 |
# |
Sep 12th 2009, 09:51 |
Rampage |
i've never seen something like this happen before in my life...the array keys turned into 0s. but the array values are still present |
# |
Sep 12th 2009, 09:51 |
savant |
thats not the same php version... |
# |
Sep 12th 2009, 09:50 |
Rampage |
linux: PHP Version 5.2.5 |
# |
Sep 12th 2009, 09:50 |
Rampage |
windows: PHP Version 5.2.9 |
# |
Sep 12th 2009, 09:49 |
Rampage |
the linux |
# |
Sep 12th 2009, 09:49 |
savant |
which server is messing up? |
# |
Sep 12th 2009, 09:49 |
Rampage |
one sec, i'll confirm |