Posts Tagged ‘Magento development’

Magento: Why SOLR indexation suddenly stopped working

Tuesday, February 7th, 2012

We welcome any suitable alternatives to the solution being discussed here.

We are using Solr (url: http://lucene.apache.org/solr/) in our latest Magento EE project. While running the periodic index updates using Magento’s native CLI indexer (shell/indexer.php) we realized that there was suddenly no data being sent to Solr. Routine test on Solr’s side didn’t reveal any issues; the server was up and running and Magento (Admin > System > Catalog > Catalog Search > Test connection) was showing successful connection.

Analyzing Magento’s and Solr’s logs didn’t provide any clues on what might be happening except it turned out that the indexing process hung right after the index cleanup. Since there was no recent change in the code or server settings the logical conclusion was the database. Tracing Magento code starting from shell/indexer.php took us all the way down to lib/Zend/Db/Statement/Pdo.php:

public function _execute(array $params = null)
{
try {
if ($params !== null) {
return $this->_stmt->execute($params);
} else {
return $this->_stmt->execute();
}
} catch (PDOException $e) {
#require_once ‘Zend/Db/Statement/Exception.php’;
throw new Zend_Db_Statement_Exception($e->getMessage(), (int) $e->getCode(), $e);
}
}

The problem emerged at line 5 where PDO::execute() method is called from $this->_stmt PDO object. As per PHP documentation this function returns true/false but in this case it just did nothing. It turned out that there was a deadlock on one of the tables that prevented execute() from retrieving data and passing it to Solr.

Have you faced a similar issue? What was your solution for that?

Software used:
MagentoEE-1.10.1.1
Solr-3.3.0

Magento eCommerce Store Customization Program announced by CueBlocks for 2010

Monday, March 15th, 2010

March 11th, 2010

Cue Blocks Technologies (http://www.CueBlocks.com) a Web Technology, Design, Search and Social Media Marketing firm recently announced its special offer on Magento based eCommerce store development and customization program for 2010.

While making the announcement, Pancham Prashar, President Sales & Marketing of CueBlocks said, “Magento is a very robust and popular eCommerce platform. While we offer eCommerce solutions based on the other platforms as well, we actively recommend Magento to our clients for  its flexibility, features, scalability and our excellent experience with it.”

CueBlocks offers its Online Marketing and Web Development services to a global audience. CueBlocks’ clients are based in USA, UK and Ireland and include some of the fastest growing online retail stores.

“Starting March 2010, we have a special offer for Magento development & customization. Whether you have the requirement of a ‘new eCommerce store’ or are wanting to port from an existing shopping cart to Magento, we invite you to explore the services offered by CueBlocks. Our team has solid experience in Magento Customization, Design & Usability and subsequent Online Marketing of the eCommerce stores”, Pancham further added.

More details of Magento can be seen at – http://www.magentocommerce.com

Avneet Sethi, President Products and Services of CueBlocks said, “We have worked on Magento based eCommerce stores and the experience of our clients has been very encouraging. We are also launching several Magento based stores of some of our clients in the coming months. The ease of usage of Magento, availability of features, ease of customization and scalability makes it a very popular and wise choice for any eCommerce store, irrespective of their size.”

Talking about CueBlocks’ eCommerce Marketing services, Avneet said “We not only offer eCommerce store development using Magento and other platforms, but we also provide extensive eCommerce online marketing services at CueBlocks. This allows us to offer end to end eCommerce solutions to our clients.”

CueBlocks is a Google Adwords Qualified Company and also offers focused Online Marketing services like Search Engine Optimization, Pay Per Click management, Link Building, Online Reputation Management, eCommerce store marketing, Social Media Marketing, Corporate Blogging, Copywriting etc.

More information about CueBlocks can be seen at – http://www.CueBlocks.com

About CueBlocks Technologies:
CueBlocks Technologies is an Web Development and Online Marketing firm – specializing in Web Design/Development, Search Engine Marketing and Social Media Marketing. Formed in 2005, the company offers it’s services to a global audience and has a team of over 30 design, programming and Internet Marketing specialists.

Contact Information:
Pancham Prashar
Cue Blocks Technologies Pvt. Ltd.
SCO 822, 2nd Floor,
NAC ManiMajra
Chandigarh – 160101
India
US Toll Free – 1-323–786–0190
Email: sales@cueblocks.com
Site: http://www.CueBlocks.com
Blog: http://www.CueBlocks.com/blog
http://www.cueblocks.com/enquiry.php

http://www.GeoChirp.com
http://twitter.com/cueblocks
http://www.facebook.com/cueblocks.technologies
###