404 page not found when trying to access CMS -> Pages in admin panel Magento 1.8.1.0 - magento

Shortly after configuring my site to have two separate websites I could not access CMS -> Pages to manage my pages.
I followed the steps on this two links http://www.magentocommerce.com/boards/viewthread/18223/ | Magento admin panel gives 404 when trying to enter cms pages where they mention “cms_page_store” table. But that table obviously does not exist in 1.8.1.0 Magento version.

Old question, but still happened to me in Magento 1.9.1.0. Some leftover CMS-Page database entries were referencing a store_id of a store that no longer existed after I deleted it.
So here's what solved it for me:
Find out the ids of your stores: Under System > Manage Stores in the column Store View Name look for the Store's id that pop up when hovering the link and also in the link url (e.g. ...admin/system_store/editStore/store_id/3/key/...)
To be safe, make a database backup under System > Tools > Backups
Go to your database and find the table cms_page_store. Delete all entries with a store id in the field store_id that points to a store, that does no longer exist.
Refresh CMS > Pages, 404 should be gone.

Related

Magento Products are not listed on fronend

I downloaded a old magento site and installed it on my local server.
My admin panel is working perfect but products are not listed in frontend.
Links on the front end page are also not working.
When you say that you 'downloaded an old magento site', do you mean that you just copied down the folder structure?
If so, this won't have copied the product database, which is an entirely separate entity to the php/js/html/css that comprises the file structure.
Try reindexing and clearing the cache. Also, did you make sure the Base urls were updated in core_config_data database table?

Magento backend 404 error due to disabling default store view

I have a working magento installation with 2 websites 2 stores and 2 views the first one being default other i created just for some testing (which giving 404 error for some reason).
So it happened that while i was fiddling with magento's 'manage store' feature i accidental disabled the default store view and on refresh i got nothing but a 404 error on the frontend as well as on the backend .I can't access any of the admin feature so undo it , any idea how to fix it ?.I am using magento 1.9.0.1
In your database, navigate to the table core_store.
Then look at the list of the records and reset the field is_active for the right store at the value 1.
Or if you are sure there is no stores that should stay disabled just run
update `core_store` set `is_active` = 1
If that does not solve the issue, also manually clean your caches : on the server or via ftp or ssh : delete the entire content of the folder var/cache

Product moved from Cat to Sub-Cat not showing up on site search

In Admin I created new subcats for my CyberPower category. When I search for BH1500 on our site for the product I get the whoops page. If I go step by step through our site to get to the product it works just fine. Why is the URL missing, or nor showing the link properly?
http://www.unipower.com/products/ups/cyberpower/bh-series.html, is what shows up.
However this
http://www.unipower.com/products/ups/cyberpower/bh-series/BH1500.html
should be the right link.
New to Magento, help me if you can!!
All you should need to do is run a reindex and flush your cache! Basically, your catalog URL rewrites are incorrect or out of date.
System > Index Management - Best to select all elements, choose the Reindex Data action and click the Submit button.
System > Cache Management - Flush Magento Cache

Where does Magento 1.6 Store its CMS Page?

I was looking around the admin panel of magento, and I came across the cms menu, which has a pages section. I was not able to locate that pages listed in this section in Magento's file directory structure. Where can i find all the cms pages, especially the home page?
Magento's pages aren't files on the server. They're stored in the database. In the stock installation you'll find their content in the cms_page table.

Magento admin panel gives 404 when trying to enter cms pages

I'm using Magento 1.4.1.1 which works great other then the 404 when I'm trying to enter CMS/Pages in the navigation.
All other pages work great and even other items in CMS menu, only Pages gives 404.
What should I do?
Had this exact problem..
You are getting a 404 on CMS pages because of the remains of old store views still hanging around in the database after deleting store views from Magento admin, to clean up ( delete ) old unused CMS pages for store views you have deleted run this MySQL query.
DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store)
You could also use an app like phpmyadmin to manually look for CMS entries that have store IDs that you know not to be in use, but this could get messy.
Original source: http://www.magentocommerce.com/boards/viewthread/18223/

Resources