The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[case 104909] WHM 11.44.0 upgrade produces a blank page after cPanel login.

Discussion in 'General Discussion' started by jols, Jun 18, 2014.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Just after the 11.44 upgrade on two servers we are now getting nothing but a blank page upon cPanel login. This is consistent across two servers, directly after the update.

    Anyone else getting this? Any advice? Thanks.
     
  2. David July

    David July Member

    Joined:
    Jun 13, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am also experiencing this problem. Accounts set to my custom x3 theme return an empty, twenty byte page upon successful login.

    As a workaround, I used the "Modify/Upgrade Multiple Accounts" panel in WHM to apply the paper_lantern theme to all accounts.

    The following basic troubleshooting steps were ineffective at fixing the problem.

    • using the "Modify/Upgrade Multiple Accounts" WHM panel to set the x3 theme to all accounts
    • using the "Branding" WHM panel live editor to reapply my theme to x3 and derivatives
    • using the "Change Theme" option in Paper Lantern to switch back to x3
    • gracefully rebooting the server

    I would appreciate any additional suggestions. Thank you!
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Hi David, thanks for this, makes sense.

    Do you suppose this could be avoided by NOT selecting to have the paper_lantern theme activated, after the cPanel/WHM upgrade?

    - - - Updated - - -

    Just curious, did you by any chance have an entry in /etc/cpanelsync.exclude the way we did?

    e.g. the "/usr/local/cpanel/base/frontend/x3/branding/index.html" path and file?

    I did this to prevent one line of customization that was perpetually being overwritten everything there was a cPanel update, and I think this is probably what came back to bite me. Not sure however, still testing.
     
  4. David July

    David July Member

    Joined:
    Jun 13, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It is certainly possible but I do not know. No, I do not have a cpanelsync.exclude entry in place.
     
  5. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    David, inspect the cPanel error log here: /usr/local/cpanel/logs/

    With the help of a cPanel tech, I found that for some reason the most recent update removed a file that caused cPanel to error/crash upon access. The file I had to replace manually (in /usr/local/cpanel/base/frontend/x3/branding ) in our case was:

    try_x4_banner.tmpl
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    X4 is no more, which would explain why that file was removed during the update. Right now I can only speculate that excluding cx3/branding/index.html from being updated, coupled with the removal of try_x4_banner.tmpl is what lead to the non-functioning x3.

    I'm curious, what customizations are you making to x3/branding/index.html that you'd like preserved?
     
  7. David July

    David July Member

    Joined:
    Jun 13, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I reviewed my error log and discovered the same entries mentioned by jols.

    Code:
    die [Internal Death while parsing /var/cpanel/userhomes/cpanel/cpanelbranding/x3/blue_lagoon/index.html 1094] Template::Exception:
    [TYPE]=[file]
    [INFO]=[branding/try_x4_banner.tmpl: not found]
    [TEXT]=[]
    Although I had customized the Blue Lagoon theme's CSS, I did so using the WHM "Branding" panel live editor. I am not using cpanelsync.exclude and confirmed this file is empty. The theme modifications have been in place for about one year and survived all system updates until now.

    If the try_x4_banner.tmpl file was depreciated and thus deleted, I rather not restore it to the server. Since I am not excluding cPanel updates like jols, are there any other suggestions? Thanks!
     
  8. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
  9. David July

    David July Member

    Joined:
    Jun 13, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Great, thank you for the update.
     
  10. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    [case 104909] Re: WHM 11.44.0 upgrade produces a blank page after cPanel login.

    In the mean time, you can work around this problem by doing the following in a root shell:

    Code:
    touch /usr/local/cpanel/base/frontend/x3/branding/try_x4_banner.tmpl
    touch /usr/local/cpanel/base/frontend/paper_lantern/branding/try_x4_banner.tmpl
    
     
  11. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    11.44.0.16 was published tonight to correct this problem.
     
  12. David July

    David July Member

    Joined:
    Jun 13, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    My apologies for the late reply, but I wanted to confirm that the update resolved my problem as well as thank you for for the quick resolution.
     
Loading...

Share This Page