Magento Orders->Google Sitemap ... since recently a blank page?!!!!
Hi since some weeks our sitemap page via Magento Orders->Google Sitemap is empty. Nada! Just a simple white page
This is very frustrating as we dont know how to resolve (and do need to recreate)
And when I click create new, this is the error (create new is the only button we see)
Fatal error: Call to a member function getIdFieldName() on a non-object in /public_html/app/code/core/Mage/Core/Model/Abstract.php on line 151
Where do we start to investigate?
Do I need to clean some table?
And I dont understand why this suddenly is a new error
The problem was a faulty bracket not closing in config.xml
Related
I've developed a magento website with the fishpig extension, and as soon as I turned on my Lesti's FPC, i got a white page without any errors on the homepage.
I've managed to trace the error down to the post collection, but I don't know how to fix this issue. Someone had any experience with this?
This is what my post collection looks like:
<?php $posts = Mage::getResourceModel('wordpress/post_collection')
->addPostTypeFilter('sliders')
->load();
?>
I'm pretty sure this error has nothing to do with Lesti FPC. If you have a white page without any errors, this just means that an error has occured but your PHP error display settings prevent it from being displayed. To display the error, open up your Magento index.php file and uncomment the following line:
ini_set('display_errors', 1);
This will reveal the PHP error message. That being said, your issue will probably be fixed by performing the following steps:
Upgrade Magento WordPress Integration to the latest version. Also update any add-on extensions for Magento WordPress Integration.
Check System > Configuration > WordPress for any errors/warnings and fix every single one.
Check var/log/ for a wordpress.log file. Delete this file and then go back to the page that triggers the error. See whether any new errors are added to the file.
Please perform these 3 steps (these steps should be followed for any error with Magento WordPress Integration) and see whether the error persists. If the error does remain after following these steps, please update your question with the specific error message (but only after following these 3 steps).
Hi i am a fresher in magento. I have installed a new theme in magento and it was working fine. but when i navigate to products individual page, an error was showing
'Call to a member function getFrontend() on a non-object'.....
Thanks for support in Advance
This was ask a long time ago, but I wanted to provide my input.
I had this same error and it was from moving code that I new worked in production to a staging server. It turns out there was a custom attribute added to my attribute set that didn't get transferred over to staging and was causing the error.
in you new theme there may be error in code of list.phtml
you can check that page located in app/design/frontend/default or your theme /catalog/product/list.phtml
you can compare the code with your previous theme by following the above location and do the required modifacation.
try use default magento theme, if no problem found maybe there is missing files on your theme
Hi i am going through very strange issue in magento , i have several categories i magento with child categories , i need to update a category information ,i am able to update the many categories but when i try to update the first category under the default category , it didn't work and the browser keeps on loading .I have tried to found the issue on google but nothing was there , in some places it was suggested that it happens due to upgrade but i haven't upgrade the magento or any other module .Please suggest me what can be the issue .
Thanks
This happens in some cases where the category name contains special characters.
This is for sure a javascript error, otherwise you would have got a response from the server, in this case the you are not getting a response and hence the loading continues. What you could do is check the server response and monitor the firebug / inspect element to get some ideas.
You can check for these javascript elements in the
/app/design/adminhtml/default/default/template/catalog/category/tree.phtml file.
You should add some more info to the question starting with the Magento version, but follow these steps:
Enable error printing in general by adding these lines to your .htaccess
SetEnv MAGE_IS_DEVELOPER_MODE 1
php_value display_errors 1
Enable logging in Magento in System->Confihuration->Developer->Log Settings
Do as Keyut suggested and try to update the erroneous category with the console open, monitoring the XHR calls. Check the response of the call invoked after you clicked "Save" for errors.
Do as Tobias suggested and check the logs found under var/log in your Magento folder.
By now you should have at least found the error, so you can solve it or ask for further help.
Magento is returning Fatal error: Call to a member function setQuote() on a non-object in/home/discoun1/public_html/app/code/core/Mage/Paypal/Controller/Express/Abstract.php when customer click continue button on paypal “review your information”.
It should be a problem with your custom theme.
Try this:
get the paypal folder from
app/design/frontend/base/default/template;
get paypal.xml from app/design/frontend/base/default/layout;
copy the paypal folder above to
app/design/frontend/default/[yourthemename]/template
copy the XML above to app/design/frontend/default/[yourthemename]/layout
This should update the paypal files to your theme.
Eiii I've had this problem too, and this worked for me too.
In my case I'd overwritten 3 files of the Paypal folder in my template, so I already have the folder and the xml in my templates default folder. In spite of the review showed me a blank page, but with your solution the reviwe page works fine.
I don't understand why Magento does not find the rest of the files from core. Could you give me a explantion of that.
Good job. :)
I upgraded a magento store from 1.3.x to 1.7.0.0. This caused some bugs which I am fixing now.
I am stuck at this one: the price of products added after the upgrade are displayed correctly in the category page but not on the detail page. For some reason the price including tax on the detail page of a product added after the upgrade is always '0'. The price excluding tax is displayed correctly. You can see this here: http://www.stagefreaks.nl/gedore-scaffhamer.html
Furthermore: the price including and excluding tax is correct in the shoppingcart and during checkout.
Any idea what might cause this problem ? I turned of caching at the moment, so it is not a caching issue (and it has been an issue for over a week now).
Thank you very much for any reply.
in order to solve a bug, the first step is to know where it comes from.
As you already have discarded a template issue, let's focus on the non-core code:
rename app/code/local/ to app/code/local_backup/: this will disable all local modules. Reload your page and check if the price is still wrong.
if it's still wrong, rename app/code/community/ to app/code/community_backup/ and reload the product page
when you've find out which code pool is responsible, undo the folder name's change and disable one module at a time (putting the tag <active> as false in the app/etc/modules/module.xml file or renaming the folder)
Once you know which module is responsible, you'll have to review it to see how it messes with your product detail view.
Oh, also, edit your index.php file to show errors:
comment out the condition around Mage::setIsDeveloperMode(true)
uncomment ini_set('display_errors', 1);
A Specific solution of this problem is....
This Error occur if you install a new custom module and clear the magento cache.
magento creates the Helper,Model,Controller ,Adminahml on installation of your module.
From these files magento knows about your module.
For Ex.
I Create a module name as createform
Module folder is
Createform/Newform/etc/
/Helper/Data.php
/controllers
/Model
/Block/Myform.php
After installation of this module, magento will create a file name as
Createform_Newform_Helper_Data.php in /includes/src/ folder.
Note:- If this file not created in /includes/src/ folder.
Fatal error: Class 'Createform_Newform_Helper_Data' not found in /app/Mage.php on 546
Then this error will occur.
For removing this error Manually create this file in includes/src folder.
Like:-
/includes/src/Createform_Newform_Helper_Data.php
and add code of Data.php file in Createform_Newform_Helper_Data.php file.
Then refresh your site.
This error is removed from your system and it works properly.
Also check your system.log file for other errors.
Just a hunch but could it have something to do with the new VAT options? There are options for vat calculation there you could check out.