<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike D&#039;s SharpBlog &#187; errors</title>
	<atom:link href="http://www.sharpdotinc.com/mdost/tag/errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharpdotinc.com/mdost</link>
	<description>Just another Sharpdot weblog</description>
	<lastBuildDate>Mon, 19 Dec 2011 16:11:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magento: error message &#8211; Notice: Undefined index:  0 app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92</title>
		<link>http://www.sharpdotinc.com/mdost/2009/03/17/magento-error-message-notice-undefined-index-0-appcodecoremagecoremodelmysql4configphp-on-line-92/</link>
		<comments>http://www.sharpdotinc.com/mdost/2009/03/17/magento-error-message-notice-undefined-index-0-appcodecoremagecoremodelmysql4configphp-on-line-92/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 21:43:58 +0000</pubDate>
		<dc:creator>Mike D</dc:creator>
						<category domain="http://www.sharpdotinc.com/mdost/category/php/"><![CDATA[PHP]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/magento/"><![CDATA[magento]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/e-commerce/"><![CDATA[E-Commerce]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/errors/"><![CDATA[errors]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/open-source/"><![CDATA[open-source]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/site-migration/"><![CDATA[site migration]]></category>

		<guid isPermaLink="false">http://www.sharpdotinc.com/mdost/?p=86</guid>
		<description><![CDATA[The Quick resolution to this problem it to move the database command line, and not use phpmyadmin. If you just need to fix your database keep reading.
I was moving a installation to a production server and was getting this error message: Notice: Undefined index: 0 in app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92. It took alot of searching to [...]]]></description>
			<content:encoded><![CDATA[<p>The Quick resolution to this problem it to move the database command line, and not use phpmyadmin. If you just need to fix your database keep reading.</p>
<p>I was moving a installation to a production server and was getting this error message: <span style="color: #0000bb">Notice</span>: Undefined index: 0 in app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92. It took alot of searching to figure out the problem, but here is what I found. When Magento installs it sets store and website ids in the database. When transferring the database the new database did not like having an id of 0 for the admin part of the site, so it made it have an id of 2. This is what my problem was. To fix it I went into the <strong>core_store</strong> and <strong>core_website</strong> Tables and gave the admin site an id of 0. It looks like this may only affect certain versions of magento(Earlier versions). Hope this helps someone else.</p>
<p><strong>P.S.</strong> I also got foreign_key_constraint errors when importing my database. To solve this disable foreign key check when you export your database. Then when you need to change the core_store and core_website id&#8217;s you will probably need to surround your sql with the following code:</p>
<p>set foreign_key_checks=0;<br />
//SQL to update ids<br />
SET FOREIGN_KEY_CHECKS=1;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharpdotinc.com/mdost/2009/03/17/magento-error-message-notice-undefined-index-0-appcodecoremagecoremodelmysql4configphp-on-line-92/feed/</wfw:commentRss>
		<slash:comments>58</slash:comments>
		</item>
		<item>
		<title>Magento: Error &#8211; SimpleXMLElement::addAttribute() Attribute already exists</title>
		<link>http://www.sharpdotinc.com/mdost/2009/03/10/magento-error-simplexmlelementaddattribute-attribute-already-exists/</link>
		<comments>http://www.sharpdotinc.com/mdost/2009/03/10/magento-error-simplexmlelementaddattribute-attribute-already-exists/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 20:42:06 +0000</pubDate>
		<dc:creator>Mike D</dc:creator>
						<category domain="http://www.sharpdotinc.com/mdost/category/php/"><![CDATA[PHP]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/magento/"><![CDATA[magento]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/e-commerce/"><![CDATA[E-Commerce]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/errors/"><![CDATA[errors]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/open-source/"><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.sharpdotinc.com/mdost/?p=79</guid>
		<description><![CDATA[Warning: SimpleXMLElement::addAttribute() [simplexmlelement.addattribute]: Attribute already exists.
This Magento Error Message was giving me the hardest time. It seems to occur when you have a mis-match in your layout files.
What happend to me was I hard coded the newsletter into a page. In the newsletter layour file It was instructed to put the newsletter in the page [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Warning: SimpleXMLElement::addAttribute() [simplexmlelement.addattribute]: Attribute already exists.</strong></p>
<p>This Magento Error Message was giving me the hardest time. It seems to occur when you have a mis-match in your layout files.</p>
<p>What happend to me was I hard coded the newsletter into a page. In the newsletter layour file It was instructed to put the newsletter in the page also. This meant that it was included in the page more than once. That is why the error is thrown. Check your layout files to get a better grip on the problem.</p>
<p>I need to give thanks to Branko Ajzele for his <a title="Branko's Blog Post" href="http://activecodeline.com/warning-simplexmlelementaddattribute-simplexmlelementaddattribute-attribute-already-exists/" target="_blank">post</a>. It helped me realize what the problem was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharpdotinc.com/mdost/2009/03/10/magento-error-simplexmlelementaddattribute-attribute-already-exists/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Magento 1.2.1 &#8211; Can&#8217;t Login Error</title>
		<link>http://www.sharpdotinc.com/mdost/2009/02/10/magento-121-cant-login-error/</link>
		<comments>http://www.sharpdotinc.com/mdost/2009/02/10/magento-121-cant-login-error/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 14:33:05 +0000</pubDate>
		<dc:creator>Mike D</dc:creator>
						<category domain="http://www.sharpdotinc.com/mdost/category/php/"><![CDATA[PHP]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/magento/"><![CDATA[magento]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/e-commerce/"><![CDATA[E-Commerce]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/errors/"><![CDATA[errors]]></category>
		<category domain="http://www.sharpdotinc.com/mdost/tag/open-source/"><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://www.sharpdotinc.com/mdost/?p=29</guid>
		<description><![CDATA[It seems that things have changed in magento for the 1.2.1 version. I tried to set-up this version locally using a host name like &#8216;localmagento&#8217; and prior to this version this worked just fine. Now it seems that magento 1.2.1 needs/wants a full domain name. If you set it up like this (localmagento.com) it should [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that things have changed in magento for the 1.2.1 version. I tried to set-up this version locally using a host name like &#8216;localmagento&#8217; and prior to this version this worked just fine. Now it seems that magento 1.2.1 needs/wants a full domain name. If you set it up like this (localmagento.com) it should work just fine.</p>
<p>- Intrested in a magento e-commerce site? We can do that. <a href="/portfolio/">Drop us a line</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharpdotinc.com/mdost/2009/02/10/magento-121-cant-login-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

