Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant working #5

Open
miamor028 opened this issue Nov 23, 2023 · 9 comments
Open

Cant working #5

miamor028 opened this issue Nov 23, 2023 · 9 comments

Comments

@miamor028
Copy link

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

@miamor028
Copy link
Author

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

@imlakshay08
Copy link
Owner

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
Copy link
Author

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

@miamor028
Copy link
Author

1700984012231582764093082151073

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

@imlakshay08
Copy link
Owner

@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
Copy link
Author

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
Copy link
Owner

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

@kasar123
Copy link

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
Copy link

this is a prob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants