problem about tankauth-Collection of common programming errors


  • Manny Calavera
    php codeigniter swfupload tankauth
    I am using Codeigniter with the TankAuth library installed and trying to upload to index.php/reuqests/doUpload from swfupload but can’t access the page as authenticated. I have read many posts around the net about similar problem and tried to set $config[‘sess_match_userag

  • Maxcot
    codeigniter session tankauth
    My app is PHP / CodeIgniter / TankAuth. I have in my database an account balance of sorts, and I want to display this account balance on my app’s pages. So I’ve got in all nicely working, holding the balance in the session data.The balance only changes on login, under certain conditions. So in the tank_auth components, there is a controller, a library etc. The flow is that the Auth controller login calls on the Tank_auth library login functio

  • Ricky Mason
    php codeigniter tankauth
    I’m trying to add the login_form from Tank_auth view into my HTML template.When I do so, it returns a few errors regarding missing variables, and I’m not sure what I’m doing wrong.My controller:public function index() {$topbar[‘account’] = $this->load->view(‘auth/login_form’);$data[‘topbar’] = $topbar;$this->load->view(‘main_template’, $data); }Main template looks like: The error I’m receiving when loading the page is the following:A PHP Error was encounteredSeverity: NoticeMessage: Undefined variable: show_captchaFilename: auth/login_form.phpLine Number: 47In addition, I’m receiving identical errors for:Undefined variable: login_by_usernameHeres the login form (untouched…defaul

  • Herbert
    php codeigniter tankauth
    I am new to CodeIgniter and I use Tank Auth for my login form. When I try to put Tank Auth in my template, the login form doesn’t appear at all. I didn’t change anything but the controller.Here is my controller code:public function __construct(){parent::__construct(

  • Sajad A
    php codeigniter tankauth
    my login interface starts with error message.A PHP Error was encounteredSeverity: NoticeMessage: Undefined variable: login_by_usernameFilename: auth/register_form.phpLine Number: 10A PHP Error was encounteredSeverity: NoticeMessage: Undefined variable: login_by_usernameFilename: auth/register_form.phpLine Number: 12 if i press login button without out passing any values , tank_auth doesn’t promt me with error.instead it redirected me to welcome page with this error.Hi,A PHP Error was encounteredSeverity: NoticeMessage: Undefined variable: usernameFilename: views/welcome.phpLine Number: 3 ! You are logged in now. Logoutauth.php filefunction login() { if ($this->tank_auth->is_logged_in()) { // logged inredirect(”);} elseif ($this->tank_auth->is_logged_in(FALSE)) { // logged in, not activatedredirect(‘/auth/send_again/’);} else {$data[‘login_by_username’] = ($this->config->item(‘login_by_username’, ‘tank_auth’) AND$this->config->item(‘use_username’, ‘tank_auth’));$data[‘login_by_email’] = $this->config->item(‘login_by_email’, ‘tank_auth’);$this->form_validation->set_rules(

  • Joe Schindel
    php codeigniter tankauth
    I am Starting to work with codeigniter and am using Tank Auth as my Authentication Library. Currently trying to set up my application so the pages mysite.com/login and mysite.com/signup are custom view

  • Adam
    php codeigniter authentication tankauth
    My question is more of a conceptual one, since I’m rather new to working with users and sessions.My current setup is Codeigniter running with the Tank Auth user libraryMy problems I’m experi

  • ranggadablues
    codeigniter tankauth
    I’ve seen question from this CodeIgniter: Passing fields to user_profiles database with Tank_authand my problem same as Davezatch have, but mine like this on auth controller:… if ($this->form_vali

  • Malyo
    php codeigniter tankauth
    I’ve started using Tank Auth in my CodeIgniter App, I have followed some tutorial steps to set it up, and as long as it works, it produces lots of error messages during account activation and logout. Here are the errors:A PHP Error was encounteredSeverity: NoticeMessage: Undefined index: session_idFilename: libraries/Session.phpLine Number: 272A PHP Error was encounteredSeverity: NoticeMessage: Undefined index: ip_addressFilename: libraries/Session.phpLine Number: 272A PHP Error was encounte

  • Fibericon
    php codeigniter tankauth
    On the default tank_auth login view, there are no errors whatsoever. However, I wanted to style it to match the rest of the site, so I took the code an

  • Amith Raj Shetty
    codeigniter tankauth
    I get the following error when click on sign up button.Fatal error: Call to undefined function set_value() in C:\wamp\www\bdcom\www\application\views\auth\register_form.php on line 19I am new to codei

Originally posted 2013-11-09 21:40:23.