| User | Post |
|
2:06 pm 14 Jul 2008
| ferlo
Member
| | | |
|
| posts 24 |
|
|
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?
|
|
|
|
|
Are you using another email settings plugin of any sort?
|
|
|
2:18 pm 14 Jul 2008
| ferlo
Member
| | | |
|
| posts 24 |
|
|
no, I don't, as far as I know.
wanna see the admin ?
|
|
|
|
|
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 |
|
|
wp 2.5.1
sf 3.1.3, previoulsy I was running 3.1.2 installed in plugins/simple-forum
|
|
|
|
|
and…? Every time you make a post?
|
|
|
8:17 am 15 Jul 2008
| ferlo
Member
| | | |
|
| posts 24 |
|
|
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
|
|
|
|
|
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 |
|
|
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
|
|
|
|
|
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 |
|
|
I'm really in trouble.
what about if I remove the whole plugin and re-install from scratch 3.1.3 ?
|
|
|
|
|
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 |
|
|
ok, just let me know if removing all the files in plugin directory, then re-upload will not kill the whole forum database.
|
|
|
|
|
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 |
|
|
removed the whole dir then reinstalled.
everything ok now
|
|