Page 1 of 1
contact form plugin error
Posted: Mon Dec 03, 2007 11:52 am
by Dawn
Hi,
I've tried to install the contact form plugin via Spartacus. As always in the last time it didn't work via Spartacus (in the past it worked without any problems). All rights and owners are correct as I know. So I logged into the server via ssh and installed the plugin manualy (as I did it always since Spartacus doesn't work for me). Then I removed it and reinstalled it again (to fire the correct mysql statements). For about 1s there is an error message which doesn't say much:
Fehler:
Code: Select all
serendipity_event_contactformf15a5219e3ad88b6b88c379fbb639587 (serendipity_event_contactformf15a5219e3ad88b6b88c379fbb639587)
Then the configuration dialog show: I entered everything as needed. But then I tried to access the contact form manualy in both ways: Via index.php?serendipity[subpage]=contactform and /blog/pages/contactform.html. I've turned rewriting on so I think the second one would be the correct one. I don't have other static pages on my blog.
Can I provide some logs or settings to help me?
Any help would be nice...
Greets and best regards,
Dawn
Re: contact form plugin error
Posted: Mon Dec 03, 2007 12:27 pm
by garvinhicking
Hi Dawn!
What doesn't work for you in spartacus? Do you have more precise information about that? Which mirror are you using? Did you webserver configuration change, maybe someone installed suhosin or mod_security?
The error message you get comes, when s9y does not find the PHP classfile to include.
How does your serendipity_plugins DB table look like for the contactform plugin entry? And is that plugin completely uploaded to plugins/serendipity_event_contactform?
Regards,
Garvin
Posted: Mon Dec 03, 2007 12:46 pm
by Dawn
Hi Garvin,
Thanks for your fast answer. The settins for Spartacus are still as I described it here:
http://board.s9y.org/viewtopic.php?t=11081. The plugindir is still 777 with the owner www-data:www-data.
As I am the the admin of the server where Serendipity is hosted on, I can you give you detailed feedback about the modules: mod_securty isn't installed but I've got PHP 5.2.4 running which has suhosin included. Is this a problem?
The upload of the plugin was correctly. I've downloaded the module via "wget", unziped it via SSH and set the right owner for it (www-data:www-data).
I took a look at the DB: There is an entry called (I have to say I tried around again and istalled it again):
name:
serendipity_event_contactform:73acf498909c18710f619bdc1af49258
placement: event
sort_order: 25
authorid: 0
path: serendipity_event_contactform:73acf498909c18710f619bdc1af49258
Please let me know if I can provide more infos or access to my blog...
Cheers,
Dawn
Posted: Mon Dec 03, 2007 4:10 pm
by garvinhicking
Hi!
Can you try to use the SF.Net server as the mirror for testing if it works then?
And yes, suhosin can be responsible for the problem. Can you temporarily please disable it?
name:
serendipity_event_contactform:73acf498909c18710f619bdc1af49258
placement: event
sort_order: 25
authorid: 0
path: serendipity_event_contactform:73acf498909c18710f619bdc1af49258
The "path" value should always be set to a path. I wouldn't know how it can happen that it contains the same like your "name".
Please remove that column, then go to your s9y blog, go to configure plugins and add the contactform plugin from there.
Regards,
Garvin
Posted: Mon Dec 03, 2007 6:02 pm
by Dawn
I tried to use the sourceforge.net server, but it doesn't work like netmirror.org
Disabling suhosin is nearly impossible for me because it's not a loaded module but its compiled int directly in php and it's hard enough to get a working version of PHP 5.2.x together with MySQL 5 for debian. I don't have such a version and I think it would be a security risk. I tought suhosin is nearly the standard for every new php version?
I edited the "path"-field manualy and removed the ":73acf498909c18710f619bdc1af49258 "-part. Then it works!

Other plugins doesn't have such values in the path value.
There is another problem with the contact form: I use ReCaptcha for my comments with is more secure than a normal captcha I think. To use it, I had to disable captchas in the Anti-Spam Plugin. Is there a way how I can use the contact form with captcha without enabling it for the coments? The nicest thing would be if it would possible to use ReCaptchas for this form but I think then I have to code a new module....
Greets and thanks,
Dawn
Posted: Mon Dec 03, 2007 6:08 pm
by garvinhicking
Hi!
Dawn wrote:I tried to use the sourceforge.net server, but it doesn't work like netmirror.org

Then it must definitely be because of security implications on your site.
Disabling suhosin is nearly impossible for me because it's not a loaded module but its compiled int directly in php and it's hard enough to get a working version of PHP 5.2.x together with MySQL 5 for debian. I don't have such a version and I think it would be a security risk. I tought suhosin is nearly the standard for every new php version?
No, it isn't. You can also search for the INI values to disable everything suhosin related. It can definitely be the root of your problem for spartacus plugins. I'm about 80% sure of it, actually

The other 20% stem from other connectivity issues that can be caused by certain network connections.
There is another problem with the contact form: I use ReCaptcha for my comments with is more secure than a normal captcha I think. To use it, I had to disable captchas in the Anti-Spam Plugin. Is there a way how I can use the contact form with captcha without enabling it for the coments?
No, there isn't currently.
Regards,
Garvin