Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    36

    Exclamation <?cp Email::listpopswithdisk(... DOES NOT WORK since 11.25 STABLE

    I have a reseller WHM account.
    I use to place in cPanel stdmheader.html (branding) this sinple line:

    Code:
    <?cp Email::listpopswithdisk(% % % email,diskused,diskquota) ?>
    to retrieve the mail quota of the currently shown webmail.

    Suddenly, after the cP upgrade to 11.25, this command does not seem to work anymore, nothing is printed in the HTML code of the stdmheader.html page.

    Any help would be really appreciated.
    Happy to work for Poste-Certificate.it

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    It looks like you are missing a comma.

    It should be.

    Code:
    <?cp Email::listpopswithdisk(% % %,email,diskused,diskquota) ?>
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    36

    Default

    No way, it's not that simple!
    It always worked and I did not touch the code.
    This morning, since 11.25 STABLE came on, it's not working anymore, I was wondering if they disabled the function?

    Anyway just to give a try I tried also you suggestion adding a comma, but nothing changed, same issue.

    Any other suggestions?
    Happy to work for Poste-Certificate.it

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    I just tried this in STABLE with success by running:

    Code:
    echo '<?cp Email::listpopswithdisk(% % %,email,diskused,diskquota) ?>' > /usr/local/cpanel/base/frontend/x3/test.html
    Then I went to

    https://MYDOMAIN.COM:2083/frontend/x3/test.html

    in cPanel and I got the email account list.

    At this point I think it would be best to open a support request to we can diagnose why it is failing on your system.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  5. #5
    Member
    Join Date
    Oct 2007
    Posts
    36

    Default

    Thanks you are right in the cP pages it works, for instance in:

    http://mydomain.xxx:2082/frontend/x3/index.html

    I get all the emails displaied listed just under the cPanel header, I get exactly this displaied:

    echo 'mail1@mydomain.xxx 0.99 250mail2@mydomain.xxx 0.99 250 ...'


    But the same your code (since I placed it in the stdmheader.html that is teh same for both pages) prints nothing when getting to here:

    http://mydomain.xxx:2095/webmail/x3/index.html

    Actually it prints out on the screen:

    echo ''

    It used to print the current mail information only of the currently shown email.

    I really don't understand. I'm clueless!
    Last edited by Gino Viroli; 02-20-2010 at 03:01 PM.
    Happy to work for Poste-Certificate.it

Similar Threads & Tags
Similar threads

  1. Email::listpopswithdisk and multiple domains
    By k_shehadeh in forum cPanel Developers
    Replies: 8
    Last Post: 05-05-2009, 12:26 PM
  2. /scripts/updatenow don't work - STABLE is missed?
    By esupport.org.ua in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-13-2005, 11:22 AM
  3. Replies: 8
    Last Post: 10-21-2004, 05:28 PM
  4. Upgrade to Stable, now edit DNS doesn't work
    By drsprite in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-15-2004, 06:52 AM
  5. Email not being delivered after update to 8.4.0 stable
    By DrChaos in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 03-23-2004, 01:08 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube