imlakshay08 / waste-management-system

This project is for EcoHacks Hackathon 2022. This Waste Management System is a web application aimed to provide a digital way of complaining the concerns of general citizens to their relative municipalities.
https://waste-managemnt-system.000webhostapp.com/
50 stars 142 forks source link

Cant working #5

Open miamor028 opened 11 months ago

miamor028 commented 11 months ago

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

miamor028 commented 11 months ago

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

imlakshay08 commented 11 months ago

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.

miamor028 commented 11 months ago

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

miamor028 commented 11 months ago

1700984012231582764093082151073

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

imlakshay08 commented 11 months ago

@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.

miamor028 commented 11 months ago

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 🙃

imlakshay08 commented 11 months ago

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