Wednesday, October 17, 2012

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

Can you post your controller code?

On Wednesday, 17 October 2012 19:34:07 UTC+5:30, PlanoCoder 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.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate