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 Theme not working...

October 09, 2012 12:52pm

Subscribe [2]
  • #1 / Oct 09, 2012 12:52pm

    oliverhood

    17 posts

    This question may be related to a resolved thread.

    —-

    A client recently made their site live, the site was originally on a test domain until they were ready to switch to the new site.

    New site was fully functional, was given the go-ahead for the switch so made all the edits in the Control Panel using Deeploy Helper to change the domain. Also ‘parked’ the domain on the site hosting to allow for the new domain.

    Now some of the uploaded images and ALL of the Control Panel theming is missing, but still present on the server. The control panel will no longer load it’s theme on the original domain either. Which makes me think something has gone a bit wrong on the ‘proper’ domain’s end…

    ALL paths are correct for the domain, and files are certainly present on the server too. At a loss as to what’s gone wrong as this is normally extremely easy to achieve.

    Any pointers are most welcome.

    (EE 2.5.2)

  • #2 / Oct 11, 2012 5:12am

    oliverhood

    17 posts

    Anybody? Client is chomping at the bit to get on with using their site.

    Really need to know whether or not to point the finger at the client’s domain host/IT dept.

  • #3 / Oct 11, 2012 2:06pm

    Kevin Smith

    4784 posts

    Since I’m sure it’s not easy to navigate the CP right now with no theme loading, have a look at these configuration variables. If you’ll set those in your config.php, that should allow you to get up to speed. If things still aren’t loading, let me know and we’ll dive in to have a look.

    Thanks!

  • #4 / Oct 11, 2012 2:14pm

    oliverhood

    17 posts

    Kevin, thanks for getting in touch.

    Tried adding those $config variables, no change. Still not loading the CP theme or showing recently uploaded images (seems to be a newer development.)

    The site itself still works correctly though.

  • #5 / Oct 11, 2012 2:18pm

    mark186282

    290 posts

    Does the logged-in admin have a custom control panel theme defined (perhaps one that no longer exists)?

    If you have problems navigating there, you can go directly to this URL (customize it to your site).  Or look in the database (exp_members.cp_theme)

    <a href="http://www.your_domain">http://www.(your_domain</a>).com/(YOUR_SYSTEM_FOLDER)/index.php?S=0&D=cp&C=myaccount&M=cp_theme&id;=(YOUR_MEMBER_ID)

    (this may not be the solution, but it is something to check)

  • #6 / Oct 11, 2012 2:28pm

    oliverhood

    17 posts

    Assuming this is correctly put together:

    http://(MY DOMAIN)/system/index.php?S=0&D=cp&C=myaccount&M=cp_theme&id;=1

    That brings up a “Disallowed Key Character” warning.

    If I look for the “exp_members.cp_theme” it comes up as ‘NULL’.

  • #7 / Oct 11, 2012 2:32pm

    mark186282

    290 posts

    I think the forums added an extra semicolon after the id variable… it should be id=1 in your example

    Regardless, if it’s NULL, then there is not one set… so that’s not the issue.

    ...

    If you look at the source code of your control panel page, and find the css reference, and follow that link:

    1.  is it pointing at your desired theme folder?
    2.  When you go to that file, does it exist as expected?

    should look something like this:

    <link rel="stylesheet" href="/themes/cp_themes/default/css/jquery-ui-1.8.16.custom.css?v=123456" type="text/css" media="screen" />
     <link rel="stylesheet" href="/themes/cp_themes/default/css/global.css?v=123456" type="text/css" media="screen" />
  • #8 / Oct 11, 2012 2:41pm

    oliverhood

    17 posts

    (You were right, it was the extra ; causing the key character thing.)

    1. It is pointing to the right place.
    2. It’s definitely on the server, checked via a browser and FTP.

    EDIT: Did a search for the previous domain in MyPHP Admin, just to see if there was anything left over, not a single instance of it. I have the feeling that the client’s IT dept. screwed something up with pointing the domain at the server, a proper domain transfer will probably be required, fun, fun fun…

  • #9 / Oct 15, 2012 3:52pm

    Kevin Smith

    4784 posts

    Be on the lookout for an email from me, oliverhood. I think we just need to have a first-hand look at this to figure out what’s going on here. Thanks!

  • #10 / Oct 16, 2012 3:29am

    oliverhood

    17 posts

    Thanks, I’ve got the email. However, it looks like ‘the other end’ have fixed it as the theme is functioning correctly now… My suspicions about it being something to do with their IT dept. and the domain were correct perhaps?

  • #11 / Oct 16, 2012 12:27pm

    Kevin Smith

    4784 posts

    Interesting. So everything’s working as expected now?

  • #12 / Oct 17, 2012 5:30am

    oliverhood

    17 posts

    Seems to be, apparently they were trying to use a frameset redirect to get the domain working, I’d switched the domain over using Deeploy Helper and parked it (wrongly assuming they’d do this ‘properly’) so that may have been the initial cause. Didn’t explain the original domain not working either though. Going to try to get them to transfer the domain and do it right (should be fun as it’s a local Gov site… they have ‘rules’.)

  • #13 / Oct 17, 2012 2:34pm

    Kevin Smith

    4784 posts

    Oh boy… yeah, that’s going to introduce lots of weirdness. That’s so odd that they would accomplish it that way. Hmm..

    Keep us posted once you get the domain properly transferred and let me know if you run into any more issues.

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

ExpressionEngine News!

#eecms, #events, #releases