Ecommerce Website in PHP with Source Code

A fully functional project based on an Online Ecommerce Website that uses PHP Language with MySQL database. Following PHP MySQL project contains all the essential features which can be in use for the final-year IT students for their college projects. It has a number of features that will allow users to manage products and shop online. This system as well as the website’s concept is all clear. It’s the same as real-life scenarios and well-implemented on it. To download free Ecommerce Website project in PHP MySQL with source code files, please scroll down to the bottom of this post for the Download button.

About Ecommerce Website PHP MySQL Project

In particular, this Ecommerce System project in PHP focuses mainly on eCommerce aspects from online shopping to order management. To be more precise, the system helps customers to filter, shop online just like every other known eCommerce website. Also, the system contains all the product, order management features with it. In addition, the system allows managing customers, website settings, subscribers, and more. Evidently, this project contains an admin panel with a customer panel on the client side. In an overview of this web application, customers can simply register on the website in order to start shopping. He/she can filter products, add products to the cart, checkout, view orders, and much more. A customer can go through a number of phases of products under this PHP eCommerce project.

Featured, Latest and Popular Products

When it comes to projects such as eCommerce, it is mandatory thing that a website should include these sections for user satisfaction. Not just satisfaction, it also helps to develop a two-way relationship between the end-users and the website. Speaking of it, the featured section helps the end-users to interact with their products, either way, to boost it up as well. This particular section tends to attract users to their featured products. Likewise, as the name itself suggest the latest products, it displays a certain number of recently added products on the client-side. Similarly, this eCommerce website project counts total views on a certain product in order to display under popular category. Meaning, all the most-viewed products are automatically listed under it. In fact, these sections are totally controllable by the system administrator including their number of display products.

Cart, Product Category, View Customer’s Order and More

Talking about the product category, the customers can simply switch product sections with a simple click. With it, the website displays all the available products under the requested category. For instance, clicking on the men’s section displays products related to men and so on. This whole website contains a system to top and end level navigation for easy user interaction within the website. Also, a cart system is available for the users in order to add products to it for the checkout procedure. Also, this particular section contains all the necessary features such as updating the cart, removing items, and more. In addition to it, a customer can list out his/her personal order history from their profile. He/she can view order details such as product name, payment information, quantity, pricing, shipping status, and more. Besides, each customer can update billing addresses, update profiles and change passwords.

Admin Panel

Now moving towards the admin panel, an administrator has full control over the system. An admin has the right to manage the proper flow of the system. He/she can manage website settings, image sliders, products, orders, customers, and more. Speaking of website settings, it means an admin can update header-footer settings, website brandings, and other website details. Also, the admin has to manage shop settings such as color, size, shipping cost, categories. In-depth, the category refers to top, mid, and end level categories for displaying products. Each product needs to have a top, mid, and end level category just like a host for management of it. In fact, these are the exact point which displays under the website’s navigation bar. Besides, an administrator can manage image sliders, page settings, services sections for the client-side of things.

Product Management

On one hand, an admin has full access to managing products for the website. There is a number of required fields under this section. It includes the name of the product, its categories, pricing, size, color, description, features, images, and more. Also, there are no such limits while uploading image files for each product. And at last, the system provides an option to feature the product. Where the administrator can simply check on to the featured product section in order to list it out as a featured one on to the client-side. As mentioned earlier, an administrator has full control to manage all the featured items for the website. Besides, the user can simply activate and deactivate each product. Also, the quantity section gets automatically updated as soon as someone purchases it.

Order Management

On the other hand, all the orders from the customers are listed under this section. The system lists out order details with proper mention of customer and product details with payment information, paid amount, and status. All the orders are automatically set to pending status under shipping and payment status by default. Here, an admin has to verify each order manually and change the status of each order. Starting from the payment status to shipping status, an admin has to mark it as complete as soon as it gets. Additionally, the admin can also send personal messages to the customers regarding any product-related issues or a simple thank you message. This section is directly connected to the customer’s order history as the results depend upon the admin side of things. Besides, the user can delete orders, search orders by product name, customer name, or pricing details.

Customer Management and Page Settings

Moreover, every customer needs to verify their account after signing up. And all the verified customer accounts are listed under the customer section of the admin panel. Here, the administrator can view the customer’s detail such as name, email, contact information, and account status. In fact, an admin can manually change each customer’s account status and mark it as deactivated. Or, simply delete the whole record of the customer. Regarding page settings, it contains a section that covers the pages of the website such as contact, FAQs, and about us. The user can update the page title, banner photo, meta keywords, description for each section. To be more precise, an admin can update details of each available page on the website anytime from the system itself with ease.

Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Online Ecommerce Website System Project in PHP MySQL. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new eCommerce Website Project in PHP MySQL which includes an admin panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • Client-Side Interaction
  • Admin Panel
  • Customer Registration
  • Add to Cart System
  • Checkout System
  • Update Billing Address
  • Search, Filter Products
  • Product Categories
  • Featured Products
  • Latest Products
  • Popular Products
  • View Order History
  • Update Customer Profile
  • Manage Website Settings
  • Manage Shop Settings
  • Product Management
  • Order Management
  • Pending Orders, Shippings
  • Set up Image Sliders
  • Set Shipping Charges
  • Page Settings
  • Set Social Media Links
  • Subscribers
  • View Registered Customers
Project Name:Ecommerce Website PHP Project
Language/s Used:PHP
PHP version (Recommended):5.6, 7.4
Database:MySQL
Type:Website
Developer:Hammad Hassan
Updates:0
Ecommerce Website PHP Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the eCommerce site Project in PHP MySQL. For this particular PHP project, PHP Version 5.6 or 7.4 is required because the project does not operate with the oldest PHP version. So, users with the oldest PHP version (older than 5.6) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the old version) at the moment. Also, Download Free eCommerce Site Project in PHP MySQL Source Code. So, this eCommerce Website PHP project is a fully functional project for all the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Ecommerce Website Project in PHP MySQL with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose

