title: Transferring Yii site over to new server
body: <p>I'm getting this PHP error when I transferred the site accross another hosting with new domain. I have changed all the database settings correctly.  I am new in Yii and not sure how to set this up correctly. Some say this is issue with PDO but I'm not too sure.</p>
  
  <p>How can we fix this issue?</p>
  
  <pre><code>Description
  
  include(PDO.php) [&lt;a href='function.include'&gt;function.include&lt;/a&gt;]: failed to open stream: No such file or directory
  
  Source File
  
  /home/fundasha/public_html/libs/framework/YiiBase.php(395)
  
  00383:      * @return boolean whether the class has been loaded successfully
  00384:      */
  00385:     public static function autoload($className)
  00386:     {
  00387:         // use include so that the error PHP file may appear
  00388:         if(isset(self::$_coreClasses[$className]))
  00389:             include(YII_PATH.self::$_coreClasses[$className]);
  00390:         else if(isset(self::$classMap[$className]))
  00391:             include(self::$classMap[$className]);
  00392:         else
  00393:         {
  00394:             if(strpos($className,'\\')===false)
  00395:                 include($className.'.php');
  00396:             else  // class name with namespace in PHP 5.3
  00397:             {
  00398:                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
  00399:                 if(($path=self::getPathOfAlias($namespace))!==false)
  00400:                     include($path.'.php');
  00401:                 else
  00402:                     return false;
  00403:             }
  00404:             return class_exists($className,false) || interface_exists($className,false);
  00405:         }
  00406:         return true;
  00407:     }
  Stack Trace
  
  #0 /home/fundasha/public_html/libs/framework/YiiBase.php(395): autoload()
  #1 unknown(0): autoload()
  #2 /home/fundasha/public_html/libs/framework/db/CDbConnection.php(309): spl_autoload_call()
  #3 /home/fundasha/public_html/libs/framework/db/CDbConnection.php(261): CDbConnection-&gt;createPdoInstance()
  #4 /home/fundasha/public_html/libs/framework/db/CDbConnection.php(242): CDbConnection-&gt;open()
  #5 /home/fundasha/public_html/libs/framework/db/CDbConnection.php(221): CDbConnection-&gt;setActive()
  #6 /home/fundasha/public_html/libs/framework/base/CModule.php(372): CDbConnection-&gt;init()
  #7 /home/fundasha/public_html/libs/framework/base/CApplication.php(406): CWebApplication-&gt;getComponent()
  #8 /home/fundasha/public_html/libs/framework/db/ar/CActiveRecord.php(589): CWebApplication-&gt;getDb()
  #9 /home/fundasha/public_html/libs/framework/db/ar/CActiveRecord.php(2167): Proposals-&gt;getDbConnection()
  #10 /home/fundasha/public_html/libs/framework/db/ar/CActiveRecord.php(353): CActiveRecordMetaData-&gt;__construct()
  #11 /home/fundasha/public_html/libs/framework/web/CActiveDataProvider.php(63): model()
  #12 /home/fundasha/public_html/protected/controllers/SiteController.php(62): CActiveDataProvider-&gt;__construct()
  #13 /home/fundasha/public_html/libs/framework/web/actions/CInlineAction.php(57): SiteController-&gt;actionIndex()
  #14 /home/fundasha/public_html/libs/framework/web/CController.php(300): CInlineAction-&gt;run()
  #15 /home/fundasha/public_html/libs/framework/web/CController.php(278): SiteController-&gt;runAction()
  #16 /home/fundasha/public_html/libs/framework/web/CController.php(257): SiteController-&gt;runActionWithFilters()
  #17 /home/fundasha/public_html/libs/framework/web/CWebApplication.php(324): SiteController-&gt;run()
  #18 /home/fundasha/public_html/libs/framework/web/CWebApplication.php(121): CWebApplication-&gt;runController()
  #19 /home/fundasha/public_html/libs/framework/base/CApplication.php(135): CWebApplication-&gt;processRequest()
  #20 /home/fundasha/public_html/index.php(13): CWebApplication-&gt;run()
  </code></pre>