Member
Member
cbxwebde   2008-03-07, 21:46
#1

Hi,

I was under the "Comment Configuration" tab and instead of askimet I selected spamassassin and got this error:

Fatal error: Call to undefined function: () in /home/kiazen/public_html/boudyphotos/zenphoto/zp-core/plugins/spamfilters/spamassassin.php on line 88

The spamassassin.php file is in the correct place. But now when I go to select any of the other spam filter methods I do not get the "save button" as the bottom. It's like I'm stuck on spamassassin because of the error. I can also not get on my theme options either.

Administrator
Administrator
acrylian   2008-03-07, 22:07
#2

Try the nightly build, that error should be fixed there.

Member
Member
cbxwebde   2008-03-07, 23:11
#3

Hi acrylian,

I've not familiar with this. What happens at the nightly build? Do they upload a newer version of ZP that will fix any errors. Also once I get this built what should I do with it.

Member
Member
sbillard   2008-03-07, 23:19
#4

Every night there is a new build of zenphoto made with the days patches. These builds generally are stable, but they have not had the extensive testing that happens before a release. So, you use one at your discression. If you choose to do so, download it from http://www.zenphoto.org/files/nightly/ and install it just as you did the released version.

If you wish to try spamassassin, give the nightly a try. The worst is that you revert to what you were running previously. Let us know how it goes, specially your use of spamassassin. From the nature of the bug that was fixed, I am pretty sure no one is using it in this release!

Member
Member
macalter   2008-03-08, 23:00
#5

Where do you find the spanassisn.php file and where does it get placed? I wanted to set this pref but didn't realize a file was required (got error message).

Member
Member
sbillard   2008-03-09, 04:03
#6

The file comes with the zenphoto install. So if you do not have it, something has gone wrong witht he files you uploaded. It would normally be in the zp-core/plugins/spamfilters folder.

Member
Member
Mnemonic   2008-03-09, 22:25
#7

Unfortunately I selected the spamassassin option and now it is displaying Fatal error: Function name must be a string in /home/xxxx/xxxxx/xxxx.com/zp-core/plugins/spamfilters/spamassassin.php on line 88

The button to save is no longer available so when I select another option such as "none" I can't save the selection.

How do I revert back?

Thanks

Member
Member
sbillard   2008-03-10, 04:33
#8

Did you notice the front part of this thread? The recommendation was to install the nightly build where the fix to this problem has been made.

Member
Member
cbxwebde   2008-03-10, 15:25
#9

Thank you,

I downloaded the nightly build and re-uploaded the spamassiassin.php file. Logged back into to my admin panel and was able to make changes.

Member
Member
Mnemonic   2008-03-10, 23:20
#10

Yes I noticed, Thank you.

However I don't wish to use the nightly build NOR spamassiassin. I simply want to deselect the spamassiassin and go back to what I had.

How do I do this? Surely there must be a way without having to completely install it again?

Member
Member
sbillard   2008-03-10, 23:21
#11

Delete the spamassassin.php file in the spamfilters folder.

Member
Member
Mnemonic   2008-03-10, 23:35
#12

Thank you

Junior Member
Junior Member
mpoplaw   2008-03-13, 18:32
#13

There is a misplaced '$' in the code at line 88 in the spamassassin.php file released with zenphoto 1.1.5. You can edit it and refresh also. Remove the '$' before the word 'count' on line 88. Below is a fixed version of line88.

line88: if (count($admin_emails) > 0) {

Member
Member
sbillard   2008-03-13, 18:45
#14

This has already been fixed in the nightly builds [1242]

Member
Member
TheBLIONCorp   2008-03-16, 02:11
#15

Damn... I looked for spamassassin in the bug tracker and didn't find there already was a bug for that.

Everything is OK now And I see I'm not the only one to use my plugin

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.