Posts

Showing posts with the label xampp

CodeIgniter and GIT: What not to check-in?

CodeIgniter and GIT: What not to check-in? This is my first attempt with CodeIgniter and I'm trying to figure out how to configure it against a GIT repo. The basic idea here is to avoid checking-in framework files and somehow keep only my work in GIT. What is the default/best practice here. Do people commit entire codeigniter folder into source control? Looking at the default .gitignore file, it doesn't look like they want to exclude framework folders like system and user_guide etc. .gitignore system user_guide My idea is to keep XAMPP and CodeIgnitor in default location ( c:xampp ) and keep my code in source code in, say D:My ProjectsNewExcitingWebsite (with models , views and controllers folders therein) and then redirect codeigniter to look towards that folder by setting variables in config files. Is that the correct way to go? If yes, how do I set path for Controllers ? There is a variable for views folder that can be set, but none for controllers and models. c:xampp...

Mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)

Mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) I'm using xampp. I also downloaded MySQL Database. Then I have created a database with Mysql Database, with Then I start Xampp Apache and Mysql. When I try to connect to localhost:8080/phpmyadmin, I receive this kind of error: Messaggio di MySQL: Documentazione Impossibile connettersi: impostazioni non valide. mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin ha provato a connettersi al server MySQL, e il server ha rifiutato la connessione. Si dovrebbe controllare il nome dell'host, l'username e la password nel file di configurazione ed assicurarsi che corrispondano alle informazioni fornite dall'amministratore del server MySQL. So I think that I should modify the file: config.inc.php but the problems are: config.inc.php Can you help me to solve this problem? I need t...