Hi im creating a magento website for a tile company and having some problems with "memory size of 33554432 bytes exhausted" when i try to create a configurable product it gives me front end errors and also in my error log the following:
[27-Nov-2014 14:49:17 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 953 bytes) in /home/waxmancer/public_html/app/code/core/Mage/Tag/Model/Resource/Tag/Collection.php on line 25
So in attempt to fix it im trying to increase the amount of the memory limit and execution time in php.ini or in the htaccess file but both files are not there and werent from the start, all that i can find is php.ini.sample files im not sure whats going on or why but i cant do anything its causing a huge stoppage to my site id be grateful to anyone who can explain to me how to get around this i tried to just use the sample and create my own but it crashes the site and doesnt work until i remove the file again.
When i tried to recreate the PHP.ini file and htaccess file i get the following error:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1937085992
Im not sure what that means but the following error in the reporting is shown:
a:4:{i:0;s:78:"The PDO extension is required for this adapter but the extension is not loaded";i:1;s:2522:"#0 /home/waxmancer/public_html/lib/Zend/Db/Adapter/Abstract.php(248): Zend_Db_Adapter_Pdo_Abstract->setFetchMode(2)
#1 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource.php(165): Zend_Db_Adapter_Abstract->__construct(Array)
#2 /home/waxmancer/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/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection('core_write')
#4 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#5 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#6 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(360): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#7 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(134): Mage_Core_Model_Resource_Db_Abstract->getReadConnection()
#8 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Object(Mage_Core_Model_Resource_Website))
#9 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Config.php(1380): Mage_Core_Model_Config->getModelInstance('core_resource/w...', Object(Mage_Core_Model_Resource_Website))
#10 /home/waxmancer/public_html/app/Mage.php(491): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#11 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Abstract.php(208): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#12 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/Abstract.php(213): Mage_Core_Model_Abstract->getResourceCollection()
#13 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/App.php(608): Mage_Core_Model_Abstract->getCollection()
#14 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/App.php(466): Mage_Core_Model_App->_initStores()
#15 /home/waxmancer/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Model_App->_initCurrentStore('', 'store')
#16 /home/waxmancer/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#17 /home/waxmancer/public_html/index.php(87): Mage::run('', 'store')
#18 {main}";s:3:"url";s:31:"/~waxmancer/index.php/?___SID=U";s:11:"script_name";s:21:"/~waxmancer/index.php";}
I fixed the error by adding the following code into my php.ini file
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
The site works now but when i click on any configurable product it just gives me a blank white page.
Still no luck