Questions tagged [local.xml]

This tag is ambiguous. There are multiple files called local.xml in Magento 1: app/etc/local.xml (relevant tags: installation, configuration) or app/design/[area]/[package]/[theme]/layout/local.xml (relevant tags: theme, layout)

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

loca.xml - 0 bytes

I have downloaded the local.xml file from the directory: /htdocs/app/etc I've amended some code and attempted to re-uploaded the file back to the same directory, via FTP (Filezilla). However, the ...
1
vote
1answer
45 views

My local.xml file doesn't have a session tag defined. Is it normal?

I was wondering changing the way Magento deal with sessions and for my surprise I discovered my /app/etc/local.xml doesn't have a session_save tag set. Is it seems to be a problem? Is it safe to set ...
0
votes
0answers
74 views

Fatal error: Call to a member function extend() on boolean in /var/www/html/mage/lib/Varien/Simplexml/Config.php on line 600

I am trying to tranfer magento from server to localhost, but it is giving Fatal error: Call to a member function extend() on boolean in /var/www/html/mage/lib/Varien/Simplexml/Config.php on line 600 ...
1
vote
0answers
44 views

I can't edit local.xml using Docker

I deploy on server my magento site with docker + plesk all is correct but i cant edit or change permission on path /etc I can't edit local.xml with my correct db data.
1
vote
2answers
1k views

/app/etc/local.xml not working for me?

I have a client's website in magento 1.9.2.0. Am trying to edit database details and admin custom url in app/etc/local.xml but no changes reflecting. when I do research for this, they asking for ...
0
votes
1answer
356 views

Not valid template file:frontend/base/default/template/catalog/category/page_header.phtml

This is caused by the following piece of code in app/design/frontend/smartwave/mango/layout/local.xml (such a template in such a location does not really exist in any of the themes): <action ...
0
votes
0answers
254 views

Top menu on success sage

I've been testin with Magento 1.9.3.9, Ultimo theme and Firecheckout extension. I've noticed that there are no top menu on success page like on all other pages. I've tried to add the top menu block ...
4
votes
2answers
2k views

How to create custom header in magento 1.9

I want to create the custom header in Magento 1.9. I attached the screenshot of the header like this I have tried the following code. I have created the static block and static block calling in ...
2
votes
0answers
50 views

When cloning existing site locally I get the following error "...properties already exists in the selected store."

