-
Fix memory leaks in magento product import
A really easy problem to fix that we still see on some live sites is having the site accessible with and without the www (or whatever sub domain).
On Magento sites this can cause issues with session IDs being appended to URLs that then get indexed by google and cause problems.
Here is a snippet which you can add to your htaccess file to fix this:
RewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/
RewriteRule ^index.php$ http://www.domain.com/ [R=301,L]
Obviously you need to change domain.com to be your actual domain.
If your store is running in a sub folder eg http://www.domain.com/magento/
RewriteBase /magento/ RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /magento/index.php HTTP/
RewriteRule ^index.php$ http://www.domain.com/magento/ [R=301,L]
This project required a change in the design of the footer by grouping the links into four main categories, it also include adding the predominant credit card logos that appropriately fits with the theme of the site.
Magento redesign with added functionality
This project asked for new functionality to be added to an existing magento site, whilst modifying the design. The changes included modifying the layered navigation, the home page slide show and the layout of the category page. An SEO report was also produced for the site
Bent Shop
The Bent Gay Shop is the UK’s premier gay sex shop. With almost 2000 products on offer there is most certainly something for all gay men.
The project needed a lot of jQuery work to get the various different parts of the site working as they should. jQuery is a Javascript framework that makes implementing impressive effects and functionality a breeze. I really enjoyed working with it on this project.
If you are tearing your hair out trying to figure out why trying to run something is complaining that it doesn’t exist when it clearly does, this is quite possibly your solution.
The problem is most likely that you are trying to run a 32bit package on a 64bit system.
The solution is easy enough, you need to set up your system to run 32bit packages.
apt-get install libc6-i386 lib32gcc1 lib32z1 lib32stdc++6 ia32-libs
I in the middle of carrying out an upgrade for a client, which is causing the usual compatibility problems…
Normally I rely on Developer mode to point me in the right direction with these, but in this case no matter what I did, I could not get magento to display errors.
Finally I came across a modified version of the App class in code/local/Mage, which carried out a reset of the Mage static variables, including developer mode. Reset developer mode to true after this line and everything will work as it should.
Just be sure not to upload it to the live server!
I have just finished working on a nice little project for Magento API for our client CNG Florist Sundries.
The Aim of the project was to make Magento API use SKU’s when pulling out the product information. By default Magento API accept a variable productId which can either be a product id or sku. The problem, especially with this task, was the fact that the client is using numeric values for product SKU values.
Now when he used third party system to update his catalog by passing SKU values, Magento was assuming the values are productId and consequently updating the wrong products. Our fix will simply force Magento to look for SKU’s first and return the correct product ID for the required product.
The client site is www.cngfloristsundries.co.uk

