Archive

Posts Tagged ‘app code core’

Magento Extra Module

May 9th, 2009 Comments off

*PLEASE REPLY WITH EXAMPLES OF WORK WITH MAGENTO COMMERCE. NO AUTO REPLIES!*

Brief

The client intends that a percentage of all annual profits are distributed to charity. To do this he wants there to be three charities offered to new customers during the customer signup process and the customer should nominate one of these during the signup.

The nominated charity should display in the final page of the one page checkout.

Admin should be able to change the name of the charities

Admin needs to be able to generate a report showing the number of folks nominating each charity

Also they want an extra customer registration field – ‘Are you a UK Taxpayer?’ which should be available in an admin report alongside the charity details

We have gone partway to doing this

Magneto Clean Up To Go Live

April 25th, 2009 Comments off

I am almost ready to go live with Magento, but need some help with a few little errors. Need some help reindexing layered navigation and optimizing for speed.

I am trying to run a script and get the following error below. Also, I am timing out whenever I try to run any processes that take over a minute. My max_execution time in my php.ini file is 300. http://www.posdirect.com/phpinfo.php

I’m trying to fix some indexing issues with Magento. Been trying to get up and running for over five months. This bottleneck is killing me.

Here is the fix I’m trying to run: http://chrismckee.co.uk/magento-commerce-layered-navigation-cache-error-part-deux

Running this script in posdirect.com/eee/cm_LCache.php

Get this error:

posdirecatposdirect.com [~/public_html/eee]# time php -q -f cm_LCache.php
Failed loading /usr/local/Zend/lib/ZendExtensionManager_TS.so:
/usr/local/Zend/lib/ZendExtensionManager_TS.so: cannot open shared object
file: No such file or directory
<br />
<b>Fatal error</b>: Uncaught exception ‘Zend_Db_Adapter_Exception’ with
message ‘pdo_mysql extension is not installed’ in
/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php:178
Stack trace:
#0 /home1/posdirec/public_html/eee/lib/Zend/Db/Adapter/Abstract.php(441):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#1
/home1/posdirec/public_html/eee/lib/Zend/Db/Adapter/Pdo/Abstract.php(230):
Zend_Db_Adapter_Abstract->query(‘SET NAMES utf8′, Array)
#2
/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php(259):
Zend_Db_Adapter_Pdo_Abstract->query(‘SET NAMES utf8′, Array)
#3
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource/Type
/Db/Pdo/Mysql.php(45):
Varien_Db_Adapter_Pdo_Mysql->query(‘SET NAMES utf8′)
#4
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource.php(
85):
Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Co
re_Model_Config_Element))
#5
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource/Setu
p.php(62):
Mage_Core_Model_Resource-> in
<b>/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php</b>
on line <b>178</b><br />

real 0m1.738s
user 0m0.414s
sys 0m0.028s

Magento Install

April 24th, 2009 Comments off

To install Magento template/theme and import sample data provided by template providers (Template Monster). Hosting account is already available. I have successfully installed template on local web server using Xampp but have had issues via hosting account. I think a better understanding of php/MySQL is required to overcome issue, which I do not have. The following error message was received at the end of the setup process. I think there is an issue with the sample data?

Error in file: “/home/jezebell/public_html/magento/app/code/core/Mage/Core/sql/core_setup/mysql4-install-0.8.0.php” – SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘prefix_core_resource’ already exists
Trace:
#0 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(292): Mage::exception(‘Mage_Core’, ‘Error in file: …’)
#1 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(167): Mage_Core_Model_Resource_Setup->_modifyResourceDb(‘install’, ”, ’0.8.12′)
#2 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(155): Mage_Core_Model_Resource_Setup->_installResourceDb(’0.8.12′)
#3 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(121): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/Config.php(207): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/jezebell/public_html/magento/app/code/core/Mage/Core/Model/App.php(242): Mage_Core_Model_Config->init(Array)
#6 /home/jezebell/public_html/magento/app/Mage.php(432): Mage_Core_Model_App->init(‘default’, ‘store’, Array)
#7 /home/jezebell/public_html/magento/install.php(125): Mage::app(‘default’)
#8 {main}

Bear