Loader isnt loading -.- |
[eluser]nagata[/eluser]
Could someone help with this Code: <?php Its small php code that determines user is online currently. it was working when it was in views/auth/index.php (User List) But stoped working in other documents... I tried to place it EVERYWHERE, but sadly there was no result for it to work excep this error Code: A PHP Error was encountered could someone explain me this black CI humor and make it work? I been trying to make it work like 2 hours now -.- the i_am_on() function Code: public function i_am_on($id)
[eluser]Samus[/eluser]
You need to seriously go read the CI user guide and understand it. Loading in a view? Seriously? Start here: http://ellislab.com/codeigniter/user-gui...w/mvc.html Then here: http://ellislab.com/codeigniter/user-gui...views.html
[eluser]nagata[/eluser]
your reply sorta helped me to get the idea of adding the auth_model into autoload config... so yeah thank you.
[eluser]Samus[/eluser]
[quote author="nagata" date="1339239650"]your reply sorta helped me to get the idea of adding the auth_model into autoload config... so yeah thank you.[/quote] Glad to help. But my point was that you should be loading from within your controller.
[eluser]nagata[/eluser]
I had it loading in controller didnt help either... anyways solved/should be closed. |
Welcome Guest, Not a member yet? Register Sign In |