Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    5
    cPanel/Enkompass Access Level

    Root Administrator

    Default Need to force mail/pops_noscript.html

    Can anybody please tell if(and how) I am able to force cPanel to use pops_noscript.html instead of pops.html?

    Why? I have a customized cPanel theme (note this ... customized, not just branded) and I have come across an unresolvable javascript conflict that is prevent the pops.html script from generating the slide down list of email accounts. My resolution (for the time being) is that a user clicks the 'use less javascript' link to bring up pops_noscript.html. So what I would to be able to do is sap those 2 pages over so that pops_noscript.html comes up by default.

    Thanks in advance.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Quote Originally Posted by NZGuru View Post
    Can anybody please tell if(and how) I am able to force cPanel to use pops_noscript.html instead of pops.html?

    Why? I have a customized cPanel theme (note this ... customized, not just branded) and I have come across an unresolvable javascript conflict that is prevent the pops.html script from generating the slide down list of email accounts. My resolution (for the time being) is that a user clicks the 'use less javascript' link to bring up pops_noscript.html. So what I would to be able to do is sap those 2 pages over so that pops_noscript.html comes up by default.

    Thanks in advance.
    Since you're doing a custom theme (which inherently breaks things anyway), why not just rename pops_noscript.html to pops.html?

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    5
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Don't laugh, but the simple reason is I can't find it

    Would you have access to that file as a reseller?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Quote Originally Posted by NZGuru View Post
    Don't laugh, but the simple reason is I can't find it

    Would you have access to that file as a reseller?
    Resellers only have access to branding, not the ability to do custom themes. Custom theming can only be done via SSH by someone with root-level access at the command line.

  5. #5
    Registered User
    Join Date
    Dec 2011
    Posts
    5
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    That's what I thought. Thanks.

    So I go back to my original question ... how can I force cpanel to show pops_noscript.html

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Quote Originally Posted by NZGuru View Post
    That's what I thought. Thanks.

    So I go back to my original question ... how can I force cpanel to show pops_noscript.html
    Well considering that all you can do is branding (which does include doing custom javascript etc. if you want), how about we get to the core of the issue - what's causing the Javascript to fail? Given you're not doing a custom theme but are instead doing branding by virtue of insufficient access to do a custom theme, this should be something that can be fixed.

  7. #7
    Registered User
    Join Date
    Dec 2011
    Posts
    5
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Here is the FireBug console error message I get when going to the email accounts page
    Code:
    uncaught exception: [Exception... "Security error"  code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"  location: "http://cpanel.********.com/cPanel_magic_revision_1309940073/cjt/cpanel-all-min.js Line: 17"]
    http://cpanel.********.com/cPanel_magic_revision_1306916064/editarea/edit_area/edit_area_full.js
    Line 12
    Note that this is after I have disabled some of the custom js I had added which does some Cufon stuff and I can do without. I figured if we can get the cpanel pages working again first, then I look again at making everything look pretty

    Further, I still get the same error if I disable all additional javascript leaving only the original x3 javascript originally in the template.

    FYI ... I created our branding simply by taking a copy of x3 and adding additional HTML into the headers/footer to provide our header/sidebar/footer and left all 'cpanel content' areas intact. I removed no cpanel code from the templates. (or at least I believe I didn't)
    Last edited by NZGuru; 12-24-2011 at 11:18 PM.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    This is what the NS_ERROR_DOM_SECURITY_ERR lookup on google returns for Firefox:

    Case of the NS_ERROR_DOM_SECURITY_ERR | mrclay.org

    What is the url you are using when accessing the page versus the url being used when logging into cPanel itself?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Registered User
    Join Date
    Dec 2011
    Posts
    5
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Need to force mail/pops_noscript.html

    Quote Originally Posted by cPanelTristan View Post
    What is the url you are using when accessing the page versus the url being used when logging into cPanel itself?
    I access via cpanel.*******.com which is how the url stays while navigating within cpanel.

    I will investigate the css and move all styling declarations into the cpanel css.html files to see if this resolves the issue. Thanks.

    On a side note (and I know this is not a cpanel issue, just venting a little), so how stupid is this error? If I understand it correctly, you can call a css file from another domain just so long as that css doesn't call any images??? And then why should that throw a javascript error which in turn stops the remaining javascript from working????

Similar Threads & Tags
Similar threads

  1. Force Default Mail Address for all accounts?
    By Arun in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-16-2010, 08:42 AM
  2. Exim Mail Queue - Force Delivery
    By picoleto in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-08-2007, 02:32 AM
  3. Reseller: Force Feeding dofullbackup.html
    By mykroft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-09-2004, 09:34 AM
  4. HTML mail client problem
    By iampedro in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-12-2004, 12:56 AM
  5. Force a header to appear on every htm, html, and php file on
    By fog in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-13-2002, 11:03 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube