Thursday, October 18, 2012

Re: Strange array when moved from test to live server.

I could be barking up the wrong tree but I recall something similar before, check your PHP and CakePHP versions on your XAMP and live servers.

PW

On 17 Oct 2012, at 15:04, PlanoCoder <lance@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-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: