On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




error when replying to post

UserPost

2:06 pm
14 Jul 2008


ferlo

Member

posts 24

1

I replied to a message in the forum and got this error:


Fatal error: Cannot redeclare sf_mail_filter_from() (previously declared in /home/***/public_html/wp-content/plugins/simple-forum/forum/sf-filters.php:18) in /home/***/public_html/wp-content/plugins/simple-forum/sf-filters.php on line 24


what's the problem?

2:12 pm
14 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Are you using another email settings plugin of any sort?

2:18 pm
14 Jul 2008


ferlo

Member

posts 24

3

no, I don't, as far as I know.

wanna see the admin ?

2:34 pm
14 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

Not yet.

Which version of the forum and which version of WordPress are you using there? And did you install correctly into 'plugins/simple-forum/'?

Oh - and I guess I should ask if you are seeing this all the time?

2:54 pm
14 Jul 2008


ferlo

Member

posts 24

5

wp 2.5.1

sf 3.1.3, previoulsy I was running 3.1.2 installed in plugins/simple-forum


5:56 pm
14 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

and…? Every time you make a post?

8:17 am
15 Jul 2008


ferlo

Member

posts 24

7

new and reply.

Fatal error: Cannot redeclare sf_mail_filter_from() (previously declared in /home/ntzdllco/public_html/wp-content/plugins/simple-forum/forum/sf-filters.php:18) in /home/ntzdllco/public_html/wp-content/plugins/simple-forum/sf-filters.php on line 24

for new message

1:38 pm
15 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

8

Apologies for being a little slow to come back but I have been checking.

In my experience - and I have heard this from other plugin authors as well - WP can throw a 'redeclare' error at random. Nobody seems to have ever got to the bottom of it. Assuming that the file sf-filters.php is not duplicated on your server and those functions do not appear twice then there is no real explanation.

I rather suspect that commenting out the action call where this function is defined will just move the error onto a different function ayway. I have both seen and experienced this myself in the past.

The only advice I can offer is to deactivate all other plugins briefly and try posting again. if that works, reactivate plugins one at a time and see what happens.

1:53 pm
15 Jul 2008


ferlo

Member

posts 24

9

no way.

all plugins deactivated and error still in place.

new message post and: Fatal error: Cannot redeclare sf_mail_filter_from() (previously declared in /home/ntzdllco/public_html/wp-content/plugins/simple-forum/forum/sf-filters.php:18) in /home/ntzdllco/public_html/wp-content/plugins/simple-forum/sf-filters.php on line 24

1:59 pm
15 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

10

Well as I said above: “Assuming that the file sf-filters.php is not duplicated on your server”.

Looking closer at the error message you can  now see that it does.

fatal error in:

…plugins/simple-forum/forum/sf-filters.php

previously declared in:

…plugins/simple-forum/sf-filters.php

Two different locations. Looks like you didn't remove the old plugin files as the upgrade notes said you needed to.

2:59 pm
15 Jul 2008


ferlo

Member

posts 24

11

I'm really in trouble.

what about if I remove the whole plugin and re-install from scratch 3.1.3 ?

6:36 pm
15 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

12

Well the only question really is - diid you do that when you installed 3.1.3 as required? if not then I would suggest yes - do it again properly. it probably explains yuour CSS prtoblem too - you were probably editin gthe wrong file as the location has moved.

8:31 am
16 Jul 2008


ferlo

Member

posts 24

13

ok, just let me know if removing all the files in plugin directory, then re-upload will not kill the whole forum database.

9:21 am
16 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

14

No it wont. Follow the instructions in the readme that comes with the plugin zip

9:39 am
16 Jul 2008


ferlo

Member

posts 24

15

removed the whole dir then reinstalled.

everything ok now



Reply to Topic: error when replying to post

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 9 + 7        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

7 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)