I'm stumped, have no idea what is going on..
On Thursday, October 18, 2012 1:04:16 PM UTC-5, cricket wrote:
I suspect that it may have something to do with PDO. Check both--
servers to see what versions are installed. Also compare database
versions.
Cake uses PDO's metadata to construct the data array with the correct
model alias keys. Where that information isn't provided (eg. queries
with calculated fields) Cake substitutes a numerical key.
On Wed, Oct 17, 2012 at 10:04 AM, PlanoCoder <la...@lancebarron.com> wrote:
> Good morning all.... I build a site on XAMP local server. There was no
> problem when testing. When i Uploaded the files to the live verio server my
> code no longer works.
> here is what i am talking about
>
> in my view file my code on the test server looks like this
>
> $key['Member']['username'];
>
> when i moved to the live server i have to change the code to
>
> $key[0]['username'];
>
> for cake to pull the data.
>
> Any idea why this is?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake...@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+u...@googlegroups.com .
> Visit this group at http://groups.google.com/group/cake-php?hl=en .
>
>
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment