CodeIgniter Forums
appunto-auth installation problems - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: appunto-auth installation problems (/showthread.php?tid=632)



appunto-auth installation problems - tads - 12-29-2014

Hi there, I have tried installing appunto-auth 0.1.3 in codeigniter 2.2.0, running locally in XAMPP 1.8.2 on windows 7 32 bits. Followed you instructions (both in readme and video). got correctly upto running admin page. Once I pasted the hooks code and enable hooks in config.php, and refreshed the browser I don't get any error(s) and also I dont see the login form. Disabling the hooks from config.php takes you back to admin page. Got struck here.
Please help.


RE: appunto-auth installation problems - tads - 12-29-2014

(12-29-2014, 04:20 AM)tads Wrote: Hi there, I have tried installing appunto-auth 0.1.3 in codeigniter 2.2.0, running locally in XAMPP 1.8.2 on windows 7 32 bits. Followed you instructions (both in readme and video). got correctly upto running admin page. Once I pasted the hooks code and enable hooks in config.php, and refreshed the browser I don't get any error(s) and also I dont see the login form. Disabling the hooks from config.php takes you back to admin page. Got struck here.
Please help.

Thanks to Bill, here is the solution.

On Xampp, it looks like the "php" is required in code tags in views. It may be that the pages you are trying to access are marked as private (the default if you do not change them) and codeigniter is not rendering the login.php view correctly.

Try this, in views/appunto-auth/login.php: change:

<? echo $site_name ?> to <?php echo $site_name ?>

and change

<? echo appunto_login_box($auth_message) ?> to <?php echo appunto_login_box($auth_message) ?>