Hi!
We are working with magento template - http://shop.stroylux.md
Today we found one problem with them: when we trying to access home url, we give an error: 404 error: Page not found.
We don't change anything in structure of site. We just entered the products in shop. We addressed with this problem to the hosting company, and they tell us that the problem is in the core of magento.
Help us with this problem.
Great Thanks!
Solved! Go to Solution.
Follow the steps and it will fix the issue:
1. Open up your .htaccess file and make sure, the ‘ RewriteBase / ‘ is correctly set to your root or your subfolder.
2. Clear your Cache and reindex complete data.
3. Open up your database phpmyadmin and goto core_store, core_website and core_website_groups. Check if your main store is set to 0 for the is_active. If yes, then set them all to 1 , so your store gets active.
Try re-indexing from Index Manager from admin and have you removed the "index.php" from your store URLs?
Follow the steps and it will fix the issue:
1. Open up your .htaccess file and make sure, the ‘ RewriteBase / ‘ is correctly set to your root or your subfolder.
2. Clear your Cache and reindex complete data.
3. Open up your database phpmyadmin and goto core_store, core_website and core_website_groups. Check if your main store is set to 0 for the is_active. If yes, then set them all to 1 , so your store gets active.
This steps don't help me to resolve the problem
In table core_store we have a column is_active that have value = 1
In the second table core_website we dont have a column is_active
Finnaly we dont have table core_website_groups
Try re-indexing from Index Manager from admin and have you removed the "index.php" from your store URLs?
I took many hours to find the solution for the error 404 page not found in front-end. It has occurred for all browsers. I have NOT changed any code.
I have also traced code and found the issue at public static function run($code = '', $type = 'store', $options = array()) of Mage.php file
...
} catch (Mage_Core_Model_Store_Exception $e) {
echo "MAGE - TRACING";
require_once(self::getBaseDir() . DS . 'errors' . DS . '404.php');
die();
} catch (Exception $e) {
...
Note that It works fine before
Any guys can help me how to fix this?
Thank you,