Webmail Error alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89.
at /usr/local/cpanel/Cpanel/Form.pm line 89.
Cpanel::Form::parseform() called at cpanel.pl line 882
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/jupiter/index.html") called at cpanel.pl line 326


Template::Exception:
[TYPE]=[plugin]
[INFO]=[Banner: plugin not found]
[TEXT]=[<!DOCTYPE html>

<html lang="en" dir="ltr">
<head>
<!-- Avoid indexing from search engines -->
<meta name="robots" content="noindex, nofollow" />


I had tried running upcp --force and upcp--sync but it does not solve the issue
 

Attachments

Last edited by a moderator:

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Hey hey! Can you let me know what you're doing in the interface that triggers this error?
The client is trying to access the webmail

In jupiter them its only that error

in Paper latern theme it shows that error but webmail page is getting loaded
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Do you see any additional details in the cPanel error log? It says "plugin" so I'm wondering if there is something that is is not compatible with Jupiter on your system.

[2022-12-27 18:23:58 +0000] warn [Internal Warning while parsing ./webmail/paper_lantern/index.html 2779344] alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89.
at /usr/local/cpanel/Cpanel/Form.pm line 89.
Cpanel::Form::parseform() called at cpanel.pl line 882
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/paper_lantern/index.html") called at cpanel.pl line 326






[2022-12-27 18:28:31 +0000] warn [Internal Warning while parsing ./webmail/jupiter/index.html 2790296] alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89.
at /usr/local/cpanel/Cpanel/Form.pm line 89.
Cpanel::Form::parseform() called at cpanel.pl line 882
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/jupiter/index.html") called at cpanel.pl line 326


[2022-12-27 18:28:31 +0000] die [Internal Death while parsing ./webmail/jupiter/index.html 2790296] Template::Exception:
[TYPE]=[plugin]
[INFO]=[Banner: plugin not found]
[TEXT]=[<!DOCTYPE html>


Taken from cpanel error_log file
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Is that account still set to Paper Lantern? Or are there any plugins on that account?
Yes it was set to paper latern, what plugin you are saying ?
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
You'll have to switch the account's theme to Jupiter in order for things to work well.
if i switch the theme to Jupiter then the page is not loading.. you can see the same error for jupiter theme
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
I don't have any special commands in mind on my end. Switching to Jupiter should just work without any errors.

Does this happen on multiple mailboxes or just one account?
It happens for all the accounts, Changing to Jupiter does not fix the issue
 

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
Can you try repairing the mail theme with this command?

Code:
mv -v /usr/local/cpanel/base/webmail/jupiter /root/jupiter_theme_backup
and then perform a "/scripts/upcp --force" to update the server and replace those files?
Page is loading but with warning
 

Attachments

Vs Nu

Well-Known Member
Jul 17, 2015
178
12
68
India
cPanel Access Level
Root Administrator
We really need a ticket at this point - I don't have any other ideas on my end since the previous solution completely rebuilds the webmail files on the server.
Will Sync the following files fix the issue

/usr/local/cpanel/Cpanel/Form.pm
cpanel.pl