Yii Framework Forum: problems at 1.3.2 Implementing CRUD Operations with winxp - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problems at 1.3.2 Implementing CRUD Operations with winxp Rate Topic: -----

#1 User is offline   jorgephantom 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 20-December 08

Posted 20 December 2008 - 01:49 AM

I create the database with the User table and configure the config/main.php file with the connectionString like the yii guide say, adding the line:

'db'=>array(
'connectionString'=>'sqlite:protected/data/source.db',
),

then when i try to run in console this commands:
% cd c:\xampp\htdocs\testdrive

and just when i put this command:

..\yii\framework\yiic shell

then show me this error:

"<h2>
            Welcome,
Fatal error: session_start(): Failed to initialize storage module: user (path: c:\xampp\tmp) in c:\xampp\htdocs\yii\framework\web\CHttpSession.php on line 102
"

please can anybody help me?

what i'm doing wrong?
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,901
  • Joined: 04-October 08
  • Location:DC, USA

Posted 20 December 2008 - 07:57 AM

The program is trying to open session which uses directory c:\xampp\tmp as session storage. Make sure this directory exists and is writable by the Web server process.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users