Posts tagged hosting
Magetno fix : Cant add products to admin create order
0There appears to be a bug in magento 1.5x where by manually creating an order and trying to add a product does not work. It appears to be an issue with ext-tree.js which is called unnecessarily on this page.
To fix edit app/design/adminhtml/default/default/layout/sales.xml
and add
<action method="removeItem"><type>js</type><name>extjs/ext-tree.js</name></action>
like so:
<adminhtml_sales_order_create_index> <reference name="left"> <action method="setIsCollapsed"><value>true</value></action> </reference> <reference name="head"> <action method="removeItem"><type>js</type><name>extjs/ext-tree.js</name></action> <action method="addJs"><file>mage/adminhtml/sales.js</file></action>
Magento fix : Invalid method Mage_Wishlist_Model_Item::canConfigure(Array
0This will affect older themes if you are upgrading Magento core,
There is a simple fix.
1. Copy wishlish.xml in base/default/layout to your_template/layout
2. Copy the whole wishlist folder in base/default/template to your_template/template
3. Refresh Cache
Create a multi-store setup in Magento
0Provided you do not need an ssl cert for each domain it is relatively straight forward to create a multi-store setup.
1) configure magento.
In system > manage stores
Add a new website, store and store view for your new site. Remember the code for the website.
2) Create a domain alias for you new domain pointing to your existing domain.
3) Add a little logic to index.php
umask(0);
if ($_SERVER['HTTP_HOST'] == "newdomain.com" || $_SERVER['HTTP_HOST'] == "www.newdomain.com"){
$_SERVER["MAGE_RUN_CODE"] = "website_code";
$_SERVER["MAGE_RUN_TYPE"] = "website";
}
/* Store or website code */
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Mage::run($mageRunCode, $mageRunType);
Magento fix: Fatal error: Method Varien_Object::__tostring() cannot take arguments in /magento/lib/Varien/Object.php
0If you are transferring older version of Magento to new servers or if you have upgraded your version of php to 5.3.3+ you will find some fatal errors while working with 1.3x versions of Magneto. There are 3 lines you will need to change in core code:
1) /lib/Varien/Object.php (Line 484)
replace __toString
with __invoke
2) /app/code/core/Mage/Core/Controller/Request/Http.php (Line 274)
replace split
with explode
3) app/code/core/Mage/Admin/Model/User.php (Line 374)
replace split
with explode
Magento fix : Local file doesn’t exist
0If you have upgraded your magento or coppied it across from dev to live or live to dev you may find that Magento connect is throwing “Local file doesn’t exist:” error. This is generated from lib/Mage/Connect/Ftp.php. The error occurs if you have oped to use the new ftp connection method for magento connect. This is a long sought after method of using connect but this is the down side. Rather than store your ftp date in the database the Magento team have opted to store this info in a file… downloader/connect.cfg to be precise.
This is a text file which you will see contains the info you used when setting up Connect. Make the necessary changes to this to reflect the new server location.
Magento tip: problems with Linnworks connecting to Magento api
0A recent hosting customer is using Linnworks to post their catalogue to ebay, amazon and Magento. Despite following the guide lines here they were still unable to connect to their site. Eventually the Linnworks support were able to offer the following.
in lib/Zend/XmlRpc/Server.php
comment out:
if (!$matched)
{
#require_once 'Zend/XmlRpc/Server/Exception.php';
throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}
hope this helps someone/
How to add Product Image and Description to Email to a friend Transactional Email
2It would be very handy when a user uses Magento’s Email to a friend feature that at least an image of the product and description can be sent to the friend in question. While the Image can be added easily it is a little more tricky to get the description.
(more…)
Magento tip : use Template Masters Easy Spotlight and Easy Catalog Images together
0These two very popular Free Magneto Extensions from Template Masters don’t play well together. If you try to use them both at the same time you will only get the output from EasySpotlight. The trick is to essentially blend the two together by copying the Easy Catalog Images extension code from easycatalogimg/view.phtml to easyspotlight/category/view.phtml (more…)

Recent Comments