waste-management-system icon indicating copy to clipboard operation
waste-management-system copied to clipboard

Cant working

Open miamor028 opened this issue 1 year ago • 7 comments

I try to put all codes in VSC then i try to import wms.sql but still notworking😔 Please help

miamor028 avatar Nov 23 '23 17:11 miamor028

Only index.html working but the complain, login, sign,up, preview complain not working

miamor028 avatar Nov 23 '23 17:11 miamor028

Thank you for raising this issue.

Did you followed this guide for setting up the project correctly ?

I try to put all codes in VSC then i try to import wms.sql but still notworking😔 Please help

Also, just putting all code in VS code won't work. You need to install XAMPP/WAMP server on your system. You could download that from here.

imlakshay08 avatar Nov 25 '23 07:11 imlakshay08

yes I followed, but still didn't working also other functions not working/

miamor028 avatar Nov 26 '23 04:11 miamor028

1700984012231582764093082151073

When i click open this is what comes up, even though xampp is open and i import it.

miamor028 avatar Nov 26 '23 07:11 miamor028

@miamor028 , since this is a dynamic project and not static, you need to host it locally on a server. Make sure, Apache and MySQL (which are provided by xampp) server are up and running. To make sure your server is running, you could navigate to http://localhost/ or http://localhost:8080/ in your browser (here, 8080 is port on which the server is running, you could change this depending on which port your server is running in xampp control panel itself). After opening this localhost, you might see the XAMPP homepage, something like this.

First, Let me know you have achieved this much.

imlakshay08 avatar Nov 27 '23 12:11 imlakshay08

I followed everything, I opened xampp (apache and mysql) and I imported the wms.sql, then I tried to open it locally which is localhost/waste-management-system. The landing page is working but when I click on complain nothing happens, I can't complain and I can't preview complain even though I can't open the admin one, the dashboards can't really open. Because the codes are missing 🙃

miamor028 avatar Nov 29 '23 12:11 miamor028

Where you are importing the wms.sql file exactly? And how are you importing it?

imlakshay08 avatar Nov 30 '23 14:11 imlakshay08

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\WMS\connection.php on line 2

Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\WMS\controllerUserData.php:10 Stack trace: #0 C:\xampp\htdocs\WMS\controllerUserData.php(10): mysqli_real_escape_string(false, 'ssik') #1 C:\xampp\htdocs\WMS\signup-user.php(1): require_once('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\WMS\controllerUserData.php on line 10

kasar123 avatar Nov 17 '24 16:11 kasar123

this is a prob

kasar123 avatar Nov 17 '24 16:11 kasar123