{"id":6542,"date":"2014-04-20T08:18:06","date_gmt":"2014-04-20T08:18:06","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/magentogoogle-sitemaprelated-issues-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:50:18","modified_gmt":"2022-08-30T15:50:18","slug":"magentogoogle-sitemaprelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/magentogoogle-sitemaprelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"magento,google-sitemapRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07091242200c4c0cd64dd11cb057a674?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nczerasz<br \/>\ninstallation zend-server magento<br \/>\nI try to install magento for the first time.I&#8217;ve created the database with the name &#8220;project&#8221; in my C:\\Zend\\Apache2\\conf\\httpd.conf I added on the end:&lt;Directory &#8220;C:\\Zend\\Apche2\\htdocs\\project&#8221;&gt;Options Indexes FollowSymLinksAllowOverride AllOrder allow,denyAllow from all &lt;\/Directory&gt;in my ZendServer\/Server Setup\/Extensions: PDO_MySQL, simplexml, mcrypt, hash, GD, DOM, iconv, curl, SOAP are on in C:\\Zend\\ZendServer\\etc\\php.ini I set:safe_mode = Off ;&lt;&#8211; was set to off &#8230; memory_li<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/30cb720ee239ac021dd97cf8773af4e1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nrazbakov<br \/>\nmagento upgrade php<br \/>\nAfter upgrading magento from 1.5.1 to 1.6.1 by ssh I get the next error:Fatal error: Out of memory (allocated 41418752) (tried to allocate 24768513 bytes) in \/home\/username\/public_html\/downloader\/lib\/Mage\/Archive\/Abstract.php on line 45I edited my php.ini to:max_execution_time = 18000 max_input_time = 6000 memory_limit = 256MDoes anyone have an idea how to solve this problem? After trying and searching for a whole day it&#8217;s getting pretty frustrating.Any help would be realy appreciated!Thanks<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e7c01dbbd9b7d93b0f987d74290102ff?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsulman<br \/>\nmagento<br \/>\nI have just started experiencing this problem: The site is fine until I add something to my cart at which point I start to receive the following error at the bottom of the page:Fatal error: spl_autoload() [&lt;a href=&#8217;function.spl-autoload&#8217;&gt;function.spl-autoload&lt;\/a&gt;]: Class Mage could not be loaded in \/blah\/blah\/app\/code\/core\/Mage\/Core\/functions.php on line 244The logged in user also gets logged out and they can not log back in again.I&#8217;ve seen a couple of forum posts that talk about thi<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fdc56fa0f90372736fb0606c61179f46?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser2958356<br \/>\nphp mysql magento<br \/>\nI have Magento 1.7.0.2 and when I try to edit a customer account in the admin panel i get this error: Fatal error: Call to a member function setRenderer() on a non-object in \/home\/techspec\/public_html\/magento\/includes\/src\/Mage_Adminhtml_Block_Customer_Edit_Tab_Account.php on line 77$attributes = $customerForm-&gt;getAttributes();foreach ($attributes as $attribute) {\/* @var $attribute Mage_Eav_Model_Entity_Attribute *\/$attribute-&gt;setFrontendLabel(Mage::helper(&#8216;customer&#8217;)-&gt;__($attribute-&gt;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/979074df9b79dcce98b78c20dfc2337b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npwalsh<br \/>\nmagento memory-leaks magento-1.4<br \/>\nI am exporting around 1200 products to csv via Magento&#8217;s export profile feature.The export begins and then locks up.php has this to work with: max_execution_time 28000 memory_limit 1024MI get this error: [Wed Mar 23 12:48:33 2011] [error] [client 84.229.93.19] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 24 bytes) in \/path\/to\/lib\/Zend\/Db\/Adapter\/Pdo\/Abstract.php on line 292, referer: http:\/\/domain.com\/index.php\/admin\/system_convert_profile\/edit\/id\/10\/key\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/064979b2128a52e632a0dad6d3eeda73?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHossein<br \/>\nphp magento e-commerce<br \/>\nI have a fresh installation of magento 1.8I have created a category called &#8216;TEST&#8217;when I want to add a Product in &#8216;Simple Products&#8217; Then I get the following Error.Fatal error: Class &#8216;Varien_Data_Form_Element_Weight&#8217; not found in C:\\xampp\\htdocs\\testmag\\lib\\Varien\\Data\\Form\\Abstract.php on line 147I realy don&#8217;t Understand whats the reason if I add my product in other types like &#8216;Grouprd Products&#8217; or &#8216;Virtual Products&#8217; Then i get no error and every thing goes fine.Any help appreciated.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/70a352474fdae7e78679914f99fcefdd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbrodster<br \/>\nmagento magento-1.7<br \/>\nafter moving my mangento installation fromm mywebsite.com\/mangento To mywebsite.com I get an error message:\\my magneto is displaying &#8220;Site Down For Maintenance&#8221; with white screenI get an error in my error_log filePHP Fatal error: Class &#8216;Varien_Data_Tree_Node_Collection&#8217; not found in public_html\/lib\/Varien\/Data\/Tree.php on line 51<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a185a0c782b4690ab597120d92911e49?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFlourishDNA<br \/>\nphp function magento e-commerce<br \/>\nWhen I got to System &gt;&gt; COnfiguration &gt;&gt; Google API from my magento dashboard I get following error.Fatal error: Call to a member function toOptionArray() on a non-object in \/home\/dev\/public_html\/app\/code\/core\/Mage\/Adminhtml\/Block\/System\/Config\/Form.php on line 421In Form.php on line 421 there is following code.} else {$optionArray = $sourceModel-&gt;toOptionArray($fieldType == &#8216;multiselect&#8217;);}Thanks<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/499f8cc920d332b89b13e40a68c91e5b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSteve Robbins<br \/>\nmagento backend<br \/>\nI just made a few changes to my webshop by admininterface (no big one, like no short media URL..) and now every time I log in to Magento it shows up the following Error. I can&#8217;t see anything else. The frontend is still working.Fatal error: Class &#8216;Mage_Catalogrule_Helper_Data&#8217; not found in \/var\/www\/vhosts\/mysite.com\/httpdocs\/app\/Mage.php on line 546What could be the matter and how can I fix it? Would be great if somebody could help me.thanks<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6226f6101f38cd27aeb456892754a8de?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nWill Palmer<br \/>\nmagento fatal-error magento-1.7 lightbox2 wsod<br \/>\nI&#8217;m using Magento Community Edition 1.7.0.2.LightBox2 stopped working after clearing js\/css cache via cache management.I receive the following error:PHP Fatal error: Call to a member function addItem() on a non-object in home\/*******\/public_html\/app\/code\/community\/IG\/LightBox2\/Block\/Catalog\/Product\/View\/Media\/Gallery.php on line 163The front-end now only shows WSOD \/ blank page.I have tried:commenting out line 162 &amp; 163, Clearing caches, Logging In\/Out, Uncommenting line in index.php to dis<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/fYChU.gif?s=32&amp;g=1\" \/><br \/>\nRahat<br \/>\niis-7 iis-7.5 windows-server-2008-x64 google-sitemap<br \/>\nWhy do all the sites on IIS start to throw HTTP 503 error after installing google sitemap generator?I noticed that app pools are crashing. If I restart an app pool it crashes again after few minutes. It all started after installing the Google sitemap generator tool (sitemap_win-beta1-20091231.msi).We did not have the problem on Windows server 2003 32bit OS and IIS6. The problem exists on IIS 7 running on Windows Server 2008 64bit OS.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/29a181c5a3bdbe5db3b83242851f966d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nStuart M<br \/>\nmagento google-sitemap<br \/>\nI&#8217;m trying to override Magento&#8217;s functionality to create a sitemap.xml file (Catalog &gt; Google Sitemap in the backend). The idea of my override is that not all product- and category-URLs should be included in the sitemap, I need the category-path of a product or category to determine whether to include it or not.So this is what I did, I added this to my module&#8217;s config.xml:&#8230; &lt;global&gt;&#8230;&lt;models&gt;&#8230;&lt;sitemap&gt;&lt;rewrite&gt;&lt;sitemap&gt;Company_Module_Model_Sitemap&lt;\/sitema<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>czerasz installation zend-server magento I try to install magento for the first time.I&#8217;ve created the database with the name &#8220;project&#8221; in my C:\\Zend\\Apache2\\conf\\httpd.conf I added on the end:&lt;Directory &#8220;C:\\Zend\\Apche2\\htdocs\\project&#8221;&gt;Options Indexes FollowSymLinksAllowOverride AllOrder allow,denyAllow from all &lt;\/Directory&gt;in my ZendServer\/Server Setup\/Extensions: PDO_MySQL, simplexml, mcrypt, hash, GD, DOM, iconv, curl, SOAP are on in C:\\Zend\\ZendServer\\etc\\php.ini I set:safe_mode = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1],"tags":[],"class_list":["post-6542","post","type-post","status-publish","format-standard","hentry","category-magento","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6542"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6542\/revisions"}],"predecessor-version":[{"id":9015,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6542\/revisions\/9015"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}