Closed Maigo96 closed 8 years ago
I'm using WAMP and I had the same problem. I solved it by creating a database in phpmyadmin called xvwa with a user called root and with the password root.
@Maigo96 yes. I can see the error is because of database access. Make sure the username and password for Mysql is correct. Also create a database in mysql using command line or phpmyadmin as suggested by @Barsomisco I will be also releasing an pre-configured iso soon to make things more easy :)
@s4n7h0 I also got another error that might be something to look into aswell:
"Deprecated: mysql_connect(): the mysql extension is deprecated and will be removed in the future: use mysqli or PDO...."
At the moment I simply ignore it by adding this line in php.ini:
error_reporting = E_ALL ^ E_DEPRECATED
@Barsomisco Is that error or warning ??
@s4n7h0 I guess it is an error since it kinda break the website:
@Barsomisco Oh yea. can you please use error_reporting(E_ALL ^ E_DEPRECATED); option to ignore those errors as you suggested earlier. mysql_connect() is required in some part of the application.
@Barsomisco Hey, 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
OK... I'm stuck... I'm installing on top of XAMPP.
This is my config file
When I visit localhost I get this:
I get errors in the source
Any ideas?