• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Spam Filtering tab error

A

albertq

Guest
After logged in to the Admin Control Panel,
Click on 'Server' on the left.
Then 'Mail' under services.
Then click on 'Spam Filtering' tab and received the following error:

------------------
Parse error: parse error, unexpected '=' in C:\Program Files\SWsoft\Plesk\admin\plib\class.SpamAssassin.php(42) : eval()'d code on line 1

Operation failed Up LevelUp Level


The operation you were performing failed. You can retry the operation with or without changing its parameters. You may also want to report this problem to our support so that we could help you as soon as possible.

---
Then click on 'Show Details' and got the following error message

SpamAssassin() constructor failed: eval() failed: Empty error message from utility.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:151
psaerror(string 'SpamAssassin() constructor failed: eval() failed: Empty error message from utility.')
1: C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php:17


---------------------------------------


I've tried ALL the KB from SWSOFT without any success.

Please help how to fix it.
 
The upgrade doesn't fix the issue.

I have the same problem but a different error:

SpamAssassin() constructor failed: Action features failed: Empty error message from utility.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:151
psaerror(string 'SpamAssassin() constructor failed: Action features failed: Empty error message from utility.')
1: C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php:17

I have upgraded to 8.2.0.1 but i still see 8.2.0 and i don't know why.

Please help
 
After logged in to the Admin Control Panel,
Click on 'Server' on the left.
Then 'Mail' under services.
Then click on 'Spam Filtering' tab and received the following error:

------------------
Parse error: parse error, unexpected '=' in C:\Program Files\SWsoft\Plesk\admin\plib\class.SpamAssassin.php(42) : eval()'d code on line 1

Operation failed Up LevelUp Level


The operation you were performing failed. You can retry the operation with or without changing its parameters. You may also want to report this problem to our support so that we could help you as soon as possible.

---
Then click on 'Show Details' and got the following error message

SpamAssassin() constructor failed: eval() failed: Empty error message from utility.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:151
psaerror(string 'SpamAssassin() constructor failed: eval() failed: Empty error message from utility.')
1: C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php:17


---------------------------------------


I've tried ALL the KB from SWSOFT without any success.

Please help how to fix it.


I have the same problem. Any solution? Please, help.
 
I had the same message error as above.

Since I have replace the "class.SpamAssassin.php" file, I have now a new message error :

Warning: main(class.SpamAssassin.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php on line 14

Fatal error: main() [function.require]: Failed opening required 'class.SpamAssassin.php' (include_path='C:\Program Files\SWsoft\Plesk\admin\plib;C:\Program Files\SWsoft\Plesk\admin\plib\api-rpc;C:\Program Files\SWsoft\Plesk\admin\javascripts;C:\Program Files\SWsoft\Plesk\admin\plib\locale;C:\Program Files\SWsoft\Plesk\admin\auto_prepend;C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\databases\phpMyAdmin;C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\databases\phpPgAdmin') in C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php on line 14
 
I had the same message error as above.

Since I have replace the "class.SpamAssassin.php" file, I have now a new message error :

Warning: main(class.SpamAssassin.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php on line 14

Please try to clean folder %plesk_dir%PrivateTemp
 
Everything seems to work fin now !

I have just one little detail. There is a text line which appears at the top of the page :

Parse error: parse error, unexpected '=' in C:\Program Files\SWsoft\Plesk\admin\plib\class.SpamAssassin.php(42) : eval()'d code on line 1

But it does not influence anything. SpamAssassin is working fine.
 
Please try to reinstall Perl and SA, note that you need to rename SA and Perl folder after unistall

John S.G.
 
Please try to reinstall Perl and SA, note that you need to rename SA and Perl folder after unistall

John S.G.

I'm unsure it is necessary to reinstall Perl and SpamAssassin to fix issue like parse error, unexpected '=' in ....
It is better to extract single file class.SpamAssassin.php from distributive Plesk package and rewrite it.
 
spammassassin error

We've got the following error:

SpamAssassin() constructor failed: Action features failed: Empty error message from utility.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:151
psaerror(string 'SpamAssassin() constructor failed: Action features failed: Empty error message from utility.')
1: C:\Program Files\SWsoft\Plesk\admin\htdocs\server\spamassassin.php:17

Any solutions?
 
Back
Top