-
pastellgear posted...
Wow! your tutorials are really great! I'm amazed on how you explain these so clearly that even a beginner like me could easily understand, unlike other video tutorials. Your tutorials are really helpful and I will definitely recommend your site to my friends.
Thanks for sharing!
-
codewalker posted...
Hi,
First, thanx for the great Tutorial-its really well explained and better then the most out there.
Theoretically i do understand now all the working and have implemented the tutorial website to quite an extent but practically i have some problems with the database connection.
Problem: I just can't connect to the database. I have set everything correct in the
autoloader:
$autoload['libraries'] = array('database','session','form_validation');
database access infos and even $db['default']['active_r'] = TRUE;
but cannot connect. Does it have something to do with using
$this->load->database(); in all the constructors? But thats what the autoloader does right? Im using Netbeans, in the model or controller it does not show me the functions of the parent class after i do $this-> ... even if i set parent::Controller or parent::Model
Thanx for the Help.
-
andoy posted...
thank you very much for the nice tutorials..
-
alexjustesen posted...
Hey man great tutorials! Just have one question where is the httpd-vhosts.config file located?
-
Zumry posted...
Tnx mateee.....
-
Vitaliy posted...
Hey Shawn, I've installed XAMPP and can access it through 127.0.0.1 but once I edit the vhosts file I get an Access Forbidden message.
I've searched around in google and can't find a way to fix this.
Any help here is appreciated. I'm sick and tired of having to upload files onto my server just to test a small change.
-
Shawn McCool posted...
Zend Studio 5.5
I've since upgraded to Zend Studio 7 with mixed results.
-
Shawn McCool posted...
The vhosts config file is located under apache/conf/extra/httpd-vhosts.cfg
I am using XAMPP and have it installed to D:/apps/xampp so on my system the file is located at D:/apps/xampp/apache/conf/extra/httpd-vhosts.cfg
-
Shawn McCool posted...
Great! It's a really nice package.
-
Shawn McCool posted...
@codewalker
Before you get too far into the process be sure that you can connect to your database from the same computer that's running the site using the command line MySQL client or something like it.
-
Shawn McCool posted...
@Vitality
You need to add a new virtual host to httpd-vhosts.conf.
-
Shawn McCool posted...
@Ninjabear
At the time of recording I was using Zend Studio 5.5. I am currently using NuSphere's PHPed.
-
Ninjabear posted...
What coding environment do you use for your code? I'm using Dreamweaver but I can't seem to write comments with the ease that you can.
-
Mike McLean posted...
Actually XAMPP includes phpmyadmin so you wouldn't have to download it.
-
Foxdith posted...
Great Tutorial Thank you
-
Draco posted...
Hei Shawn thanks very much, it's really a great starter
Thanks for sharing
-
Christopher Rhodes posted...
Great tutorial! What IDE are you using in your tutorials?
-
Ben Demaree posted...
Vitality (and Shawn): Ran into the same thing configuring my vhosts file. That error is thrown due to some fluke with Apache's directory permissions. Try this as your vhost declaration:
DocumentRoot "C:/path/to/codeigniter/files"
ServerName dev.website.local
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Sadly, I am not knowledgeable enough to know if this is truly secure, or the right way to do it, but for a local dev machine, it works.
Shawn: Thank you for these tutorials. Fantastic, mate! :D
-
Ben Demaree posted...
Err, that didn't work so well...the tag format is being filtered. See the following: http://pastebin.ca/2052677