• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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