-
Notifications
You must be signed in to change notification settings - Fork 340
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
Can't log in. #3
Comments
have you configured the database configuration - config.php ? If this is done, set up the tables at http://localhost/xvwa/setup/ |
I had the same issue yesterday. i checked the configuration file, mysql and apache2 and all were fine. However, when i go to the url for configuration i got some error. |
@s4n7h0 |
@lfatty can you post the error here ? I believe you did the setup before you login. http://localhost/xvwa/setup/ |
I'm having similar issues. Whenever I attempt to run the setup, the string |
@TheBananaStand you should be able to see something like this, if the tables were created successfully. |
|
I had the same problem. The setup.php file in this repository is broken; it is all commented out. I replaced it with this setup.php file and now it works: "; echo "Connected to database Sucessfully. "; // creating tables $table_comment=mysql_query('create table comments(id int,comment varchar(100),date date)',$conn); if(table_comment){ $insert_comment=mysql_query("INSERT INTO comments (id,user,comment,date) VALUES ('1', 'admin', 'Keep posting your comments here ', '2015-08-10'",$conn); if(insert_comment){ echo " "; echo "Table comments created sucessfully. "; }else{ echo " "; echo "Can not create table comment. Try submit/reset again. "; } }else{ echo " "; echo "Failed to use/select database. Check the configuration file. "; } } ## ?> |
Hi @sambowne I just pushed some minor commit. The setup.php page was created just for developer reference. It just shows some table structures and queries. You can access http://localhost/xvwa/setup/ for database setup. The submit/reset button will do all setup functions as shown in my previous comment. Let me know if you still face any issues sir. |
Hey folks, @TheAngryAvocado @lfatty @TheBananaStand I made a short script for auto configuring xvwa with latest repo from GitHub. This issue should be closed with it https://github.com/s4n7h0/Script-Bucket/blob/master/Bash/xvwa-setup.sh |
Its not work cz--> if(insert_comment){ |
@sashthamanik how did the auto setup work for you ? https://github.com/s4n7h0/Script-Bucket/blob/master/Bash/xvwa-setup.sh |
whenever i access the following link http://192.168.56.103/xvwa/ i get blank screen additionally when i run the auto script i get the below error message ../xvwa-setup.sh |
@AliBawazeEer please check the script you are running. I assume you might have "wget"ed the html page ? |
I'm success in installation xvwa but there is only blank page when i open http://localhost/xvwa |
and also when http://localhost/xvwa/setup is also showing blank page too |
@elneunizar most likely because the config.php file has some wrong parameters. please check if it is same as mentioned here https://github.com/s4n7h0/xvwa#manual-installation-method |
still same |
i already follow all instruction |
@elneunizar could you provide remote access to your setup ? I can look into the issue and fix it for you. It didnt cause any issue for my setup (kali linux + automated script + change settings in config.php) |
After successfuly visiting locally xvwa, I tried to login so I can setup the database and start using it.
Yet though, clicking login (after entering the details, tried with all of them: admin, xvwa, and user),
all I get is a blank (white) page with url: http://localhost/xvwa/login.php.
Is it a local problem? (Note that I am using UniServer Zero XI 11.8.1)
The text was updated successfully, but these errors were encountered: