magento-1.7

The requested URL was not found on this server (Magento)

帅比萌擦擦* 提交于 2019-12-22 19:33:03
问题 I am using Magento ver 7. I have changed the server of my website with the same URL. So, I export the database from old server and Imported the same database to new server. Apart from this I have also uploaded all the files to the new server. I have also changed the database credentials in the /public_html/app/etc/local.xml file. But now when I am open the URL, it shows an error that "Not Found, The requested URL /index.php/ was not found on this server." I don't know why this is happening.

how to disable an option already selected in another <select>?

微笑、不失礼 提交于 2019-12-22 08:39:29
问题 I have five HTML selects with different values, but the options have the same text. How do I compare the text options, instead of the values, and disable the the respective option in every other select? For example, if I have: <select name="options[70]" id="select_70"> <option value="1" price="0"> test-1 </option> <option value="2" price="0"> test-2 </option> <option value="3" price="0"> test-3 </option> </select> <select name="options[71]" id="select_71"> <option value="4" price="0"> test-1

Magento design update to replace list.phtml on search results page only

柔情痞子 提交于 2019-12-21 23:06:29
问题 How would I issue a design update to Magento to replace the list.phtml template only for the search results page? Is there more than one way to do it? It would be ideal if there was a way to do it through the admin panel like I can for individual categories, but if not then editing an xml file is okay too. 回答1: You should create the file: app/design/frontend/YOURPACKAGE/YOURTHEME/layout/local.xml having the content: <?xml version="1.0" encoding="UTF-8"?> <layout version="0.1.0">

permission_block error in Magento?

北慕城南 提交于 2019-12-21 20:58:36
问题 I have to installed Magento patches SUPEE 6788 , after that content on home page is missing, when i add blocks system->permission-> block it generate error SQLSTATE[42S02]: Base table or view not found: 1146 Table 'exclusiv_c523.permission_block' doesn't exist How can I proceed? 回答1: The table permission_block should be created as part of the upgrade of Mage_Admin from version 1.6.1.1 to 1.6.1.2. You can verify that the setup/upgrade scripts succeeded by checking the version and data_version

Magento 1.7+: How to use the page layout handle

ε祈祈猫儿з 提交于 2019-12-21 20:57:08
问题 After trying to debug for hours I'm out of ideas and hope for some clarification (I guess I missunderstood a concept at some point). The backstory: Some base categories need an "overview page" which should be generated automatically from child categories and products. So my approach was to add a sub category to every base category and create a custom page layout which is being used from all these sub categories. For my client this would be very easy to manage in the Magento backend since he

Got an error in magento connect for installing any extension

左心房为你撑大大i 提交于 2019-12-21 20:00:54
问题 In my store have magento community edition - 7.1. I try to install extension using magento store, but I got an error like this for all type of extensions community/Dropifi_Dropificontactwidget: Could not resolve host: connect20.magentocommerce.com; Host not found I placed this key for install magento http://connect20.magentocommerce.com/community/Dropifi_Dropificontactwidget http://connect20.magento-commerce.com/community/Dropifi_Dropificontactwidget Help me to get a result for this issue.

Magento 1.7 Captcha module

*爱你&永不变心* 提交于 2019-12-21 05:40:56
问题 In the new Magento release the captcha options in "System->Configurations->Customer Configuration->Captcha" I created a new form called "Signmeup"... but it does not seem to be working. I am having trouble getting it to show: <?php echo Mage::getSingleton('core/layout') ->createBlock('captcha/captcha_zend') ->setFormId('signmeup') ->setImgWidth(230) ->setImgHeight(50) ->setTemplate('captcha/zend.phtml') ->toHtml();?> Right now that block is not being displayed on the page. (Not a dynamic page

Magento Adding Step to Onepage Checkout

喜夏-厌秋 提交于 2019-12-21 05:34:10
问题 I'm attempting to add a very basic (literally just a div with some text and a continue button) step to the onepage checkout but have come up short, in that they don't work (i suspect it's because they were created prior to 1.7.0.2), when following the examples here (Fontis), here (inchoo) and here (Magento Forums). I've also tried to combined bits from different examples and forum posts but i've gotten no where in the week i've been attempting to do this. I have been recommended the book 'Php

Filter product collection on two categories Magento 1.7

╄→гoц情女王★ 提交于 2019-12-21 04:52:19
问题 I want to get a product collection with products in Category A or Category B. I have been able to succesfully get these products with the following php-code: $collection = Mage::getModel('catalog/product') ->getCollection() ->joinField('category_id', 'catalog/category_product', 'category_id', 'product_id = entity_id', null, 'left') ->addAttributeToFilter('category_id', array('in' => array('finset' => 4,19))) ->addAttributeToSelect('*'); However, if the product is in both category 4 AND 19,

Magento Catalog ProductController rewrite

↘锁芯ラ 提交于 2019-12-20 04:50:14
问题 I try to override the magento Mage\Catalog\controllers\ProductController.php with a module. In my module i try this: \etc\config.xml <global> <rewrite> <aion_fbpage_catalog_productcontroller> <from><![CDATA[#^catalog/product/#]]></from> <!-- Mage_Catalog_ProductController --> <to>fbpage/catalog_product/</to> <!-- Aion_FbPage_Catalog_ProductController --> </aion_fbpage_catalog_productcontroller> </rewrite> </global> <frontend> <routers> <fbpage> <use>standard</use> <args> <module>Aion_FbPage<