Question: Error 500 after Install

Error 500 after Install

Just installed the script under the domain name: shop.printpro.uk. Everything went fine during installation. However, I receive an error 500 when trying to access shop.printpro.uk. I enabled

KS

Kasun Senanayake

Asked
Just installed the script under the domain name: shop.printpro.uk. Everything went fine during installation. However, I receive an error 500 when trying to access shop.printpro.uk. I enabled logs, I have included the log below
```php

<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2019-11-19 12:30:02 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:02 --> Unable to connect to the database
ERROR - 2019-11-19 12:30:02 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:02 --> Severity: Error --> session_start(): Failed to initialize storage module: user (path: /tmp) /home2/printpro/shop.printpro.uk/system/libraries/Session/Session.php 143
ERROR - 2019-11-19 12:30:04 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:04 --> Unable to connect to the database
ERROR - 2019-11-19 12:30:04 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:04 --> Severity: Error --> session_start(): Failed to initialize storage module: user (path: /tmp) /home2/printpro/shop.printpro.uk/system/libraries/Session/Session.php 143
ERROR - 2019-11-19 12:30:21 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:21 --> Unable to connect to the database
ERROR - 2019-11-19 12:30:21 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:21 --> Severity: Error --> session_start(): Failed to initialize storage module: user (path: /tmp) /home2/printpro/shop.printpro.uk/system/libraries/Session/Session.php 143
ERROR - 2019-11-19 12:30:23 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:23 --> Unable to connect to the database
ERROR - 2019-11-19 12:30:23 --> Severity: Warning --> mysqli::real_connect(): (28000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /home2/printpro/shop.printpro.uk/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2019-11-19 12:30:23 --> Severity: Error --> session_start(): Failed to initialize storage module: user (path: /tmp) /home2/printpro/shop.printpro.uk/system/libraries/Session/Session.php 143
ERROR - 2019-11-19 12:30:46 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: SELECT 1
FROM `sma_sessions`
WHERE `id` = 'ce3d83bfe8116986cfb71c477a1bb84423bceabd'
ERROR - 2019-11-19 12:30:46 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: SELECT `data`
FROM `sma_sessions`
WHERE `id` = 'ce3d83bfe8116986cfb71c477a1bb84423bceabd'
ERROR - 2019-11-19 12:30:46 --> Severity: Parsing Error --> syntax error, unexpected '?' /home2/printpro/shop.printpro.uk/app/libraries/Sma.php 88
ERROR - 2019-11-19 12:30:46 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: INSERT INTO `sma_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('ce3d83bfe8116986cfb71c477a1bb84423bceabd', '77.101.252.46', 1574166646, '__ci_last_regenerate|i:1574166646;')
ERROR - 2019-11-19 12:30:46 --> Severity: Warning --> Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) Unknown 0
ERROR - 2019-11-19 12:30:48 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: SELECT 1
FROM `sma_sessions`
WHERE `id` = 'ce3d83bfe8116986cfb71c477a1bb84423bceabd'
ERROR - 2019-11-19 12:30:48 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: SELECT `data`
FROM `sma_sessions`
WHERE `id` = 'ce3d83bfe8116986cfb71c477a1bb84423bceabd'
ERROR - 2019-11-19 12:30:48 --> Severity: Parsing Error --> syntax error, unexpected '?' /home2/printpro/shop.printpro.uk/app/libraries/Sma.php 88
ERROR - 2019-11-19 12:30:48 --> Query error: Table 'printpro_pos.sma_sessions' doesn't exist - Invalid query: INSERT INTO `sma_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('ce3d83bfe8116986cfb71c477a1bb84423bceabd', '77.101.252.46', 1574166648, '__ci_last_regenerate|i:1574166648;')
ERROR - 2019-11-19 12:30:48 --> Severity: Warning --> Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) Unknown 0
ERROR - 2019-11-19 12:43:27 --> Severity: Parsing Error --> syntax error, unexpected '?' /home2/printpro/shop.printpro.uk/app/libraries/Sma.php 88
ERROR - 2019-11-19 12:43:30 --> Severity: Parsing Error --> syntax error, unexpected '?' /home2/printpro/shop.printpro.uk/app/libraries/Sma.php 88
ERROR - 2019-11-19 12:43:45 --> Severity: Parsing Error --> syntax error, unexpected '?' /home2/printpro/shop.printpro.uk/app/libraries/Sma.php 88
```
  • MS

    Mian Saleem

    Answered
    Please update your php version to 7.0 - 7.2, other requirements can be check from documentation.pdf that is already included in your download.

    Thank you
  • Login to Reply