Reputation: 121
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
Reputation: 49
Regarding server error "PHP Fatal error: Allowed memory size of 268435456 bytes ..." in my experience this happens if:
It will eat ANY memory [ini_set('memory_limit','2024M') still not enough]
Perhaps this helps?
Upvotes: 2
Reputation: 121
One attribute was missing while loading the catalog in grid view I put that attribute and problem get sloved
Upvotes: 0
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
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
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