• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't login with Freakauth

#1
[eluser]flokky[/eluser]
I'm having some problems with CI 1.6.1 and FreakAuth. Everything worked great, just until yesterday. I already used a compare tool, to compare my code, to a fresh instance and there were some differences, but they were all related to configuration (database) and modifications (fckeditor in formhelper)

When I enter the correct username and password, I get the same login screen.
When I enter the wrong username and/or password, I get a notification that I've entered an 'invalid username or password'.

I've debugged through the code, placed some echo's and it seems that CI can find the user in the backend database.

Second problem: when I try to show a message (flashmessage as called in code) like this.

Controller:
Code:
//set a flash message
$msg = $this->db->affected_rows().$this->lang->line('FAL_text_added');
flashMsg($msg);
redirect('admin/texts', 'location');

View:
Code:
<?php
$flash=$this->db_session->flashdata('flashMessage');
if (isset($flash) AND $flash!='')
{?>
<div id="flashMessage">
   &lt;?=$flash?&gt;
</div>
&lt;?php }?&gt;

This doesn't show up in HTML. I'm sure I've loaded the language file. I've already tried with passing a hardcoded string. And tried echoing the flashdata('flashMessage'), but that was just an empty string.


Messages In This Thread
Can't login with Freakauth - by El Forum - 02-28-2008, 11:00 AM
Can't login with Freakauth - by El Forum - 02-28-2008, 12:44 PM
Can't login with Freakauth - by El Forum - 02-28-2008, 01:30 PM
Can't login with Freakauth - by El Forum - 03-01-2008, 04:00 AM
Can't login with Freakauth - by El Forum - 06-24-2008, 08:48 PM
Can't login with Freakauth - by El Forum - 08-29-2008, 05:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.