PS
Asked
i am getting this page is not working after successful installation. Why i am getting this error.
Attachments
- MSAnsweredHello,
I have replied you on your other question. Please follow up there.
Thank you - PSAnsweredthis is my error log file
ERROR - 2020-01-29 09:09:02 --> Query error: No database selected - Invalid query: SELECT `data`
FROM `sma_sessions`
WHERE `id` = 'd5tuk2ejekh1s6isq101j45hacjllabe'
ERROR - 2020-01-29 09:09:02 --> Severity: Parsing Error --> syntax error, unexpected '?' E:\xampp\htdocs\shahibanisalt\salt\app\libraries\Sma.php 88
ERROR - 2020-01-29 09:09:02 --> Query error: No database selected - Invalid query: INSERT INTO `sma_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('d5tuk2ejekh1s6isq101j45hacjllabe', '::1', 1580288942, '__ci_last_regenerate|i:1580288942;')
ERROR - 2020-01-29 09:09:02 --> Severity: Warning --> Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (E:\xampp\tmp) Unknown 0 - PSAnsweredthis is the connection installation . Its showing successful.Attachments
- MSAnswered> Please see the latest log, the above from 29th Jan 2020
That's strange. You can check db settings in `app/config/database.php` Please double check it and check your database, if the tables are created successfully.
Thank you - PSAnsweredI have checked it its fine. If database connection not fine its not show successful.
please find attachment which attached.
$db['default'] = [
'dsn' => '',
'hostname' => 'localhost',
'username' => 'stockmgrDB',
'password' => 'Trinken@9090',
'database' => 'stockmgrDB',
'dbdriver' => 'mysqli',
'dbprefix' => 'sma_',
'pconnect' => false,
'db_debug' => false,
'cache_on' => false,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => false,
'compress' => false,
'stricton' => false,
'failover' => [],
'save_queries' => false,
];Attachments - MSAnsweredNot sure, may be you can change the `hostname` to `127.0.0.1`
- PSAnsweredi have changed localhost to 127.0.0.1 but error showing same.
- PSAnsweredI am getting same error. Please help.
- MSAnsweredWhat is your php version? You need php7, please check this and did you database has `sam_sessions` table? How many tables are there?
- PSAnsweredphp version 5.6.5. sam_session table exist.
total tables - 69 - Login to Reply