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.

Control panel issues on host

December 15, 2010 6:05am

Subscribe [5]
  • #1 / Dec 15, 2010 6:05am

    Kurisu

    5 posts

    Hi All,

    I’ve completed the design and dev for a site locally and have just attempted to upload to my clients hosting. After a bit of search and a few trials I managed to get the latest version of EE installed on the server.

    I was getting a lot of “page not found” type errors during the install but managed to work through those, simply by starting the install over about 5 times.

    Now that everything is ready to go, I’m having trouble logging in to the control panel. The username and password are definitely correct, there are no .htaccess files anywhere on the site and, based on an archived thread, I’ve modified the config file to contain this:

    $config[‘uri_protocol’]  = ‘QUERY_STRING’;

    After making this change I’m able to get in to the control panel, however the javascript drop down menus do not work, and clicking on any of the in-page links takes me BACK to the login screen, where I have to attempt about 5 times for the username and password to be accepted. Once I’m logged in, the process repeats as soon as I click on anything.

    My phpinfo file is here:

    http://www.frv.com.au/admin/application/phpinfo.php

    It definitely seems to be a host issue as everything is working perfectly locally.

    I have uploaded the files for the matrix and imgsizer plugins but they have not been activated - i.e. it’s a freshly installed database.

    Any help would be greatly appreciated.

    Cheers,
    Chris

  • #2 / Dec 15, 2010 3:53pm

    Ingmar

    29245 posts

    Welcome to the forums, Kurisu!

    After making this change I’m able to get in to the control panel, however the javascript drop down menus do not work, and clicking on any of the in-page links takes me BACK to the login screen, where I have to attempt about 5 times for the username and password to be accepted. Once I’m logged in, the process repeats as soon as I click on anything.

    Please try to upload a fresh set of files, paying special attention to the CP theme files. You might also upgrade to EE 2.1.2 in the process (released today).

  • #3 / Dec 15, 2010 4:57pm

    Kurt Deutscher

    827 posts

    You may also want to double check the $system_path setting in your index.php file and /system/admin.php file if you are masking CP access. Sometimes when a site is “moved” those paths need to be reset by hand.

    http://ellislab.com/expressionengine/user-guide/installation/masked_cp_access.html

  • #4 / Dec 16, 2010 3:52am

    John Henry Donovan

    12339 posts

    Chris,

    One thing along with the advice above is check that your host actually meets EE’s requirements.
    Also run our server wizard

    Let us know how you get on with all the above.

  • #5 / Dec 16, 2010 9:34pm

    Kurisu

    5 posts

    Thanks for the suggestions guys, I’ll run through everything later today and post back 😊

  • #6 / Dec 16, 2010 9:58pm

    Kurisu

    5 posts

    Hi again,

    Just an update: I started off running the server wizard, and everything has passed there. I then downloaded the latest version (2.1.2) and created a fresh install - it ran much smoother than the previous attempt, and I’ve been able to log in straight away.

    I now have the follow PHP error on the admin index page:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: theme_css_mtime
    
    Filename: _shared/header.php
    
    Line Number: 9
    
    index.php?S=f8a9f794c6ca2f91285d8812cc58b2ed39a8ded0&D=cp&C=css&theme=default&v=" type="text/css" media="screen" title="Global Styles" charset="utf-8" >

    Obviously another theme problem - the control panel has no CSS applied.

    Any thoughts? 😊

    Cheers,
    Chris

  • #7 / Dec 17, 2010 11:13am

    Ingmar

    29245 posts

    Do you have the theme files uploaded as per the docs? You might want to check permissions as well.

  • #8 / Jan 10, 2011 8:19pm

    Kurisu

    5 posts

    Hi everyone,

    Happy new year - I’m just revisiting this after the break and am still having trouble with the control panel theme files. As far as I can tell I’ve uploaded everything correctly but am still getting the following error:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: theme_css_mtime
    
    Filename: _shared/header.php

    Where would that theme css variable normally be defined? I am still familiarising myself with the EE filesystem and am struggling to track down the cause of the error…

    Thanks in advance!
    Chris

  • #9 / Jan 11, 2011 9:29am

    Sue Crocker

    26054 posts

    Hi, Chris. Are you trying to use one of the stock control panel themes that came with EE2.1.3, or what exactly?

  • #10 / Jan 11, 2011 8:45pm

    Kurisu

    5 posts

    Hi there,

    Yes, it’s just the stock-standard vanilla theme file that comes with the latest release - I haven’t tried changing anything in that regard. To me it appears to be unable to find the variable that tells it where the theme CSS lives… still trying to hunt down where this variable would usually be defined…

    The page actually loads fine, I just get that php warning, and there is no CSS applied.

    Chris

  • #11 / Jan 12, 2011 9:11am

    Sue Crocker

    26054 posts

    I looked up a few others that had the same error message, and in one case it had to do with how he uploaded his files..

    http://ellislab.com/forums/viewthread/177058/#840543

    Might that be the issue?

  • #12 / Jan 27, 2011 7:19am

    Kurisu

    5 posts

    Hi all,

    Just thought I’d post and let people know my solution (as discovered tonight) - simpy downloading a fresh 2.1.3 and uploading the cp_themes folder to the server fixed this issue. Somewhere along the lines the files were corrupted.

    Very easy in the end, thanks for the help.

    Chris

  • #13 / Jan 27, 2011 10:01am

    Sue Crocker

    26054 posts

    Glad to hear things are working again. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases