Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4032660
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:44:57+00:00 2026-05-20T11:44:57+00:00

I just transfered my magento installation from one local machine server to another. Now,

  • 0

I just transfered my magento installation from one local machine server to another. Now, I cannot login to admin panel. When I go to the admin login url, I get the following error message:-

“Error: 404 Not Found”

Some of my module’s pages also show this error.

Can anyone please figure out the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:44:57+00:00Added an answer on May 20, 2026 at 11:44 am

    Finally, I found the solution to my problem.

    I looked into the Magento system log file (var/log/system.log). There I saw the exact error.

    The error is as below:-

    Recoverable Error: Argument 1 passed
    to Mage_Core_Model_Store::setWebsite()
    must be an instance of
    Mage_Core_Model_Website, null given,
    called in
    YOUR_PATH\app\code\core\Mage\Core\Model\App.php
    on line 555 and defined in
    YOUR_PATH\app\code\core\Mage\Core\Model\Store.php
    on line 285

    Recoverable Error: Argument 1 passed
    to
    Mage_Core_Model_Store_Group::setWebsite()
    must be an instance of
    Mage_Core_Model_Website, null given,
    called in
    YOUR_PATH\app\code\core\Mage\Core\Model\App.php
    on line 575 and defined in
    YOUR_PATH\app\code\core\Mage\Core\Model\Store\Group.php
    on line 227

    Actually, I had this error before. But, error display message like Error: 404 Not Found was new to me.

    The reason for this error is that store_id and website_id for admin should be set to 0 (zero). But, when you import database to new server, somehow these values are not set to 0.

    Open PhpMyAdmin and run the following query in your database:-

    SET FOREIGN_KEY_CHECKS=0;
    UPDATE `core_store` SET store_id = 0 WHERE code='admin';
    UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
    UPDATE `core_website` SET website_id = 0 WHERE code='admin';
    UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
    SET FOREIGN_KEY_CHECKS=1;
    

    I have written about this problem and solution over here:-

    Magento: Solution to “Error: 404 Not Found” in Admin Login Page

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just transferred my local web app to my server, and now I'm getting
I just want to transfer (send or receive) a hash from client to server.
Recently I transferred a set of data from one server to hpcc(high-performance computing) Command
I am getting values from one textbox and putting it in another textbox. The
I need to serialize/de-serialize some objects into/from string and transfer them as just opaque
I am developing and doing all the testing on a local machine using PHP
I have transferred my WordPress blog from Godaddy to my own personal server and
I just installed Ubuntu 10.10 server with NodeJS 0.4.6 using this guide: http://www.codediesel.com/linux/installing-node-js-on-ubuntu-10-04/ on
So I'm just confused here. I've got to migrate my database from MySQL to
I was just reading about RDBMS, and one property of an RDBMS is atomicity.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.