303 comments

      1. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C:………………….

          1. thank you for the project I find it very interesting however, registration does not work online. when a user registers and submits the form it is a blank page which is subsequently displayed and when the administrator checks the registration the new registrant is not there, in other words he is not registered in the database. how can I solve this problem please?

          2. he says — and not edit in database file

            — ——————————————————–

            #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

        1. im also getting error. but i have created a database and also imported the file.
          Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb. tbl_settings………………………….

        2. add database….
          first create database then import database in it use command line sql import setting and some other table.

          1. — Table structure for table `tbl_settings`

            CREATE TABLE `tbl_settings` (
            `id` int(11) NOT NULL,
            `logo` varchar(255) NOT NULL,
            `favicon` varchar(255) NOT NULL,
            `footer_about` text NOT NULL,
            `footer_copyright` text NOT NULL,
            `contact_address` text NOT NULL,
            `contact_email` varchar(255) NOT NULL,
            `contact_phone` varchar(255) NOT NULL,
            `contact_fax` varchar(255) NOT NULL,
            `contact_map_iframe` text NOT NULL,
            `receive_email` varchar(255) NOT NULL,
            `receive_email_subject` varchar(255) NOT NULL,
            `receive_email_thank_you_message` text NOT NULL,
            `forget_password_message` text NOT NULL,
            `total_recent_post_footer` int(10) NOT NULL,
            `total_popular_post_footer` int(10) NOT NULL,
            `total_recent_post_sidebar` int(11) NOT NULL,
            `total_popular_post_sidebar` int(11) NOT NULL,
            `total_featured_product_home` int(11) NOT NULL,
            `total_latest_product_home` int(11) NOT NULL,
            `total_popular_product_home`[…]

      2. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_social’ doesn’t exist in C………………….

      3. #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

      4. Error
        SQL query:

        — ——————————————————–


        — Table structure for table `tbl_settings`

        CREATE TABLE `tbl_settings` (…………………………………………………….
        MySQL said: Documentation

        #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
        in this code what’s is error
        kindly reply sir plzz

      5. Connection error :SQLSTATE[HY000] [1049] Unknown database ‘ecommerceweb’
        Warning: Undefined variable $pdo in C:\xampp\htdocs\eCommerceSite-PHP\header.php on line 16……………

          1. How’s that even possible, the error message that you’ve mentioned earlier simply says there’s a connection error: no any database named ‘ecommerceweb’. Can you tell us in brief what did you do for creating the database?

      6. Ecommerce Website in PHP MySQL with Source Code on this project please send the share code of cash on delivery and scanner and pay methods of source code very urgently please Sir.

    1. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C……………
      how to remove this error?

  1. Hi. I have a problem when import databases:
    #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
    *********************************************
    — ————————————————————….

      1. I do not understand can you please tell me more clearly…. and also got the fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C…………………

        1. Just open the db file using text editor, and you’ll see table “tbl_settings” on line number 1359. You have to import the database file before running the project!

    1. open db file in notepad on line 1359 u can see tbl_settings. there change all varchar(225) to varchar(100)

  2. the file header.php is calling the table “tbl_settings” from the db but there is no such a table in the “ecommerceweb” db. therefore it’s showing:
    Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C……………………………..

    1. That’s impossible. Please do check the SQL file properly. There’s a tbl_settings table on line number 1359. Please make sure you’ve created and imported the same db file before running the project.

  3. When I create a new account, I get this error. I want to cancel the account verification code
    Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘cust_token’ in ‘field list’ in C:\xampp\htdocs\eCommerceSite-PHP\registration.php:151 Stack trace: #0 C: \xampp\htdocs\eCommerceSite-PHP\registration.php(151): PDOStatement->execute(Array) #1 {main} thrown in C:\xampp\htdocs\eCommerceSite-PHP\registration.php on line 151

    1. Are you sure that you’ve imported the same database that we’ve provided? Cause the column ‘cust_token’ is present inside the table ‘tbl_customer’.

      1. I did not change anything except on the tbl settings table because it shows me this problem
        #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
        Changed InnoDB to MyISAM and added ROW FORMAT COMPRESSED

        1. bro i cannot create a database

          Please help me how i create a database named ‘ecommerceweb’ and import the given db file

          error:

          Warning: session_start(): Session cannot be started after headers have already been sent in …………..

  4. how to remove tawk.to
    i did remove Tawk.to script and get this
    Warning: session_start(): Cannot start session when headers already sent in /www/header.php on line 4
    Warning: session_start(): Cannot start session when headers already sent in /www/admin/inc/CSRF_Protect.php on line 29

  5. Warning: mail(): Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set…………………
    I am getting this error. Kindly help me in fixing this problem.

    1. There’s no mail feature as it does not work in this project. Customer Verification should be done by accessing the database and changing its active status [Also mentioned in the text file]

  6. this what when i try to run the it

    Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C………..

  7. Please when I tried Setting the website especially the logo.. I get updated but the image doesn’t change.. any help? Though the pictures get into the folder 📂 but didn’t change on the website.. can you help?

  8. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C……………..
    please help

  9. : mail(): Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:\xampp\htdocs\eCommerceSite-PHP\forget-password.php on line 73

    1. Your problem is mentioned right there! There’s no mail server configured in this project. Regarding that particular section, users have to do it themselves.

  10. sir mujeh solutions btade mujeh zarorat hai jaldi please . Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘p_id’ cannot be null in C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php:143 Stack trace: #0 C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php(143): PDOStatement->execute(Array) #1 {main} thrown in C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php on line 143

    1. Sorry, we’re unable to understand your language. Please prefer using English!
      Regarding those mentioned error messages, can we know about your PHP version?

      1. Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘p_id’ cannot be null in C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php:143 Stack trace: #0 C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php(143): PDOStatement->execute(Array) #1 {main} thrown in C:\xampp\htdocs\eCommerceSite-PHP\admin\product-add.php on line 143

  11. Hi, I am not able to login using the email ID and password of the admin given.
    It shows: “Email Address does not match”

  12. #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
    this error is showing after importing database file give a solution

  13. please help

    Fatal error: Uncaught Error: Undefined constant “DATABASE” in C:\xampp\htdocs\ecoomerse\db.php:8 Stack trace: #0 C:\xampp\htdocs\ecoomerse\action.php(4): include() #1 {main} thrown in C:\xampp\htdocs\ecoomerse\db.php on line 8

  14. Good Day

    I trust that you are well

    What should we do if we would like to use this as my business website after editing the website to my needs

    Kind Regards

  15. adding to cart not working, popup seys its added but cart empty
    there is no coding insert to tbl_order.

    1. You’ll only see data under tbl_order once you checkout! Regarding add to cart system, if it does not show any product under the cart then try adding a new product from the admin panel and try again!

      1. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in…………………

  16. Fatal error: Uncaught mysqli_sql_exception: Table ‘ecom_store.services’ doesn’t exist in C:\xampp\htdocs\ecommerce-website-php\localstore.php:41 Stack trace: #0 C:\xampp\htdocs\ecommerce-website-php\localstore.php(41): mysqli_query(Object(mysqli), ‘select * from s…’) #1 {main} thrown in C:\xampp\htdocs\ecommerce-website-php\localstore.php on line 41

    it shows this and men women and localstore doesn’t work.

  17. Fatal error: Uncaught mysqli_sql_exception: Table ‘ecom_store.services’ doesn’t exist in C:\xampp\htdocs\ecommerce-website-php\localstore.php:41 Stack trace: #0 C:\xampp\htdocs\ecommerce-website-php\localstore.php(41): mysqli_query(Object(mysqli), ‘select * from s…’) #1 {main} thrown in C:\xampp\htdocs\ecommerce-website-php\localstore.php on line 41

    please help sir😣

  18. How to solve this problem?
    Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: ” for column `ecommerceweb`.`tbl_customer`.`cust_b_country` at row 1 in C………………………

    1. Looks like the LATEST version requires a different DateTime format than the one developers had set on.
      Try this: Format date like “Y-m-d H:i:s” in order to work with the MySQL DateTime field.

  19. I could not understand what you mean when you say “LANG_VALUE_…..”. When echoing… I would like to know where are you echoing the values from ..

    1. Well, we don’t know each and every code piece on how the developers of this project made it up. Guess, you’ll have to figure it out by yourself!

  20. Thanks.. i have just figured it out. They are echoed from the tbl_language using there id to make a respon to a particular value

  21. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C:\xampp……………….

  22. Hello! Do you use Twitter? I’d like to follow you if that would be ok.
    I’m absolutely enjoying your blog and look forward to new posts.

    1. Its Password@123. We’ve provided you guys with a db file and if you think we’ve provided the wrong login details then please you can check the login details yourself from the given database.

  23. Hello Sir after filling registration form and then submit. data is not inserted in database or not any message display that user registration successful.

      1. yes sure php version :-7.4.21.
        please check and help me out.its urgent for my project .
        After registration data not posted in database.
        help me out please sir.

        1. After registration, customer verification should be done by accessing the database and changing its active status.
          Also, make sure that you’ve created a database with right name as mentioned in the text files and import the SQL file.

          1. yes sir i know but after registration button click data not uploaded in database so how i will update active status tell me..

  24. yes sir i will do same as mentioned but i did not getting the problem. how can i share images for the same.kindly address for the issues.

  25. The registration form fill and then click registration button then page get blank and form not submitted in database table. i will provide you the link which error i am facing.(https://we.tl/t-6brYQINBDZ )
    please go through the video and help me out. its urgent.

    1. how can l change the current which php file can help me do that and how does the line of code look like

  26. prepare(“SELEC*FROM galeri………………………..

    I’m pulling from database 3 tables are not coming

  27. Hi, how can I remove the share social media button in the main page. I have tried just leave the input field blank but it still appear.

  28. consulta SQL: Copiar
    CREATE TABLE `tb l_settings` (
    `id` int(11……………………………………….
    MySQL ha dicho: Documentación

    #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

  29. Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: ” for column ‘cust_b_country’ at row 1 in C:\wamp64\www\registration.php on line 151

    Get this error every time I try to register a new account to test!

    1. We’ve tested it again, but we didn’t see such error messages. Errors like this might occur due to variations of versions. This project was tested on PHP 5.6 and 7.4

  30. — ——————————————————–

    — Table structure for table `tbl_settings`

    CRETE TABLE `tbl_ settings (
    `id` int(11) NOT NULL……………….

  31. How to fix this?
    Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)
    Fatal error: Uncaught Error: Call to a member function prepare() on string in D:…………..

  32. Fatal error: Uncaught Error: Call to a member function prepare() on string in D:\xampp\htdocs\eCommerceSite-PHP\eCommerceSite-PHP\header.php:17 Stack trace: #0 D:………….
    how to fix this? thank you in advance

  33. please anyone can help me please
    Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C…………….

  34. Can I change the name of the database in the code file? If possible give me the code file containing the database name. Thank you !

  35. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C………………..header.php on line 25

  36. Hi ! I’m learning about your PHP project, I want to integrate PayPal into this website using http method: https://www.sandbox.paypal.com/vn/home (it’s different from the Stripe method you’re using) but I don’t know of any way to return the order information to the database. Hope you help me. Looking forward to hearing from you soon! Thank you !

  37. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_ settings’ doesn’t exist in C:………..

  38. For people who getting this error Fatal error : Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ does not exist in C:………………..

    I solve using server wamp server and i follow this steps

    After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
    There you’ll find a folder naming “htdocs”.
    Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
    Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
    Then, go to URL “http://localhost/phpmyadmin“.
    Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
    Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
    After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
    All the login details are provided inside the project folder, check that out and enter them in order to use it.

  39. #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.


  40. — Table structure for table `tbl_ settings`

    …………………………………………
    MySQL said: Documentation

    #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

  41. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_ settings’ doesn’t exist in D:……………….

  42. Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’ @’ localhost’ (using password: NO)
    Notice: Undefined variable: pdo in C:…………………….

    my problem please solve it please

  43. If we give a wrong password it is checking with the DB and giving an error message if the customer status is not active, it is showing an error message. The only problem is when we enter the correct details it is not getting logged in. On localhost login functionality is working fine but on the live server, login functionality is not working.

  44. Warning: mail(): Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in F: \xampp1 \htdocs \lrritzy\registration.php on line 171

  45. Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in D:………………..

      1. I already Create But Shown an Error on MySQL I Show a error — ———————————————————— Table structure for table `tbl_settings………………………………….
        MySQL said: Documentation

        #1118 – Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In the current row format, the BLOB prefix of 0 bytes is stored inline.

        Please update the code Sir.

  46. i can seem to understand why you would not include mail sending in the scripts. As there are references to sending emails.

  47. Dear Sir,
    I am facing one big problem, whenever I am trying to add product in cart, it is not getting added and in error_log file some problem of session is coming, please help me.
    the error is follows:
    [26-Feb-2023 04:09:52 America/Boise] PHP Warning: session_start(): Cannot start session when headers already sent in ……………………

  48. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings………………………
    How to solve the problem

      1. Do not work last step Donot show website
        Useless
        My project failed
        👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎👎
        Database errors too big row size

  49. Fatal error: Uncaught Error: Call to undefined function get_header() in C:\xampp\htdocs\shop-elite\index.php:15 Stack trace: #0 {main} thrown in C:\xampp\htdocs\shop-elite\index.php on line 15
    why?

  50. Hello! Help please. When I fill the database with Russian letters, all these words turn into question mark symbols on the page. It looks like this: ????? ????.
    I’ve already tried a lot of things, but I can’t solve this problem in any way.

  51. Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    please help to solve this error

  52. Connection error :SQLSTATE[HY000] [1049] Unknown database ‘ecommerceweb’
    Warning: Undefined variable $pdo in C…………………….

  53. how can I get the verification code in the login page itself instead of getting it in mail? since there is SMTP error!

  54. A PHP Error was encountered
    Severity: 8192

    Message: Creation of dynamic property CI_URI::$config is deprecated
    ……………………
    lots of that type of error
    what is solution.

  55. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings………………..

  56. Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)
    Warning: Undefined variable $pdo in C:……………..

  57. Hi, can u please help me with this error:
    Connection error :SQLSTATE[HY000] [1049] Unknown database ‘ecommerceweb’
    Warning: Undefined variable $pdo in C……………..

  58. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb. tbl_settings’ doesn’t exist in C……………………

    I’m getting this error even after setting up the DB and importing the SQL files!!Please help

  59. hello Sir First Thanks you so much for providing this type content for us…….
    and guy’s you don’t have any problem if you first create the database as given database name and then open sql and paste this query on it “SET GLOBAL innodb_strict_mode = 0;” and then import your sql file, you didn’t have any problem to use this awesome project

  60. Hello !!
    Sir i have a major issue in this project.. when i run this project in localhost (Xampp,Wamp) its work fine all the things.. but when i host this website in hosting then its user side register, login and add to cart not working. i am very confused about it ..admin panel also log in and database connect successful and admin panel works..only user side make an issue….

  61. Please how can i change the currency . Don’t know exactly the file containing that line of code. Can you help me please

  62. I get this when i try to register a new customer

    Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: ” for column `………………….

  63. Thank you Codeastro, thank you Hammad Hassan!
    That’s a whole lot of work right there. It works perfectly. Just a few changes and it worked very perfect.
    Please note: if you have issues importing sql file, use the insert sql script instead. Create the database “ecommerceweb”, copy the sql script and insert it manually.
    Great work honestly. Please if you accept crypto donations to support Codeastro, please provide a link or usdt wallet.

  64. Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    having this error.
    i just seen above answer of yours regarding this. please elaborate the full solution

  65. I’m using PHPMailer to send confirmation links but when I click them I get a 404 page instead of the Confirmation succesful one

  66. Connection error :SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    PLEASEEEEE, I NEED THAT STEP BY STEP HOW TO DO IT, I have tryed everything but i cant solved it.

    I reaally need it to know

  67. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘fashionmava.tbl_settings’ doesn’t exist in C:………………..

  68. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ecommerceweb.tbl_settings’ doesn’t exist in C………………..

  69. Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

    If you think this is a server error, please contact the webmaster.

    Error 404
    localhost
    Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3

  70. thanks for the code

    But I am facing challenge when i click login the page is not loading, and the site is not completed the page.

  71. Thank you! This is awesome. But why is the blog missing? I saw it in the database and in the source code, and css, but it was removed and hidden. Can you guys bring it back?

  72. Hi
    Thanks for the code
    But is not working for me
    after hitting the localhost… is not showing me same page as in video and
    When i press on login the page is blank

  73. database importing problem and there showing this
    — ——– Table structure for table `tbl_settings`–CREATE………………..

  74. Please help there is no table_setting file in your database Please correct it i have already check

  75. I can’t able to register and even I can’t able to login with default users
    then in adding product, photo is not showing

    1. Make sure you’ve established db connection for this project. We’ve provided db file for the project as well.
      You can register a new user and after that Customer Verification should be done by accessing the database and changing its active status.

    1. It looks like you’re trying to log in as a customer using Admin credentials. The login details provided in the text file are only for the Admin login. For customer access, please register a new user. However, to access the admin panel, please use the credentials that we’ve provided in the text file.

  76. can you help me to change the currency ….. I have changed it in admin panel but not able to change on the customer side

  77. registration of new customers displays and error message
    Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: ” for column ‘cust_b_country’ at row 1 in C:\xampp\htdocs\eCommerceSite-PHP\registration.php:121 Stack trace: #0 C:\xampp\htdocs\eCommerceSite-PHP\registration.php(121): PDOStatement->execute(Array) #1 {main} thrown in C:\xampp\htdocs\eCommerceSite-PHP\registration.php on line 121

  78. please fix this
    Fatal error: Uncaught PDOException, SQLSTATE[42S02] Base table or view not found 1146 Table ‘ecommerceweb.tbl_social’ doesn’t exist in C:\xampp\htdocs\eCommerce Site
    ……………………….

Leave a Reply

Your email address will not be published. Required fields are marked *