ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

newbie need help with this book and script (professional codeigniter)

December 05, 2010 11:37am

Subscribe [2]
  • #1 / Dec 05, 2010 11:37am

    awastrojan

    2 posts

    sorry before if my question is repost from any question here.

    yea, im a very newbie in this stuff (codeigniter framework)  😊
    but i want to try some script that i got from wrox, professional codeigniter (i also have the book in pdf format) 😊

    i got some files i’m downloaded from http://www.wrox.com/WileyCDA/WroxTitle/Professional-CodeIgniter.productCd-0470282452,descCd-DOWNLOAD.html

    there i found a file called claudiaskids.rar that extracted into claudiaskids folder and claudias_kids.sql
    im copy this claudiaskids folder to C:/wamp/www/
    and also import the database claudias_kids.sql with phpmyadmin
    i think that i can simply run this script easily
    but i found this error

    An Error Was Encountered
    Unable to connect to your database server using the provided settings.

    what was the mistake i’ve done?
    any parameter or settings that i’ve must change from config folder from that bunch of file i’ve downloaded?

    very2 sorry from my fool question. but i’ve must learn this stuff
    very thanks before :coolsmile:

    my system :
    windows 7 ultimate x64
    wamp server latest version
    google chrome browser

  • #2 / Dec 05, 2010 12:23pm

    WanWizard

    4475 posts

    You need to modify the database.php file in the config folder, with the correct database name, username and password.

  • #3 / Dec 05, 2010 2:28pm

    awastrojan

    2 posts

    You need to modify the database.php file in the config folder, with the correct database name, username and password.

    umm ... then im import claudia_kids.sql to the database
    and i’ve found this warning,, what shoud i do?

    Error
    SQL query:

    —phpMyAdmin SQL Dump
    —version 2.6.2
    http://www.phpmyadmin.net

    —Host: db1.modwest.com
    —Generation Time: May 03, 2008 at 11:06 AM
    —Server version: 5.0.32
    —PHP Version: 4.4.6

    —Database: `claudias_kids`

    —————————————————————————————

    —Table structure for table `admins`

    DROP TABLE IF EXISTS `admins` ;


    MySQL said:

    #1046 - No database selected

    why the warn is no database selected?
    many thanks 😊

  • #4 / Dec 05, 2010 2:38pm

    WanWizard

    4475 posts

    In PHPMyAdmin, create a database first. Make sure you have a user and password with access to that database. Select that database on the left, then select “SQL” at the top, and paste the sql code in.

  • #5 / Dec 05, 2010 8:20pm

    awastrojan

    2 posts

    In PHPMyAdmin, create a database first. Make sure you have a user and password with access to that database. Select that database on the left, then select “SQL” at the top, and paste the sql code in.

    ok, it’s works
    thanks for the explanation, bro 😊

  • #6 / Aug 12, 2011 4:22pm

    codecombustor

    8 posts

    In my case when i try to run the codes the url paths redirected from the link don’t work…
    don’t know the reason why…i have checked the config files, everything seems alright

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases