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

Can't log in. #3

Closed
ghost opened this issue Oct 19, 2015 · 20 comments
Closed

Can't log in. #3

ghost opened this issue Oct 19, 2015 · 20 comments

Comments

@ghost
Copy link

ghost commented Oct 19, 2015

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)

@s4n7h0
Copy link
Owner

s4n7h0 commented Oct 19, 2015

have you configured the database configuration - config.php ? If this is done, set up the tables at http://localhost/xvwa/setup/

@lfatty
Copy link

lfatty commented Oct 19, 2015

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.

@lfatty
Copy link

lfatty commented Oct 19, 2015

@s4n7h0
By the way, kudos to you for taking your time to building this learning app.

@s4n7h0
Copy link
Owner

s4n7h0 commented Oct 20, 2015

@lfatty can you post the error here ? I believe you did the setup before you login. http://localhost/xvwa/setup/

@s4n7h0 s4n7h0 closed this as completed Oct 20, 2015
@0xdeadbeefJERKY
Copy link

I'm having similar issues. Whenever I attempt to run the setup, the string Setup finished is written to the setup page, but the database and tables are never created (hence the inability to log in). I've double-checked the configuration files and they're correct.

@s4n7h0
Copy link
Owner

s4n7h0 commented Nov 3, 2015

@TheBananaStand you should be able to see something like this, if the tables were created successfully.

xvwa_setup

@s4n7h0 s4n7h0 reopened this Nov 3, 2015
@andrewmclagan
Copy link

  • 1 great resource, I have a couple of PRs coming to this repo

@sambowne
Copy link

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.
"; } } ## ?>

@s4n7h0
Copy link
Owner

s4n7h0 commented Dec 1, 2015

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.

@s4n7h0
Copy link
Owner

s4n7h0 commented Apr 10, 2016

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

@s4n7h0 s4n7h0 closed this as completed Apr 10, 2016
@sashthamanik
Copy link

Its not work cz--> if(insert_comment){
}
Its work if($insert_comment){
}

@s4n7h0
Copy link
Owner

s4n7h0 commented Apr 18, 2016

@s4n7h0 s4n7h0 reopened this Apr 18, 2016
@AliBawazeEer
Copy link

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
./xvwa-setup.sh: line 5: syntax error near unexpected token newline' ./xvwa-setup.sh: line 5:'

@s4n7h0
Copy link
Owner

s4n7h0 commented Jun 10, 2016

@AliBawazeEer please check the script you are running. I assume you might have "wget"ed the html page ?

@s4n7h0 s4n7h0 closed this as completed Jun 27, 2016
@nizarakbarm
Copy link

I'm success in installation xvwa but there is only blank page when i open http://localhost/xvwa

@nizarakbarm
Copy link

and also when http://localhost/xvwa/setup is also showing blank page too

@s4n7h0
Copy link
Owner

s4n7h0 commented Jan 10, 2017

@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
Do let me know if this works or you still facing issues ?

@nizarakbarm
Copy link

still same

@nizarakbarm
Copy link

i already follow all instruction

@s4n7h0
Copy link
Owner

s4n7h0 commented Jan 10, 2017

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

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

8 participants