ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

localhost no control panel on existing EE.

April 08, 2011 1:09pm

Subscribe [4]
  • #1 / Apr 08, 2011 1:09pm

    Mantooth

    3 posts

    Hi,

    I have setup a local dev environment with an existing EE from a production server. Everything seems to be working except the admin control panel. When I visit the control panels URL I get “The page you are looking for can not be found.” error.

    I have checked path.php everything looks fine there.

    I would like to enable debug mode, anything I read says I enable debug mode through the control panel. So no luck there.

    EE is new to me and I am sure this a simple fix but I am just missing something.

    Any help would be greatly appreciated!

  • #2 / Apr 08, 2011 6:01pm

    Kay Ashaolu

    23 posts

    you can enable debug mode by going to the system/index.php page and setting the $debug variable to 1

  • #3 / Apr 09, 2011 10:05am

    Mantooth

    3 posts

    I enabled debug mode, it doesn’t give me any clues.

  • #4 / Apr 09, 2011 11:20am

    Kay Ashaolu

    23 posts

    Hmm interesting: I have a few questions:

    what version of EE are you using?
    what is the URL that you are entering for the control panel?
    Do you have any .htaccess files in the root or in the system folder?
    And when you enter the CP URL does it look like it is redirecting?

    This may also be a database issue where you have to manually go into the database and change the base url

  • #5 / Apr 09, 2011 11:27am

    Mantooth

    3 posts

    Hi Kay,

    The version is 1.7.0
    The URL is working on the production site
    .htaccess file is not being used
    It is not redirecting

    What you mentioned about the base url in the database would make sense if the control panel is dependent on a absolute url. Is that the case with EE?

  • #6 / Apr 09, 2011 1:48pm

    Kay Ashaolu

    23 posts

    the EE database stores an absolute url that it uses throughout the application, but you should be able to override it in path.php to point to your local dev url instead of your live production url. You may also need to look at your config.php file and change the site_url and cp_url to point to your local dev installation instead of your live production installation.

  • #7 / Apr 10, 2011 1:45pm

    Greg Salt

    3988 posts

    Hi Mantooth,

    Please make sure that you have deleted the contents of the system/cache folder part from index.html and any .htaccess file. Additionally, you may still have some paths setup for your production site. EE has the ability to read much of its configuration from the system/config.php file and config file items override what is stored in the database. Please have a look at Config Overrides in our Wiki and make sure that you add any applicable config items to your system/config.php file. Don’t forget that in many cases you will want to use a full path rather than a relative one.

    Cheers

    Greg

    @Kay, thanks for the help.

  • #8 / Apr 12, 2011 10:50am

    Mantooth

    3 posts

    I got the control panel working. The issue was not within EE, it was an apache server config issue.

    Thanks for the help!

  • #9 / Apr 12, 2011 9:09pm

    Brandon Jones

    5500 posts

    Glad you got it sorted, Mantooth!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases