Recess Developer Forums: PDO has not been imported. Server error 500 - Recess Developer Forums

Jump to content

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

PDO has not been imported. Server error 500 Rate Topic: -----

#1 User is offline   Khurram Icon

  • Group: Members
  • Posts: 2
  • Joined: 22-October 09

Posted 22 October 2009 - 04:41 AM

I am new to recess, have downloaded it and setup it according to quick setup instructions. Tried for both sqlite and MySQL but while trying to run its throwing same error. I have copy/pasted below.

Recess! diagnostics! 500
PDO has not been imported.

Location: Line 19 of C:\eclipse\workspace\recess\recess\lib\recess\database\pdo\PdoDataSource.class.php

* 15: * @package Recess! Framework
* 16: * @license MIT
* 17: * @link http://www.recessframework.org/
* 18: */
* 19:class PdoDataSource extends PDO {
* 20: const PROVIDER_CLASS_LOCATION = 'recess.database.pdo.';
* 21: const PROVIDER_CLASS_SUFFIX = 'DataSourceProvider';
* 22: const CACHE_PREFIX = 'Recess::PdoDS::';
* 23:
* 24: protected $provider = null;
0

#2 User is offline   Ryan Day Icon

  • Group: Members
  • Posts: 35
  • Joined: 15-September 09

Posted 22 October 2009 - 07:56 AM

It sounds like you may not have PDO implemented in your PHP installation. If you type 'php -m' you should look for the lines

PDO
pdo_mysql

That is the linux flag, I think Windows should be the same. If those don't appear in the list, you will have to install them.
PDO Installation link
0

#3 User is offline   Khurram Icon

  • Group: Members
  • Posts: 2
  • Joined: 22-October 09

Posted 19 February 2010 - 06:05 AM

Thank you Ryan.

I am new to PHP but have a lot of previous experience in programming on JAVA and .Net. I am out of touch of programming since late 2007. I was busy with my job, today got time to experience recess again, get same issue and apply your suggestion. It work !!!
One more question please. I was going through web and find another framework Yii. Can you please precisely explain the difference between recess and Yii (all that differences I got from internet are couple of months old) and which can suite better for a plug-able architecture. And which have a good cache.

Khurram
0

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