Blank Page for newly uploaded products in magento - magento

After uploading new products to my existing stockpile (in Magento) I noticed that the product pages were coming up blank. I have reindexed the products, refreshed the cache, ensured that the items are marked as enabled, in stock with a quantity of at least 1. My existing products are working fine so this is a complete mystery to me.
I have found issues such as "Magento shows blank/empty page. How do I solve this?" (http://kb.magenting.com/content/22/38/en/magento-shows-blank-empty-page-how-do-i-solve-this.html) but none that with the same problem as me here.
Ideally someone who's reading this has suffered as I am here and healed the pain - if you have please post the cure. Similarly if anyone can suggest solutions/reasons I'd be most grateful.
_g

Without more information these are just guesses:
Examine your import script against an export script. Did you include all core fields e.g. website, store, sku, name
Check your logs, are any exceptions being thrown on the product page?
Are the products showing up in your catalog? If so you've probably got the core fields imported ok. If not see the first point.
If the products are in the catalog but blank screening on the product page, it's most probably some customer code in your skin thats causing the issue. Try either switching to the default skin and reload. If it works then your import was probably missing an attribute used by your skin on the product page.
If the default skin loads. Go back to your skin and comment out code on your product page until you find the culprit.
Hope that helps.

Related

magento broken shopping rule page

I have a problem on magento backend that I am not sure what is happening. Shopping cart price rule was working completely fine, but suddenly the rule page look like this:
screenshoot of shopping rule page
The content of each tab is loaded inside the tab div itself instead of on the content area on the right. Content area is completely empty.
No code was touched in relation with promotions code, or admin/core code at all. I don't see any issue on console or not js code loaded. This is the only page affected (shopping cart price rule page), catalog rule works fine as well as any other with same structure (product page, customer page and such).
I was recently playing around with promotion too much, creating, deleting and editing. And solved a 500 issue on cart page increasing php memory limit. Not sure if related with this issue.
On apache logs it only displays the following when I access that page:
client denied by server configuration: /www/app/etc/local.xml
Could someone help me in where to look in order to solve this issue or have a hint about what could be the issue?
I am completely lost with this one. Magento version 1.7.
Thanks.
I finally found the issue. It was a extension related.
Recently I had some issues on cart page and at some point I disabled a promotion extension (Amasty shipping rules) though magento backend, on system/advanced extensions list.
Seems like the extension is disabled but still used on promotion page, adding the structure for the feature but not showing what is supposed to show (because is disabled) and breaking the layout.
Enabling again the extension or removing the extension on files avoid the issue.
1) clear the cache maybe you made a update and your cache is wrong. you can clear in the admin side clear all the types, or erase all inside /www/var/cache
2) clear the page history in your browser, all is fine but your machime show that weird.
3) after that check the browser console, because is a css problem, maybe a file is lost or change the permitions.

Associated products not showing up in frontend in Magento

working with Magento 1.5.1 my grouped products don't show their associated products in the frontend (the list with their prices), however everything is fine on the backend and the other type of products (Simple and configurable) are ok in frontend.
It just don't load the grouped.phtml file, how could I debug the page loading process ? or even better, any ideas how to fix this problem?
Thanks in advance
The problem was an extension that overwrites the grouped product generation file and it created a conflict.
After commenting a code line in its .xml, everything's back to normal.

How to solve 404 not found problem in Magento

I have installed full release Magento on localhost from http://www.magentocommerce.com/download. Before doing installation I have created a database and import Magento sample database (downloaded from Magento site).
After that continue installation process. When I checked fronted its shows Best Selling Products when I clicked any of the product it gives error given below:
Whoops, our bad...
The page you requested was not found, and we have a fine guess why.
* If you typed the URL directly, please make sure the spelling is correct.
* If you clicked on a link to get here, the link is outdated.
What can you do?
Have no fear, help is near! There are many ways you can get back on track with Magento Demo Store.
* Go back to the previous page.
* Use the search bar at the top of the page to search for your products.
* Follow these links to get you back on track!
Store Home
My Account
I am new to Magento.
I've experienced this too. In the admin go to System > Index Management and rebuild the various catalog indexes, especially the URL rewrites.
This is because the sample data doesn't have it's paths stored to begin with, it needs to be calculated, and the Best Selling Products section doesn't read the actual paths in use, instead it is a Static CMS Block with it's HREFs fixed. This will probably never occur for products you enter yourself so it's nothing to worry about.
I had the same problem in Wamp. I had my folder named Magento, renaming it to magento, fixed the problem. (Lower case)
I had a similar issue, I was transferring Magento from a Unix server to a Windows server. My issue was to do with links looking like this (not working)
http://www.magentoshop.com.au/shop/product01.html
instead of
http://www.magentoshop.com.au/shop/index.php/product01.html
Haven't worked out how to fix all links yet, but just adding it tells me where the issue lies. Hope it helps someone else.

Magento - Configurable products not visible until manually saved in admin panel

I have a script that is creating a lot of configurable products and their associated simple products.
Everything goes ok and when inspecting the products in the admin section, everything is linked up and looks great.
The problem is that the products are not visible until I manually go to the admin section and save the configurable product - without changing any options - and then each simple product that is associated with it. After each simple product is saved, its option becomes available on the from end for the configurable product.
Does anyone have any ideas on this?
Solved this by going through the saveAction in the Mage_Adminhtml_Catalog_ProductController.
I wasn't setting the websiteIds correctly so the new products were never getting added to the site correctly.
Magento uses this piece of code to get the correct website:
$product->setWebsiteIds(array(Mage::app()->getStore(true)->getWebsite()->getId()));
Drew's answer above worked for me. For those using the REST API, this option is under extension_attributes like so:
"extension_attributes": {
"website_ids": [1]
}
Where 1 (for me) was the id of the website where I wanted the product to appear.

Magento Problem

I am running a store on Magento. For some reason the "Recently Viewed", "Related Items" and "Featured Items" blocks have all disappeared from my site. They where definitely there yesterday so I'm not sure what's happened to them.
Featured Products is an extension I use and show on the home page using:
{{block type="featuredproducts/listing" template="inchoo/block_featured_products_main.phtml"}}
Does anyone have any idea what the problem could be?
Reindexing my products fixed this.
system > index management
Probably some Blocks that don't render. Check your /var/log/errors.log for clues (1) and remove the module if is giving you problems(2).
This one here is trying to load the Featuredproducts_Block_Listing class. Check if is there and if is not misspelled.
Have you added any custom module to magento related to products like feature products or products on sale, if yes then just make it false from XML file /app/etc/modules/module.xml
and then refresh or delete the cache and try again with front end.
If this will not work then just simply delete all cache, session and logs. and refreh the web page it will work.
Thanks
Magento Development

Resources