P
Asked
Hello Sir,
I re-install the app in China hosting, it's not working after installed it. everything was fine during the installation.
please check http://s.lechiy.com , thanks
I re-install the app in China hosting, it's not working after installed it. everything was fine during the installation.
please check http://s.lechiy.com , thanks
- MSAnsweredHello,
There could be many reason for 500 and only server error logs can tell you the real cause.
Please check the server requirements on the documentation.pdf and pay special attention on `MySQL` `only_full_group_by` mode. It should be disabled.
Last, please check the server error logs and let me know the error details so that I can suggest.
Thank you - PAnsweredI got this in logs
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2020-03-19 10:07:13 --> Severity: Warning --> mysqli::real_connect(): (HY000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /www/wwwroot/s.lechiy.com/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2020-03-19 10:07:13 --> Unable to connect to the database
ERROR - 2020-03-19 10:07:13 --> Severity: Warning --> mysqli::real_connect(): (HY000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /www/wwwroot/s.lechiy.com/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2020-03-19 10:07:13 --> Severity: Warning --> session_start(): Failed to initialize storage module: user (path: ) /www/wwwroot/s.lechiy.com/system/libraries/Session/Session.php 143
ERROR - 2020-03-19 10:07:13 --> Severity: Warning --> mysqli::real_connect(): (HY000/1045): Access denied for user 'dbuser'@'localhost' (using password: YES) /www/wwwroot/s.lechiy.com/system/database/drivers/mysqli/mysqli_driver.php 203
ERROR - 2020-03-19 10:07:13 --> Unable to connect to the database
ERROR - 2020-03-19 10:07:13 --> Query error: Access denied for user 'dbuser'@'localhost' (using password: YES) - Invalid query: SELECT *
FROM `sma_settings`
ERROR - 2020-03-19 10:07:13 --> Severity: error --> Exception: Call to a member function num_rows() on bool /www/wwwroot/s.lechiy.com/app/models/Site.php 285 - MSAnsweredHave you installed the item? If yes, this error might be logged before installation. It saying that can't login to database. You can check `app/config/database.php` for db config.
- PAnsweredhi sir, of course I did the installation, and everything was fine
- MSAnsweredDear, never share your private data publicly. If we request any, you can add private reply (PRIVATE for Staff only).
Please check server error logs. If you have enabled app logs, then you might need to visit few pages to reproduce errors. - PAnsweredsorry for that. I just did re-installation, and got below problem
404 Not Found
nginx - PAnswered<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "username"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "password"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "first_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "last_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "username"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "email"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "phone"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "company"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "gender"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "password"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "confirm_password"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "first_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "last_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "username"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "email"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "phone"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "company"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "gender"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "product_code"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "product_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "cname"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "barcode_symbology"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "product_unit"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "product_price"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "contact_person"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "company"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "email_address"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "address"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "city"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "phone"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "first_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "last_name"
ERROR - 2020-03-20 14:24:30 --> Could not find the language line "email" - MSAnsweredNothing in log that could cause error. For 404, please check your site `root` might not be set correctly.
- PAnsweredhello sir, sorry I don't know how to check
- PAnswered2020/03/20 13:41:27 [error] 13936#0: *2470 open() "/www/wwwroot/my.lechiy.com/favicon.ico" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /favicon.ico HTTP/1.1", host: "my.lechiy.com", referrer: "http://my.lechiy.com/install/"
2020/03/20 13:43:55 [error] 13936#0: *2470 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com", referrer: "http://my.lechiy.com/install/index.php?step=5"
2020/03/20 13:44:03 [error] 13936#0: *2470 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 13:49:28 [error] 14008#0: *2500 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:30 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:32 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:33 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:33 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:33 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:24:59 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:25:00 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:25:00 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 14:25:00 [error] 14008#0: *2562 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 15:15:07 [error] 14313#0: *2710 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com"
2020/03/20 15:21:14 [error] 14378#0: *2752 open() "/www/wwwroot/my.lechiy.com/admin" failed (2: No such file or directory), client: 175.9.88.61, server: my.lechiy.com, request: "GET /admin HTTP/1.1", host: "my.lechiy.com" - Login to Reply