PHP-MySQL-ecommerce-website icon indicating copy to clipboard operation
PHP-MySQL-ecommerce-website copied to clipboard

PHP Fatal error

Open jessicana opened this issue 3 years ago • 0 comments

Hello,

I followed the instructions and made the proper linkage with the database, but I am getting the below error:

2021/07/26 21:28:42 [error] 1005584#1005584: *203 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'databasename.tbl_language' doesn't exist in /var/www/[domain].com/html/folder/go/header.php:17
Stack trace:
#0 /var/www/[domain].com/html/folder/go/header.php(17): PDOStatement->execute()
#1 /var/www/[domain].com/html/folder/go/index.php(1): require_once('...')
#2 {main}
  thrown in /var/www/[domain].com/html/folder/go/header.php on line 17" while reading response header from upstream, client: 1xx.xx.xx.1xx, server: [domain].com, request: "GET /go/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "[domain].com"

Maybe I did not get the below line linked correctly?

// Getting Admin url define("ADMIN_URL", BASE_URL . "go/admin" . "/");

In my case, this project is installed as per the below directory, but I am not sure if I linked that correctly in the above code. /var/www/[dmain].com/html/[wordpress installation]/[thisprojectinstallation]

Any insight about the error?

jessicana avatar Jul 26 '21 19:07 jessicana