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.

Addon Manager broken again

Discussion in 'cPanel Developers' started by Lyttek, Jun 13, 2007.

  1. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Code:
    [a fatal error or timeout occurred while processing this directive]
    
    Moderation detected but unreadable, Aborting. Contact your server admin!

    Code:
    Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 40.
    	YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 55
    	eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 37
    	Cpanel::DataStore::fetch_ref('/var/cpanel/cpaddons_moderated.yaml', 'HASH(0x9474af8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 3302
    	Cpanel::cPAddons::_read_cache('/var/cpanel/cpaddons_moderated', 'HASH(0x9474af8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 551
    	Cpanel::cPAddons::_handlemod(1, 'cPanel::CMS::PostNuke', '8aac0bea705397390c062a008377b76d', 'HASH(0x8ead4b8)') called at /usr/local/cpanel/Cpanel/cPAddons.pm line 333
    	Cpanel::cPAddons::cPAddons_mainpg('HASH(0x8ead4b8)') called at (eval 66) line 1
    	eval 'Cpanel::cPAddons::cPAddons_mainpg(@RARGS);' called at cpanel.pl line 1299
    	main::exectag('<cpanel cPAddons="mainpg(%FORM)">') called at cpanel.pl line 4313
    	main::dotag(undef) called at cpanel.pl line 4202
    	main::cpanel_parseblock('SCALAR(0x8eb3b54)') called at cpanel.pl line 4156
    	main::cpanel_parse('GLOB(0x90b71d4)') called at cpanel.pl line 973
     
  2. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    ls -l /var/cpanel/cpaddons_moderated.yaml
    cat /var/cpanel/cpaddons_moderated.yaml

    ?
     
  3. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Not sure about that reply...

    If you're asking if it exists: yes, with root:root , 644
     
  4. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    I take it no one else is seeing this error? A similar issue some time back was fixed by a permissions issue, so I'm wondering if that could be the case here...
     
  5. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    What does these two commands output as root:

    ls -l /var/cpanel/cpaddons_moderated.yaml
    cat /var/cpanel/cpaddons_moderated.yaml
     
  6. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Renamed cpaddons_moderated.yaml to cpaddons_moderated.yaml.original and now it works.

    The .yaml file existed (as mentioned) but was zero-length. There was no output from the second command.

    So, for the moment all's well. :)
     
  7. edybv

    edybv Member

    Joined:
    Dec 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    Work`s for me :

    Code:
    "Renamed cpaddons_moderated.yaml to cpaddons_moderated.yaml.original and now it works."
    
    Thanks
     
Loading...

Share This Page