16,021,125 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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