Blog Tutorial

#1
[eluser]defrey74[/eluser]
Hi there,

I have just started using CI & got a bit of an intro doing the tutorials.

Issue!?...

I cannot connect to the database & the blog tutorial looks slightly different than the version i have got.

Any ideas what i could be doing wrong?

In autoload.php it says:

| -------------------------------------------------------------------
| Auto-load Core Libraries
| -------------------------------------------------------------------
|
| DEPRECATED: Use $autoload['libraries'] above instead.
|
*/

$autoload['core'] = array('');

So to connect to my database i wrote:

-------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your system/application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/

$autoload['libraries'] = array('database');


I have viewed & re-viewed the video, check & re-check my files & i believe my problem is coming from the explanation above.

Thanks for your help


Regards


Fred


Messages In This Thread
Blog Tutorial - by El Forum - 04-20-2008, 06:29 AM
Blog Tutorial - by El Forum - 04-20-2008, 06:39 AM
Blog Tutorial - by El Forum - 04-20-2008, 06:41 AM
Blog Tutorial - by El Forum - 04-20-2008, 06:44 AM
Blog Tutorial - by El Forum - 04-20-2008, 09:58 AM
Blog Tutorial - by El Forum - 04-21-2008, 12:21 AM
Blog Tutorial - by El Forum - 04-21-2008, 12:58 AM
Blog Tutorial - by El Forum - 04-21-2008, 04:53 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.