# |
Oct 22nd 2009, 15:32 |
gimlilongbow |
No, that pastebin shows the debug of the Set::map($results). Oh, you wanted the results. Sorry, one sec. |
# |
Oct 22nd 2009, 15:31 |
Jagaroth |
gimlilongbow: You are executing Set::map($results)... the pastebin shows $results? |
# |
Oct 22nd 2009, 15:31 |
gimlilongbow |
Um, I thought set::map() went from array to object. |
# |
Oct 22nd 2009, 15:30 |
Jagaroth |
gimlilongbow: Doesn't map() go the other way? |
# |
Oct 22nd 2009, 15:30 |
jessica-m |
does anyone have any idea why that would happen? |
# |
Oct 22nd 2009, 15:29 |
gimlilongbow |
Jagaroth: here's the output: http://bin.cakephp.org/view/1436843275 |
# |
Oct 22nd 2009, 15:28 |
gimlilongbow |
Okay, let me trim it down to just the trouble area. One sec. |
# |
Oct 22nd 2009, 15:28 |
Jagaroth |
gimlilongbow: Add debug($results) to the pastebin. |
# |
Oct 22nd 2009, 15:27 |
gimlilongbow |
Here's my code which actually does the Containable behavior that generates the results: http://bin.cakephp.org/view/1585860775 |
# |
Oct 22nd 2009, 15:26 |
gimlilongbow |
debug( Set::map($results) ); |
# |
Oct 22nd 2009, 15:26 |
Jagaroth |
gimlilongbow: Let's see PostsController::test() - APP/controllers/posts_controller.php, line 279 |
# |
Oct 22nd 2009, 15:25 |
gimlilongbow |
Jagaroth: here's the paste of my stack trace: http://bin.cakephp.org/view/1094605136 |
# |
Oct 22nd 2009, 15:23 |
jessica-m |
cake doesnt seem to be deleting rows from the groups table before inserting them - what would cause that? |
# |
Oct 22nd 2009, 15:23 |
gimlilongbow |
In the Set::map( $results ) of a find('all') with a Containable behavior attached. |
# |
Oct 22nd 2009, 15:23 |
Jagaroth |
gimlilongbow: Where in your code is the problem? |
# |
Oct 22nd 2009, 15:22 |
FMC |
Is there a way to set the order of join with hasOne ? |
# |
Oct 22nd 2009, 15:22 |
Jagaroth |
Sure. |
# |
Oct 22nd 2009, 15:22 |
gimlilongbow |
Jagaroth: The Context link in the Debut panel, right? |
# |
Oct 22nd 2009, 15:22 |
dhodgkin |
I need something that has SEO, and features similar to magento. but without the major PITA that magento causes. |
# |
Oct 22nd 2009, 15:22 |
Jagaroth |
gimlilongbow: What's the stack trace show? |
# |
Oct 22nd 2009, 15:22 |
gimlilongbow |
Any suggestions on what to do from here? |
# |
Oct 22nd 2009, 15:20 |
dhodgkin |
ah cool |
# |
Oct 22nd 2009, 15:20 |
dogmatic69 |
dhodgkin: that is waht im busy with atm |
# |
Oct 22nd 2009, 15:20 |
gimlilongbow |
The debug output looks fine. As for the stacktrace, I'm not seeing anything that looks like an issue. |
# |
Oct 22nd 2009, 15:19 |
dhodgkin |
dogmatic69: you have one? |
# |
Oct 22nd 2009, 15:18 |
dogmatic69 |
its almost done |
# |
Oct 22nd 2009, 15:18 |
dogmatic69 |
soz.. dhodgkin ^ |
# |
Oct 22nd 2009, 15:17 |
dogmatic69 |
durin: how long you wanna wait? www.dogmatic.co.za |
# |
Oct 22nd 2009, 15:17 |
durin |
he said he would give the source to anyone |
# |
Oct 22nd 2009, 15:17 |
Jagaroth |
dogmatic69: I didn't think so. |
# |
Oct 22nd 2009, 15:17 |
dogmatic69 |
thats not os |
# |
Oct 22nd 2009, 15:17 |
Jagaroth |
durin: Is that one OS? |
# |
Oct 22nd 2009, 15:17 |
jessica-m |
anyone know? |
# |
Oct 22nd 2009, 15:16 |
durin |
no |
# |
Oct 22nd 2009, 15:15 |
gimlilongbow |
Ah, recursion... |
# |
Oct 22nd 2009, 15:15 |
dogmatic69 |
cupcake? |
# |
Oct 22nd 2009, 15:15 |
durin |
someone just pasted a new ecommerce app in here the other day that looked promising |
# |
Oct 22nd 2009, 15:15 |
jessica-m |
what would cause it to do that |
# |
Oct 22nd 2009, 15:15 |
jessica-m |
cake doesnt seem to be deleting rows from the groups table before inserting them |
# |
Oct 22nd 2009, 15:14 |
dogmatic69 |
dhodgkin: what you looking for? |
# |
Oct 22nd 2009, 15:14 |
Jagaroth |
gimlilongbow: Check the stack trace. That's going to be more informative than that error. |