problem about magento-1.6-Collection of common programming errors


  • Pascut
    magento email zend-framework smtp magento-1.6
    I have a magento website. I want to send mails using SMTP. I’ve found the below script hereI created this file: app/code/local/Mage/Core/Model/Email/Template.php in order to overwrite the original core file.The problem is that I receive this error: Parse error: syntax error, unexpected T_VARIABLE in /home/xxx/public_html/app/code/local/Mage/Core/Model/Email/Template.php on line 103public function getMail() {if (is_null($this->_mail)) { $my_smtp_host = Mage::getStoreConfig(‘system/smt

  • Bartosz Górski
    php magento authentication apache2 magento-1.6
    I’ve set up a new server for my magentocommerce.Unfortunatly when I moved the domain to the new location (tests have been done using another domain) a weird issue started happening: when the login page displays on the frontend, or the backend and I (and customers, of course) do submit the right credentials the page refresh, the cookie gets set but the form is displayed again. It’s such a cache being served instead of the right content (catalog).The only solution actually is delete the cache on t

  • abnab
    php api magento soap magento-1.6
    I am using SOAP V2 to create a cart and add products to it. I am having issues adding product to the cart. Below is my code and the error I am getting. It says “One item of products do not have identifier or sku”<? /*** Example of order creation* Preconditionsare as follows:* 1. Create a customer* 2. ?reate a simple product */$user = ‘users’; $password = ‘password’;$proxy = new SoapClient(‘http://handyimports.com.au/index.php/api/v2_soap?wsdl=1’);$sessionId = $proxy->login($user, $password

  • Theodores
    php javascript mysql magento magento-1.6
    I’ve moved a magento install from the current shared hosting to a new VPS. I also moved it on a staging server.It works very well on the staging server but it doesn’t on the VPS.The issue I get (when trying to add a product) is:Uncaught ReferenceError: productAddToCartForm is not defined I moved the DB and the full source base, on both systems… so I can’t really figure out why it’s not working on the production VPS.By googling it seems that often it was a conflict between jQuery and Prototype

  • Ronny
    php magento fatal-error magento-1.6
    i am trying to clone my webshop again for a test environment. (magento 1.6.2 on a dedicated server)I never had any trouble doing this. I just deleted all the old content in FTP and DB and then i make a copy of the live store and synchronize the db.Then i change the url in the db and the test-db in the local.xml.I also clean the var/cache and var/session.This always worked well.But yesterday did the same … but now i get a http 500 error. (white screen)From the error logs: “GET / HTTP/1.1” 500 2

  • Carsten Gehling
    magento magento-1.6 magento-admin
    I am trying to make a Magento module, to enable our Magento-webshop customers to import all our products automatically. Since I’m not yet very proficient in Magento development, I run into a few stops on the way… :-)Right now I try to make a AdminController in which the index page should simply display a text and a button to start the import process. It’s the “addButton” part, that I have trouble with:public function indexAction() {$this->loadLayout();$block = $this->getLayout()->crea

  • chanz
    magento magento-1.6 magento-1.7
    Bundle product is not visible at the front end maybe due to js issue, after upgrading from 1.6 to 1.7.0.1debugging with firebug i found the following js error<script type=”text/javascript”> var optionsPrice = new Product.OptionsPrice( Fatal error: Call to undefined method Mage_Bundle_Model_Product_Price::getBasePrice() in /var/www/vhosts/stage.planetjill.com/httpdocs/app/code/core/Mage/Bundle/Model/Product/Price.php on line 117 </script>the method in price.phppublic function getFinal

  • user1744827
    magento magento-1.6 configurable-product
    thanks in advance to any help that anyone is able to offer. When a custom option field in magento is set to ‘required’ it does not add to cart and asks user to select option. However when I uncheck the required option in admin in then works. I think this issue maybe affecting config products so I would like to find a solution other than not use the required option.Using Magento 1.6Thank you

  • hims056
    magento-1.7 magento-1.6 magento-admin
    every thing has been working well on my localhost but when i have uploaded it in the server after that whenever i am trying to login my admin panel then it is giving the following error.Fatal error: Call to undefined function curl_setopt() in D:\INETPUB\VHOSTS\lostandfound.co.in\nityapusta\magento\jewellery\lib\Varien\Http\Adapter\Curl.php on line 87

  • The Smart Dude
    php sql magento-1.6
    Help. I have been struggling with this error for a few days now and have yet to find an answer. I am trying to add a few columns to the orders grid in Magento 1.6.2 I followed the instructions from: [http://www.milessebesta.com/web-design/magento-customize-backend-order-grid-to-have-sku-e-mail-address-and-phone-number/][1] Here is the error message: SQLSTATE[42S22]: Column not found: 1054 Unknown column’main_table.sfo.customer_email’ in ‘where clause’Here is my code:protected function _getColle

Web site is in building