Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The PDO extension is required for this adapter but the extension is not loa

Discussion in 'General Discussion' started by CraftyPanda, Jan 28, 2013.

  1. CraftyPanda

    CraftyPanda Well-Known Member

    Nov 15, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi hi,

    Could someone help me out with the below error please? I have transferred a magento website over my new hosting and I am getting the below error. A little while ago I did enable PDO in the apache config and its working because I have other magento sites running on my server, but this is the only one I have transferred across. This error is when visiting the home page.

    Any help would be greatly appreciated.

    The error is :

    There has been an error processing your request

    The PDO extension is required for this adapter but the extension is not loaded
    #0 /home/pcloidd6/public_html/lib/Zend/Db/Adapter/Abstract.php(247): Zend_Db_Adapter_Pdo_Abstract->setFetchMode(2)
    #1 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/Resource.php(165): Zend_Db_Adapter_Abstract->__construct(Array)
    #2 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
    #3 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(141): Mage_Core_Model_Resource->getConnection('core_setup')
    #4 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(234): Mage_Core_Model_Resource_Setup->__construct('core_setup')
    #5 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/App.php(412): Mage_Core_Model_Resource_Setup::applyAllUpdates()
    #6 /home/pcloidd6/public_html/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules()
    #7 /home/pcloidd6/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
    #8 /home/pcloidd6/public_html/index.php(80): Mage::run('', 'store')
    #9 {main}
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Re: The PDO extension is required for this adapter but the extension is not

    Hello :)

    Please check to see if you have any custom php.ini files located in the account's root or public_html directory. It could be taking priority over the default php.ini file on the system.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice