Click here to Skip to main content
16,021,125 members

Comments by Member 13970084 (Top 3 by date)

Member 13970084 28-Oct-18 20:03pm View    
Man you didnt read it well, i know how to clone it and download but i dont know how to run it, maybe you will better understand it like this:

Im new to php and github, I want to clone this project https://github.com/RomaniukVadim/confessions_script, im using Xampp and localhost, first I downloaded the ZIP and uploaded files to xampp/htdocs/myfile, then when I type localhost/myfile it leads me to localhost/myfile/install.php page, and there it asks you to type DB Name, User, Password and Host, so I went to localhost/phpmyadmin and created datebase named root, so I typed all the informations needed on install.php page and it shows that the databases and tables are created, but error appears, saying theres error in line 26 in index.php, which is:

$conn = new mysqli($host, $dbuser, $dbpass, $dbname);

and then when I type localhost/myfile it redirects me to localhost/dashboard and I can't access the website or install.php page. What am I doing wrong, can someone help me? I shared GitHub link, maybe itll be easier if you look the code.

Thanks

I posted it on Stack Overflow too but noone answered.
Member 13970084 28-Oct-18 18:58pm View    
I typed it in Git and this shows:

fatal: destination path 'confessions_script' already exists and is not an emptydirectory.
Member 13970084 28-Oct-18 18:48pm View    
Im sorry, but where do i type that? In cmd? I have installed Git on PC