Parallels Forums
> Plesk Products Discussion > Parallels Plesk Panel for Windows > Plesk 8.2 for Windows > Plesk 8.2 for Windows Troubleshooting Issues  
Spam Filtering tab error  
  

Spam Filtering tab error

Nov 7, 2007, 03:41 AM
#1  

albertq
Junior Member


Join: Oct 2007
Posts: 1
Spam Filtering tab error
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.p hp(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\spamassassi n.php:17


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


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

Please help how to fix it.
Nov 7, 2007, 10:07 PM
#2  
sergius's Avatar

sergius
Parallels Team


Join: Nov 2005
Posts: 1,821
Please try to download module class.SpamAssassin.php and copy to %plesk_dir%\admin\plib.
Please backup old module before copying.

However it will be better to install update 8.2.0.1.
Nov 10, 2007, 05:29 AM
#3  

budwaiser
Senior Member


Join: Mar 2005
Posts: 143
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\spamassassi n.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
Nov 10, 2007, 07:17 AM
#4  
sergius's Avatar

sergius
Parallels Team


Join: Nov 2005
Posts: 1,821
Seems there are problems with Perl. Please contact SWsoft support.
Dec 18, 2007, 06:35 AM
#5  

diegonoe06
Junior Member


Join: Nov 2007
Posts: 16
Quote:
Originally Posted by sergius View Post
Seems there are problems with Perl. Please contact SWsoft support.
I have the same problem. Any solution? Please, help.
Dec 18, 2007, 06:36 AM
#6  

diegonoe06
Junior Member


Join: Nov 2007
Posts: 16
Quote:
Originally Posted by albertq View Post
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.p hp(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\spamassassi n.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.
Dec 18, 2007, 06:41 AM
#7  

diegonoe06
Junior Member


Join: Nov 2007
Posts: 16
Quote:
Originally Posted by sergius View Post
Please try to download module class.SpamAssassin.php and copy to %plesk_dir%\admin\plib.
Please backup old module before copying.

However it will be better to install update 8.2.0.1.
Thanks Sergius !, I fixed it downloading the file that you linked.
Dec 19, 2007, 08:55 AM
#8  

anome
Junior Member


Join: Dec 2007
Posts: 4
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\spamassassi n.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\spamassassi n.php on line 14
Jan 1, 2008, 12:51 PM
#9  
sergius's Avatar

sergius
Parallels Team


Join: Nov 2005
Posts: 1,821
Quote:
Originally Posted by anome View Post
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\spamassassi n.php on line 14
Please try to clean folder %plesk_dir%PrivateTemp
Jan 11, 2008, 09:27 AM
#10  

anome
Junior Member


Join: Dec 2007
Posts: 4
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.p hp(42) : eval()'d code on line 1

But it does not influence anything. SpamAssassin is working fine.
Jan 20, 2008, 01:03 AM
#11  

JackL
Parallels Team


Join: Nov 2005
Posts: 438
Please try to reinstall Perl and SA, note that you need to rename SA and Perl folder after unistall

John S.G.
Jan 25, 2008, 04:27 AM
#12  
sergius's Avatar

sergius
Parallels Team


Join: Nov 2005
Posts: 1,821
Quote:
Originally Posted by JackL View Post
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.
Apr 2, 2008, 04:55 AM
#13  

easys
Junior Member


Join: Apr 2008
Posts: 3
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\spamassassi n.php:17

Any solutions?


Thread tools Display modes
Linear Mode