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.

Website control panel not accessible

January 07, 2012 1:36pm

Subscribe [2]
  • #1 / Jan 07, 2012 1:36pm

    borisrabbit

    3 posts

    Hi there,

    I’m running EE 1.7.1, up until now I’ve been able to access the control panel fine, but now for some reason the panel wont show up. The browser title bar says ‘Redirect’ for an age and then finally it redirects to the 404 page.

    It doesn’t appear to affect the front end of the site, that is running fine.

    I’ve flagged it with Dreamhost in case they’ve changed something, but I’ve had problems in the past where the site’s been hacked, so now I’ve deployed via git, and running git status shows only content and cache changes so am at a loss as to why its not working…

    Help appreciated!

    ————-


    I have narrowed the problem down. In the exp_sites table there are 2 values which are incorrect (the server had to be restored about 3months ago and the server path had to be changed)

    tmpl_file_basepath has the wrong server path in and theme_folder_path also has the incorrect server path in.

    So at the moment the frontend of the site is running fine but the admin panel is inaccessible. If I change the 2 variables to the correct path in phpMyAdmin, the frontend becomes inaccessible, the admin panel will load up, but the theme/css isn’t picking up properly and logging in doesn’t work.

    So all in all a bit of a mess! Is it possible to change these variables through phpMyAdmin or is there something else that needs to be changed, Is it a cache problem, should I somehow be clearing that manually?

  • #2 / Jan 09, 2012 6:56pm

    Sean C. Smith

    3818 posts

    Hi borisrabbit,

    Can you open up your config.php and add the following lines with the correct variables added in.

    $conf[‘tmpl_file_basepath’] = ‘’;
    $conf[‘theme_folder_path’] = ‘/path/to/themes/’;

    You can find a complete list of config overrides in this wiki article.

    Try this and then let me know if that works.

    Sean

  • #3 / Jan 10, 2012 4:19am

    borisrabbit

    3 posts

    Thanks Sean that worked a treat, much appreciated!

  • #4 / Jan 10, 2012 6:34pm

    Sean C. Smith

    3818 posts

    Glad I could help. Don’t hesitate to post again when you need more help.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases