Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Cpanel::API::Styles in cPanel v110



Threaded Mode | Print  

 Cpanel::API::Styles in cPanel v110, cPanel removed paper_lantern's legacy code in version 110 which includes Cpanel::API::Styles. This leads to a perl error in the log. (1 Replies, Read 7660 times)
cPJasonB
Group: Member
Post Group: Newbie
Posts: 2
Status:
cPanel removed paper_lantern's legacy code in version 110 which includes Cpanel::API::Styles. This leads to a perl error in the /usr/local/cpanel/logs/error_log log every page load in :2083

Code
[2022-12-15 14:02:08 +0000] warn [cpanel] Failed to load module “Styles”: Cpanel::Exception::ModuleLoadError/(XID kv9gb7) The system failed to load the module “Cpanel::API::Styles” because of an error: Can't locate Cpanel/API/Styles.pm in @INC (you may need to install the Cpanel::API::Styles module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/lib /opt/cpanel/perl5/536/site_lib/x86_64-linux /opt/cpanel/perl5/536/site_lib) at (eval 11) line 1, <$inputfd> line 6.
BEGIN failed--compilation aborted at (eval 11) line 1, <$inputfd> line 6.

at /usr/local/cpanel/Cpanel/LoadModule.pm line 77, <$inputfd> line 6.
    Cpanel::LoadModule::load_perl_module("Cpanel::API::Styles") called at /usr/local/cpanel/Cpanel/API.pm line 327
    eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 327
    Cpanel::API::_init_execute("Styles", "list") called at /usr/local/cpanel/Cpanel/API.pm line 170
    Cpanel::API::execute("Styles", "list", undef) called at cpanel.pl line 1341
    cpanel::cpanel::docpanelaction("<cpanelaction>\x{a}{\"module\":\"Styles\",\"reqtype\":\"exec\",\"func\":\"li"...) called at /usr/local/cpanel/Cpanel/Parser/Legacy.pm line 240
    Cpanel::Parser::Legacy::_dotag_finished_headers(0) called at /usr/local/cpanel/Cpanel/Parser/Legacy.pm line 79
    Cpanel::Parser::Legacy::cpanel_parseblock("<cpanelaction>\x{a}{\"module\":\"Styles\",\"reqtype\":\"exec\",\"func\":\"li"...) called at /usr/local/cpanel/Cpanel/Parser/Legacy.pm line 368
    Cpanel::Parser::Legacy::parse(GLOB(0x3c49980), 1) called at cpanel.pl line 4634
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 928
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/jupiter/softaculous/index.live.php") called at cpanel.pl line 324

Testing can be done via a next.cpanel.net build.
IP: --   

Cpanel::API::Styles in cPanel v110
softacmani
Group: Member
Post Group: Newbie
Posts: 9
Status:
Hi,
Apologies for the delay in response.
Thank you for informing us about the bug.
We've fixed the issue on our end and can provide you with the patch file.

Also, can you please let me know if you're from Cpanel Team.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 4:06 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.095