Articles tagged with: error
Magento »
While upgrading Magento, I got this error when I go to product list page. It says: Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array()) Solution:
Magento »
While upgrading Magento, I am getting this error when I go to product list page. Error: Warning: Invalid argument supplied for foreach() in …/template/catalog/product/list/toolbar.phtml Solution:
Magento »
I created a module, let’s say, ‘MyModule’. When I go to the Admin -> System -> Configuration section of this module, I get this weird error. Fatal error: Class ‘Mage_MyModule_Helper_Data’ not found
Magento »
Scenario I was creating a module. I already had one Grid displayed in admin. The Grid was being displayed by a Block class, for example: MyNamespace_MyModule_Block_Adminhtml_MyModule Now, I had to display another Grid using a new Block class. Let’s say, I created a new Block class: MyNamespace_MyModule_Block_Adminhtml_MyNewGrid I just copied code from MyNamespace_MyModule_Block_Adminhtml_MyModule and copied [...]
Magento »
Scenario: I have a fresh installation of Magento 1.4. I already have installed the sample data for Magento. Now, when I go to the category listing page, no products are displayed. It says “There are no products matching the selection.“.
Magento »
I got this error message when migrating my Magento files and database from one server to another. Notice: Undefined index: 0 in app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92 Solution:
Facebook, Google, HTML »
IFrames are not supported with XHTML 1.0 Strict Doctype. When you use IFrame and your doctype is XHTML 1.0 Strict, then you cannot pass the W3C Markup Validation test. You always get errors. The errors are like:-
Magento »
Problem: I am using Magento 1.4. Homepage loads fine. When I go to category (product listing) page, it works fine. But when I go to any product detail page, I get the following error:- There has been an error processing your request
Magento »
I was building a custom module in Magento. I had created a system.xml file for storing configuration data from admin. From the below system.xml file, you can see that I have created a section named ‘My Module Name‘ which can be accessed from Admin –> System –> Configuration. In the file below, I have just [...]
Magento »
Scenario: While editing product programatically from frontend. I was trying to change the status of the product with the following code: Mage::getModel(‘catalog/product’)->load($product->getId())->setStatus(2)->save();
Google, Humor, Security »
I’m human, Google ! I was googling something and google suddenly said sorry to me. It says my computer is sending automated queries. I was just googling “magento programmer developer nepal” by changing the word position at each time. I just googled this way for at most 5 times. Google help says the following thing [...]
Magento »
Scenario: I am installing a fresh magento 1.3.2.1 in my Windows XP computer. I have Xampp installed. While installing magento, I had a problem at the configuration step where I had to fill database host, username, password etc. When I click continue after filling the required fields, the installation process doesn’t move forward. I am [...]
Magento »
I was installing Magento 1.3.2.1 in my Windows XP computer. I am using Xampp. I encountered the following errors during the installation. PHP Extension “curl” must be loaded PHP Extension “mcrypt” must be loaded PHP Extension “pdo_mysql” must be loaded
ASP.NET »
Error: A potentially dangerous Request.Form value was detected from the client Scenario: When you put html tags in your form fields (textbox,textarea) like
Database, SQL »
Error description: Cannot insert the value NULL into column ‘SourceId’, table ‘Advisory.dbo.AdvDocSource’; column does not allow nulls. INSERT fails. The statement has been terminated. The ‘CompanyAdd’ procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead. ——————————- This error occurs because the ‘SourceId’ column in [...]