Hi guys, have a weird error that only occurs on one developer machine.
The query is :
$columns = $this->MetaDataField->query("DESC assets_data");
On my machine if I do a pr($columns) I get :
Array
(
[0] => Array
(
[COLUMNS] => Array
(
[Field] => id
[Type] => int(11)
[Null] => NO
[Key] => PRI
[Default] =>
[Extra] => auto_increment
)
)
<chopped others>
on my other developers machine
Array
(
[0] => Array
(
[0] => Array
(
[Field] => id
[Type] => int(11)
[Null] => NO
[Key] => PRI
[Default] =>
[Extra] => auto_increment
)
)
Notice the COLUMNS association is no present, differences right now is
he's running php 5.1.4 and I'm running 5.1.6 and he's running a
slightly older version of mysql, we are going to upgrade both, but
would love to know why the hell the associations are being built
differently..
thanks
Grant
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---