Hi
I have this line of code in my XXXController.php :
$this->request->data['Picture']['filename'] = $this->data['User']['ID'] + '_' + $idEvento + '_' + $this->request->data['Picture']['filename'] + ;
I spent like 1 day trying to figure out, why when i run that Controller method just gave me an ugly browser error "The connection was reset"
so, i opened my ayes better and find out that my line of code had an extra "+" , damn , i just removew that extra "+" and it worked fine.
My Question is Why i did not got an error from the compiler/interpreter to tell me something wrong in that line....................?
Thanks in advance............
--
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.
Thursday, November 1, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment