Magento admin panel gives 404 when trying to enter cms pages - magento

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/

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 - change store view to default via phpmyadmin

Situation: I have messed up the store view option in Magento admin (very right option in 'Manage Stores'. I tried adding another store view. After saving it, I could neither enter backend nor was the frontend visible anymore (404 error).
I have access to phpmyadmin and was planning to manually change the store view to default again, but did not find the the aproporiate location to do so. Could you guys point me to the right direction please?
(I saw a similar question asked on this board, but with unsatisfying solution: 404 error in front end and admin of magento after changing store view to a new store)
Found this myself though:
core_store
core_store_group
Dont forget to delete the cache and sessions or your website wont load properly:
/var/cache
/var/sessions

Magento store home page missing

I am working on a magento store, i have done some change in the admin panel like scope change in store, and update some project using CSV file after that i am seeing a different as a default page on my store.
if i type domain.com/cms correct page is coming, but if i type domain.com page is not correct and it is also without js and css, and not able to if the page in the cms/pages,
also tried system> configuration> design and web chages, but it vain, also tried categories > url rewtire but no luck.
can anybody help me on this.

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

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.

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

Resources