Saturday, July 5, 2014

Re: cake 2.5.2 installation ok, but not working

Did you check your SQL log in DebugKit? What is the query being executed and how many results are being fetched, also try to type <?php pr($users); ?> (Assuming that's the name of the variable on line 19 in index.ctp)

What does that variable contain, if anything?

Once you have the query you can try executing it directly in your local and test databases to see what results you get there


On 3 July 2014 23:38, loucode <chef.franz@gmail.com> wrote:

Thanks for your try, John. But it's not an empty table. I have a 'Testuser' in it.



The error in the red-coloured image clearly states that you have an undefined index "User" - which probably means that your "users" table does not contain any rows. Please check and inform us of the result :)
Enjoy, John

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
Kind Regards
 Stephen Speakman

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: