Magento Forum

   
problem viewing detailed product
 
nekosan
Member
 
Avatar
Total Posts:  32
Joined:  2008-07-15
 

hello

Here is the problem I have

if i go to a category, and click on a product in the product list, i can see the detailed product.
the path would look something like: http://www.website.com/category/my-product.html

From whatever link i have to that product (recently visited, shopping cart) the link looks like this:
http://www.website.com/my-product.html (without the category/subcategories part)
i can see that page, but i can’t see the detailed product there, the page is just blank.

Has anyone experienced this problem?

(rewrite is enabled, i haven’t modified anything in the core, running on the latest stable version)

 
Magento Community Magento Community
Magento Community
Magento Community
 
nekosan
Member
 
Avatar
Total Posts:  32
Joined:  2008-07-15
 

anyone had this problem before? or has it still?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Unirgy
Guru
 
Avatar
Total Posts:  478
Joined:  2007-09-07
 

add these lines to /index.php somewhere in the beginning and see if instead of empty page you see error details:

<?php
ini_set
('display_errors'1);
error_reporting(E_ALL E_STRICT);

 
Magento Community Magento Community
Magento Community
Magento Community
 
nekosan
Member
 
Avatar
Total Posts:  32
Joined:  2008-07-15
 

still no result.

i see it saves the url rewrites in core_url_rewrite

for paths like website.com/product.html the category_id is null. product_id is ok
for paths like website.com/category/product.html the category and product id is ok

i don’t understand why it needs the category id, since all you need is the product id.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top