When cloning a site for local development I get the following error: a:5:{i:0;s:223:"Error in file: "/Applications/apache2/htdocs/app/code/core/Mage/Cms/data/cms_setup/data-install-1.6.0.0.php" - A ...
0
votes
1answer
195 views

How to move the Proceed to Checkout button

I trying to move the app/design/frontend/default/default/template/checkout/onepage/link.phtml template that has the Proceed to Checkout button into the cart.phtml template. Copy and paste gives errors ...
1
vote
2answers
259 views

Magten 1.9 - Onestepcheckout - Success.phtml not working

Greetings stackoverflow. I'm helping a friend out with a Magento store. They have recently installed the OneStepCheckout module. Regarding them, after the installation the successpage seems not to ...
0
votes
1answer
24 views

Why are these files not being loaded in the product page of Magento? (M1.9.3.8)

Does anyone know why this is not being rendered (saved in the local.xml of my custom theme)? The location of the local.xml is app/design/frontend/mobile/XX/layout/local.xml and the content is <...
0
votes
1answer
137 views

How removing ANONYMOUS blocks from layout?

There is a block in /customer/account/create page named ANONYMOUS_55. It is created by Mage_Customer_Block_Widget_Taxvat. I would like to remove this block from layout but both remove or unsetChild ...
0
votes
1answer
157 views

Warning: include(Mage/Core/Controller/Varien/Router/Admin.php): failed to open stream: No such file or directory

I have uploaded my website from local environment to a live server. I changed the config.xml file and removed the local.xml file but it is causing the following error: Warning: include(Mage/Core/...
0
votes
1answer
296 views

Why would Magento look in base skin folder instead of current skin folder?

In my local.xml I have added a new javascript load command. It is exactly the same as another javascript. <action method="addItem"> <type>skin_js</type <name>rateyo/...
0
votes
0answers
1k views

Call to a member function count() on null when loading Gallery

Im using Amastys Gallery plugin to implement into a tab on the product page, however the above error has come up when I pasted the code into my custom template. I have called my tab in the local.xml ...
0
votes
1answer
229 views

Multiple initStatements in local.xml

I have a question regarding the local.xml (config) file in app/etc/. How is it possible to add multiple initStatements? Currently it looks like this: <initStatements><![CDATA[SET NAMES utf8]...
0
votes
2answers
3k views

Where is local.xml in M2

I'm just starting Magento 2 and I see a lot of things that are gone ! Can somone can explain me this with the best practices of course: I inquired and I found that: the layout xml are loaded ...
1
vote
2answers
510 views

Footer does not appear correctly

I have several footer and several header for different pages and I insert them through XML as follows in my local.xml: <checkout_cart_index> <reference name="header"> <...
5
votes
1answer
6k views

Magento 2 - Custom Maintenance Page Error - Unable to proceed: the maintenance mode is enabled

Steps Go into the pub/errors Create a copy of the local.xml.sample and rename it as local.xml Edit the with custom name. Ex – mytheme local.xml <?xml version="1.0"?> <config> <skin&...
1
vote
1answer
81 views

Cannot find head tag in magento 2.1

I want to add a bug herd javascript extension in head tag of my magento 2.1 store but unable to find the <head> tag. i searched for the local xml but it was not there. How to locate this ?
1
vote
1answer
3k views

Magento Access denied for user 'root'@'localhost'

my local.xml file: <config> <global> <install> <date><![CDATA[Fri, 13 Dec 2013 10:19:07 +0000]]></date> </install> <crypt> &...
0
votes
1answer
319 views

Located in Frontend/Base file - how do i locate in local.xml?

I have reached desired behavior on frontend by blocking code in a base file: app/design/frontend/base/default/template/customer/account/navigation.phtml <div class="block block-account"> &...
1
vote
1answer
318 views

Why does my local.xml load javascript repeatedly using addItem

I am attempting to load a javascript file in my custom skin using the following code in local.xml. <?xml version="1.0"?> <layout> <default> <!-- remove some things ...
0
votes
1answer
2k views

Magento: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

I have Configured Magento With Valid Credentials. But, it shows SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) . I have Cleared Cache(Deleted var Folder). Cross ...
0
votes
2answers
142 views

Order of processing actions in local.xml

This is an extract from my local.xml: <reference name="head"> <action method="addLinkRel"> <rel>stylesheet</rel> <href>//fonts.googleapis.com/css?...
0
votes
1answer
710 views

Magento Widget block refrence

I want to display my custom block in the top of right column. I followed the below link Widget setup in backend - how do I move upwards I have a doubt in the second step,what is the [widget_id] ...
2
votes
1answer
422 views

How do I change the sort order of the left menu blocks in the admin backend?

I want to re-order the menu blocks so the ones that almost never used are far down the page. I have read numerous posts here and on other sites, however I do not see a single unified answer. The ...
1
vote
1answer
1k views

Remove and add block in layout explanation - Magento 1.9

I had fun to create some small scenario in layout and I don't understand some thing. In the layout, would it be possible to remove a block and then create it again ? I explain: assuming that I want ...
0
votes
1answer
167 views

Unable to call any css on home page using local.xml file

I have created one custom theme package. Package name: custom Theme name: default Here is my local.xml file <?xml version="1.0"?> <layout version="0.1.0"> <default > ...
1
vote
1answer
199 views

Question about the Merge layout.xml - Magento 1.9

Question: If a layout handle exists in the "base/default" package, your custom design package, and the custom package's "local.xml", wich handles can be merged ? 1) All of the handles can be merged....
0
votes
1answer
916 views

What does output="toHtml" layout.xml mean ? - Magento 1.9

I know that when we add output="toHtml" to some block, he displays it at the bottom of the page outside the </html> but i don't know why, what is his utility and in which case it can be used ? ...
1
vote
2answers
2k views

How to get the path of config status for (ifconfig=" ") xml - Magento 1.9

I want to know how we get the path of a config status for a natif and a custom module. Assuming that i want to get a config path of: 1) System>Configuration>Design>View demo store warning message> ...
1
vote
1answer
2k views

getChildHtml(' ', true, true) - Magento 1.9

What does it mean these: 1. <?php echo $this->getChildHtml('child.name') ?> // get the child parent block 2. <?php echo $this->getChildHtml('') ?> //? 3. <?php echo $this->...
1
vote
1answer
615 views

How to call the Search bar from homepage to all other pages in Magento 1.9?

My Search bar is currently on my Homepage Code is: <reference name="header"> <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/> &...
0
votes
1answer
2k views

GetBlockHtml, getChildHtml by name or alias - Magento 1.9

A small reminder to be sure, If I'm not mistaken; When an alias is declared in a child block, we called it by the alias instead of the name. When an alias is declared in a block, we called it by the ...
1
vote
1answer
672 views

Customer account information links disappeared from left column [duplicate]

I have been struggling with my Magento 1.9.2.4 store. Left customer account navigation is missing and I can't get it back. Been searching for hours and hours and can't find the answer, maybe one of ...
1
vote
3answers
1k views

Magento customer account navigation missing from left column

I have a issue where my customer account navigation is missing from the left column in the account area. In my customer.xml file: <customer_account translate="label"> <label>...
0
votes
1answer
388 views

Magento "left" reference element xml layout problem

I have been trying to solve the issue for past few days with no luck. The left sidebar is missing from all of the 2column-left pages. It worries me especially when it comes to customer account as the ...
0
votes
2answers
2k views

how to change search result page title dynamically

I searched, doesn't find a answer. I know use layout XML to set title like below <reference name="head"> <action method="setTitle"><title>New Title</title></action>...
1
vote
2answers
272 views

CDATA in my .xml is creating orphan /> closing tag in <body>

When I made my child theme, I wanted to extend the local.xml of the parent theme, so instead of creating my own local.xml (which would replace the parent one instead of extending it), I created a ...
1
vote
2answers
523 views

Use or not local.xml instead module layout.xml

Is it recommended and necessary to use local.xml for layout updates instead the module layout.xml, does not create redundancy and overload in code ?
2
votes
1answer
340 views

RemoveLinkByName doesn't work to remove links in customer dashboard - Magento 1.9

I want to remove some links in customer dashboard but the removeLinkByName doesn't work for me, Where i can find the name of these links ? here is my code: local.xml: <customer_account> &...
1
vote
1answer
498 views

Access denied for user - recently changed password - details in local.xml correct

I recently changed the password for the admin user in MySQL. I updated the /app/etc/local.xml file to: <connection> <host><![CDATA[<serverAddress>]]></host> <...
1
vote
1answer
2k views

SQLSTATE[HY000] [1049] Unknown database after deleting local.xml?

I'm using Magento 1.9 need to reconfigure. So I deleted local.xml file but then it shows following error. SQLSTATE[HY000] [1049] Unknown database 'site_db' Why this happens?
1
vote
3answers
2k views

completely remove/disable top-links-container from the header

How do i completely remove/disable top-links-container from the header? Hope someone can help me, i've tried a few things without luck. also this, but that makes it go away, but the layout of the ...
0
votes
1answer
596 views

How to use fonts in Magento from fonts-family installed in theme/fonts?

I added the code line below in local.xml with link to google, but we do not want to rely on an external url. <action method="addLinkRel"><rel>stylesheet</rel><href>//fonts....
0
votes
2answers
617 views

Change block order in product page, Magento 1.9

I want to put the Tabs block after Related prducts block, like this: This is the URL of my page: http://www.trucchidishampoo.it/index.php/wild-cow-shampoo-tonificante.html I'd try to use the ...
0
votes
1answer
365 views

How to remove all banners?

I don't want any of Magento's banners to appear on my site. Without altering the core theme, how do I remove all banner blocks? I assume this is another magical Magento xml layout incantation? This ...
0
votes
1answer
50 views

Why isn't my local.xml working?

I am trying to remove a block and switch the product page to 2-columns right. Here is the code- <?xml version="1.0" encoding="UTF-8"?> <layout> <default> <reference ...