All examples are not seen?

Discuss anything that's related to the Raxan framework

All examples are not seen?

Postby sudhirp » Wed Dec 21, 2011 7:01 am

Hi,

I am not able to see all examples after downloading sdk on my local server ,especially notepad ,shout box,contact form,employee search etc.. any special configuration is required? or missing steps such as database etc

I have downloaded sdk in the localhost

I have set up extension of pdo in php.ini
sudhirp
 
Posts: 1
Joined: Wed Dec 21, 2011 6:40 am

Re: All examples are not seen?

Postby raymond » Tue Dec 27, 2011 6:55 pm

Hi,

Some of the example will require read/write permission to the SQLite database files (*.db) inside the examples/data folder.

As for the Employee Search example you will have to setup a MySQL employees database and connection. For the employee sample data visit http://dev.mysql.com/doc/

See the config.php file for the database connection:

Code: Select all
<?php
// setup PDO Database connector for employees database
$config['db.employees'] = array(
    'dsn'       => 'mysql: host=localhost; dbname=employees',
    'user'      => 'user',
    'password'  => 'password',
    'attribs'   => PDO::ERRMODE_EXCEPTION // use pdo exception mode
);
?>


Best regards,

__
Raymond
raymond
Site Admin
 
Posts: 215
Joined: Tue Mar 17, 2009 5:04 am


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron