Yii Framework Forum: CLI has encountered a problem and needs to close - Yii Framework Forum

Jump to content

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

CLI has encountered a problem and needs to close Rate Topic: -----

#1 User is offline   xxkylexx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 08-February 09

Posted 08 February 2009 - 06:59 PM

Hello,
I am following the getting started guide "Creating First Yii Application".

When I try to create my first User model via yiic shell, I get the following error popup, and the shell crashes:

> C:xamppliteyii_1.0.xframeworkyiic shell
>> model User


Quote

CLI has encountered a problem and needs to close. We are sorry for the inconvenience.


I am using XAMPP Lite locally on Windows XP. Any ideas? Thanks!
0

#2 User is offline   qiang 

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

Posted 08 February 2009 - 07:41 PM

This is probably caused by incorrect PHP PDO installation. You may check your logs to find out what is happening. I would suggest you make a new installation of PHP.
0

#3 User is offline   Didier 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 02-February 09

Posted 10 February 2009 - 06:10 AM

http://www.apachefri...hp?f=16&t=32617

The solution, the problem is that XAMPP has something wrong with its mysql library that causes a crash.
0

#4 User is offline   xxkylexx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 08-February 09

Posted 10 February 2009 - 10:41 AM

That fixed it! Thanks.
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