user2344179
user2344179

Reputation: 121

Magento category page is blank How can i see the error message

My category pages http://magento-36664-riki.vpsapps.net/ceiling-lights.html?___store=default are blank.Even When i try to search any product i get blank page. So I think whole catalog is not working.

I also try to change the layout of category from back office but same result

Is there any way to see the error ?

I checked server error.log file and find this message "Directory index forbidden by Options directive"

Now I again checked my server error log. Now I am getting this error"Now I am getting this error in server error log"PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 241172481 bytes) in /var/www/kkemerce/htdocs/app/Mage.php on line 842 [Fri May 03 06:26:44 2013] [error] PHP Fatal error: Class 'Mage' not found in /var/www/kkemerce/htdocs/app/code/core/Mage/Core/functions.php on line 0"

Upvotes: 0

Views: 4784

Answers (6)

Jigar Savla
Jigar Savla

Reputation: 90

For me disabling cache worked, seems it was cache issue.

Upvotes: 0

Dusan
Dusan

Reputation: 49

Regarding server error "PHP Fatal error: Allowed memory size of 268435456 bytes ..." in my experience this happens if:

  • I try to browse product which is not inside ANY category
  • I try to browse category which have attribute "is active" set to NO

It will eat ANY memory [ini_set('memory_limit','2024M') still not enough]

Perhaps this helps?

Upvotes: 2

user2344179
user2344179

Reputation: 121

One attribute was missing while loading the catalog in grid view I put that attribute and problem get sloved

Upvotes: 0

Pragnesh Rupapara
Pragnesh Rupapara

Reputation: 802

you can check log goto var->log directory then you can get exception and system log file otherwise you can goto magento admin panel Sysem->configuration and find Advance tab then select devloper and select debug-> profiler select "yes"

Upvotes: 0

Francis Kim
Francis Kim

Reputation: 4285

Directory index forbidden by Options directive means that your virtual host settings are incorrect. Check that mod_rewrite is enabled, also check that the default .htaccess is there. Lastly, check your vhost settings & see if it has the mod_rewrite settings:

http://httpd.apache.org/docs/2.2/rewrite/vhosts.html

Upvotes: 0

ndlinh
ndlinh

Reputation: 1365

I think you got blank page due to PHP errors. To make Magento show errors, you should enable developer mode by editing index.php like bellow:

....
#if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
    Mage::setIsDeveloperMode(true);
#}

ini_set('display_errors', 1);
....

Upvotes: 2

Related Questions