# |
Aug 10th 2008, 04:53 |
NetersLandreau |
but if you have the time, i will be well spent using jquery instead |
# |
Aug 10th 2008, 04:53 |
mak |
yeah i did reload the privileges.. |
# |
Aug 10th 2008, 04:52 |
NetersLandreau |
i would do that pgcd.. this is code i have from "back in the day".. jquery is preferred now but i'm only semi-famliar so in a pinch, i use scriptaculous |
# |
Aug 10th 2008, 04:50 |
mak |
Martz: I'm using wamp server |
# |
Aug 10th 2008, 04:50 |
Martz |
mak: FLUSH PRIVILEGES ; |
# |
Aug 10th 2008, 04:50 |
NetersLandreau |
heh.. you're lucky i'm old-schol :p |
# |
Aug 10th 2008, 04:50 |
pgcd |
Neters: is it? do you suggest I drop proto+script and move to jquery? |
# |
Aug 10th 2008, 04:50 |
pgcd |
Neters: thank you - the manual doesn't show any updater()... |
# |
Aug 10th 2008, 04:50 |
Martz |
jQuery rules so much =) |
# |
Aug 10th 2008, 04:50 |
mak |
Martz: how to do that? |
# |
Aug 10th 2008, 04:49 |
NetersLandreau |
and btw pgcd, jquery is fast becomming the preferred method |
# |
Aug 10th 2008, 04:49 |
Martz |
mak: did you reload mysql privileges? |
# |
Aug 10th 2008, 04:49 |
mak |
but i have createds the database and also the user |
# |
Aug 10th 2008, 04:49 |
mak |
Martz: i'm getting error Cake is NOT able to connect to the database. |
# |
Aug 10th 2008, 04:48 |
Martz |
mukesh: what is your problem/question? |
# |
Aug 10th 2008, 04:48 |
NetersLandreau |
pgcd: something like this - http://bin.cakephp.org/view/1299162847 |
# |
Aug 10th 2008, 04:48 |
mukesh |
intsinstalling.. |
# |
Aug 10th 2008, 04:47 |
mukesh |
need help in unstalling.. |
# |
Aug 10th 2008, 04:47 |
primeminister |
my routing http://bin.cakephp.org/view/446177524 |
# |
Aug 10th 2008, 04:46 |
pgcd |
thank you very much |
# |
Aug 10th 2008, 04:46 |
NetersLandreau |
there is such an animal.. moment while i locate the code |
# |
Aug 10th 2008, 04:46 |
pgcd |
trying to follow the convention here... |
# |
Aug 10th 2008, 04:46 |
pgcd |
Neters: script |
# |
Aug 10th 2008, 04:46 |
NetersLandreau |
pgcd: are you talking jquery or scriptaculous? |
# |
Aug 10th 2008, 04:45 |
primeminister |
trying the year, month, day stuff |
# |
Aug 10th 2008, 04:45 |
pgcd |
ok, i managed to hack the silly thing into working for me... now for the hard part: do you guys happen to know if there is a pre-made prototype function to update a div with the contents of a call? |
# |
Aug 10th 2008, 04:45 |
primeminister |
http://book.cakephp.org/view/542/defining-routes |
# |
Aug 10th 2008, 04:45 |
primeminister |
he all, wondering if example in book is wrong or (obvious) I do something wrong in my routing |
# |
Aug 10th 2008, 04:45 |
NetersLandreau |
or he threw his laptop out the window.. |
# |
Aug 10th 2008, 04:44 |
pgcd |
ehehehe |
# |
Aug 10th 2008, 04:44 |
Martz |
ACTION wonders if darki just deleted his entire cake application in anger |
# |
Aug 10th 2008, 04:44 |
NetersLandreau |
i have an authorize.net component that i process payments thru now |
# |
Aug 10th 2008, 04:43 |
NetersLandreau |
lol |
# |
Aug 10th 2008, 04:43 |
pgcd |
=P |
# |
Aug 10th 2008, 04:43 |
pgcd |
Neters: sounds like a good investment! Gimme your paypal id! |
# |
Aug 10th 2008, 04:42 |
NetersLandreau |
pgcd: if you believe everything you read, i have a few acres of land in south florida, just west of me, that i can sell you ;) |
# |
Aug 10th 2008, 04:41 |
Martz |
darki: link them "normally" in cake and generate your own reference id |
# |
Aug 10th 2008, 04:41 |
pgcd |
I guess it's because $this->model->name might not be set as a var with PHP5, maybe? |
# |
Aug 10th 2008, 04:41 |
Martz |
darki: the point is - stop trying to mess around with real foreign keys. Make a seperate field for reference/searching made up of the account primary key - and then a counter if you like. Whatever, but dont try and engineer/manage the pk/fk yourself. Just going to end up in the mess |
# |
Aug 10th 2008, 04:40 |
pgcd |
Neters: are you sure? I think I found that in the API... |
# |
Aug 10th 2008, 04:40 |
darki |
mh must think about that, because 48951 can be the last possible booking_id for this account and then 49052 ist not the nex but 49001 (if you understand what i mean) |