Closed PedroRuiz closed 2 years ago
Hey, I think I lost something in the formatting here. What error did you get?
I got this: Error Call to undefined method CodeIgniter\Database\MySQLi\Connection::select()
I think that you forgot to declare 'logged_in' trigger, do you?
That’s pretty weird that it would fail on the DB select call…. Is the DB class loaded here if you var_dump $this->db?
I apologize for delay. Sure, I've loaded the class. Look:
object(CodeIgniter\Database\MySQLi\Connection)[79] public 'DBDriver' => string 'MySQLi' (length=6) public 'deleteHack' => boolean true public 'escapeChar' => string '`' (length=1) public 'mysqli' => null public 'resultMode' => int 0 protected 'DSN' => string '' (length=0) protected 'port' => int 3306 protected 'hostname' => string '' (length=19) protected 'username' => string ****' (length=17) protected 'password' => string '' (length=12) protected 'database' => string '**' (length=17) protected 'subdriver' => null protected 'DBPrefix' => string '' (length=0) protected 'pConnect' => boolean false protected 'DBDebug' => boolean true protected 'charset' => string 'utf8' (length=4) protected 'DBCollat' => string 'utf8_general_ci' (length=15) protected 'swapPre' => string '' (length=0) protected 'encrypt' => boolean false protected 'compress' => boolean false protected 'strictOn' => boolean false protected 'failover' => array (size=0) empty protected 'lastQuery' => null public 'connID' => boolean false public 'resultID' => boolean false public 'protectIdentifiers' => boolean true protected 'reservedIdentifiers' => array (size=1) 0 => string '*' (length=1) public 'likeEscapeStr' => string ' ESCAPE '%s' ' (length=13) public 'likeEscapeChar' => string '!' (length=1) protected 'pregEscapeChar' => array (size=0) empty public 'dataCache' => array (size=0) empty protected 'connectTime' => null protected 'connectDuration' => null protected 'pretend' => boolean false public 'transEnabled' => boolean true public 'transStrict' => boolean true protected 'transDepth' => int 0 protected 'transStatus' => boolean true protected 'transFailure' => boolean false protected 'aliasedTables' => array (size=0) empty protected 'queryClass' => string 'CodeIgniter\Database\Query' (length=26)
Best regards!
That's pretty odd. I'm probably not going to have time to research this for the next week.
@bvrignaud would you have time to look at this?
Sorry for the delay, the covid, it almost made me shutdown
Hey Pedro,
Hope you’re feeling well! Did you find a solution to this issue?
No. Not at all. Your work is very simple to use an very hard to modify for me. Sorry man.
-- Pedro Ruiz Hidalgo @pedroruizhidalg Desarrollo de sistemas de información Seguridad Informática
La Información incluida en el presente correo electrónico es SECRETO PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del destinatario arriba mencionado. Si usted no es el destinatario del mensaje o ha recibido esta comunicación por error le informo que está totalmente prohibida cualquier divulgación, distribución o reproducción de esta comunicación, le ruego que me lo notifique inmediatamente y me devuelva el mensaje original a la dirección arriba mencionada.
Gracias.
The information contained in this e-mail is LEGALLY PRIVILEDGED AND CONFIDENTIAL and is intended only for the use of the addressee named above. If the reader of this message is not the intended recipient or have received this communication in error, please be aware that any dissemination, distribution or duplication of this communication is strictly prohibited, and please notify me immediately and return the original message to me at the address above.
Thank you
En 4 ene. 2022 15:53, en 15:53, Ben Edmunds @.***> escribió:
Hey Pedro,
Hope you’re feeling well! Did you find a solution to this issue?
-- Reply to this email directly or view it on GitHub: https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/1542#issuecomment-1004877061 You are receiving this because you modified the open/close state.
Message ID: @.***>
Hello all,
Was this ever fixed? I am experiencing the same issue.
Call to undefined method CodeIgniter\Database\MySQLi\Connection::select
VENDORPATH/benedmunds/codeigniter-ion-auth/Models/IonAuthModel.php on line 983.
VENDORPATH/benedmunds/codeigniter-ion-auth/Libraries/IonAuth.php(445): IonAuth\Models\IonAuthModel->recheckSession()
I didn't. Sorry.
-- Pedro Ruiz Hidalgo @pedroruizhidalg Desarrollo de sistemas de información Seguridad Informática
La Información incluida en el presente correo electrónico es SECRETO PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del destinatario arriba mencionado. Si usted no es el destinatario del mensaje o ha recibido esta comunicación por error le informo que está totalmente prohibida cualquier divulgación, distribución o reproducción de esta comunicación, le ruego que me lo notifique inmediatamente y me devuelva el mensaje original a la dirección arriba mencionada.
Gracias.
The information contained in this e-mail is LEGALLY PRIVILEDGED AND CONFIDENTIAL and is intended only for the use of the addressee named above. If the reader of this message is not the intended recipient or have received this communication in error, please be aware that any dissemination, distribution or duplication of this communication is strictly prohibited, and please notify me immediately and return the original message to me at the address above.
Thank you
En 25 ago. 2023 0:03, en 0:03, cacsa @.***> escribió:
Hello all,
Was this ever fixed? I am experiencing the same issue.
Call to undefined method CodeIgniter\Database\MySQLi\Connection::select
VENDORPATH/benedmunds/codeigniter-ion-auth/Models/IonAuthModel.php on line 983.
VENDORPATH/benedmunds/codeigniter-ion-auth/Libraries/IonAuth.php(445): IonAuth\Models\IonAuthModel->recheckSession()
-- Reply to this email directly or view it on GitHub: https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/1542#issuecomment-1692474418 You are receiving this because you modified the open/close state.
Message ID: @.***>
What CodeIgniter version are you using? v4
What PHP version are you using? PHP 8.0.13 (cli) (built: Nov 22 2021 09:50:24) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.13, Copyright (c) Zend Technologies with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans
Post your Ion Auth config below
Describe the bug When I set $recheckTimer equal than not zero, ex. 15, I got this:
Expected behavior I hope this recheck with no errors, if it is possible.