Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'password_date' in 'field list' in /opt/unetlab/html/includes/api_authentication.php:108
- Stack trace:
- #0 /opt/unetlab/html/includes/api_authentication.php(108): PDOStatement->execute()
- #1 /opt/unetlab/html/api.php(121): apiLogin(Object(PDO), Object(PDO), Array, 'f2b71ccc-b0f8-4...')
- #2 [internal function]: {closure}()
- #3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
- #4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
- #5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
- #6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
- #7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
- #8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
- #9 /opt/unetlab/html/api.php(1339): Slim\Slim->run()
- #10 {main}
- Here is the referred portion of the code from api_authentication.php file:
- CODE: SELECT ALL
- 106 $query = "replace into guacamole_user(user_id,username, password_hash, password_date ) values ( ".($pod+1000)." , '".$username."', UNHEX(SHA2('unl',256) ), '".date("Y-m-d H:i:s")."');";
- 107 $statement = $html5_db -> prepare($query);
- 108 $statement -> execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement