Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fatal error when activating the plugin
Author Message
kenem Offline
Junior Member
**

Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #1
fatal error when activating the plugin
Hello,

I just uploaded the plugin and when I activated it I get a fatal errro message. Here is what I'm getting:

Quote:Fatal error: Undefined class name 'self' in /home/kenem/public_html/wp_fr/wp-content/plugins/recaptcha-form/gd-recaptcha.php on line 852

Any help of what the problem would be? Thanks!

kenem
28-01-2010 01:47 AM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #2
RE: fatal error when activating the plugin
Can you tell me what version of the plugin you are trying to install, and what version of WordPress you are using?

Also, what other plugins are installed also?

Did you install the plugin using the Plugin Browser in WordPress or did you download it from wordpress.org and upload it manually?

Thanks.
29-01-2010 10:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kenem Offline
Junior Member
**

Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #3
RE: fatal error when activating the plugin
(29-01-2010 10:27 AM)Sam Wrote:  Can you tell me what version of the plugin you are trying to install, and what version of WordPress you are using?

Also, what other plugins are installed also?

Did you install the plugin using the Plugin Browser in WordPress or did you download it from wordpress.org and upload it manually?

Thanks.

Hello,

I'm using WP 2.9.1 and version 1.2 of reCAPTCHA. I downloaded the plugin from WP and uploaded it manually.

As for plugins, I'm using many. Suffusion theme (latest version), Contact Form 7 (which uses Really Simple CAPTCHA 1.1), Video Widget 1.2.3, TweetMeme Retweet Button 1.7.5, Snap Shots™ Plugin 1.3, WP-Cumulus 1.23, Lightbox 2 2.8.2, My Category Order 2.8.7, My Link Order 2.9.1, PollDaddy Polls 1.7.9, Post Notification 1.2.39, Simple Tagging 1.7

Hope that helps. Thanks Sam

kenem
29-01-2010 06:04 PM
Find all posts by this user Quote this message in a reply
kenem Offline
Junior Member
**

Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #4
RE: fatal error when activating the plugin
Any ideas Sam? By the way, I did install the plugin from the plugin browser in WP. Thanks

Kenem




(29-01-2010 06:04 PM)kenem Wrote:  
(29-01-2010 10:27 AM)Sam Wrote:  Can you tell me what version of the plugin you are trying to install, and what version of WordPress you are using?

Also, what other plugins are installed also?

Did you install the plugin using the Plugin Browser in WordPress or did you download it from wordpress.org and upload it manually?

Thanks.

Hello,

I'm using WP 2.9.1 and version 1.2 of reCAPTCHA. I downloaded the plugin from WP and uploaded it manually.

As for plugins, I'm using many. Suffusion theme (latest version), Contact Form 7 (which uses Really Simple CAPTCHA 1.1), Video Widget 1.2.3, TweetMeme Retweet Button 1.7.5, Snap Shots™ Plugin 1.3, WP-Cumulus 1.23, Lightbox 2 2.8.2, My Category Order 2.8.7, My Link Order 2.9.1, PollDaddy Polls 1.7.9, Post Notification 1.2.39, Simple Tagging 1.7

Hope that helps. Thanks Sam

kenem

Hello Sam,

This is the error I'm getting now when I try to activate the plugin in the extension page:

Fatal error: Undefined class name 'self' in /home/kenem/public_html/PATE-ARGENT.COM/wp-content/plugins/recaptcha-form/gd-recaptcha.php on line 852


I'm still using the latest WP version and Theme my login and Suffusion theme. All the other plugins gave been deactivated. Any idea what this error message is? Thanks Sam. Sorry to keep bugging you...

kenem
(This post was last modified: 02-02-2010 01:42 AM by kenem.)
02-02-2010 01:13 AM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #5
RE: fatal error when activating the plugin
I've not had a chance to look into this as yet, but will do very soon!
02-02-2010 10:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kenem Offline
Junior Member
**

Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #6
RE: fatal error when activating the plugin
Hello again,

I fiwed the problem by updating from php4 to php5 on my server. So, I was able to activate the plugin but, now everytime I try to send a test message, with my reCaptcha keys updated in the program, all I can get is a
Quote:Votre message n'a pas pu être envoyé en ce moment.
Quote:Your message couldn't be sent at this time

I have the form setup on three blogs and all three give me the same message. Any idea why? Do I need to be changing something in the scrpit? Thanks.

kenem
02-02-2010 07:42 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #7
RE: fatal error when activating the plugin
That message means that the WordPress mail function failed to send the message. You could try going into the code for gd-recaptcha.php and changing the code to use the standard PHP mail() function - on line 774 you should have this:

Code:
if(wp_mail($short_code_form_email_receiver, 'New Message From ' . get_option('blogname'), $short_code_form_email_body, $short_code_form_email_sender)) {

change it to:

Code:
if(mail($short_code_form_email_receiver, 'New Message From ' . get_option('blogname'), $short_code_form_email_body, $short_code_form_email_sender)) {

Does it work now?
(This post was last modified: 03-02-2010 12:06 AM by Sam.)
03-02-2010 12:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kenem Offline
Junior Member
**

Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #8
RE: fatal error when activating the plugin
(03-02-2010 12:05 AM)Sam Wrote:  That message means that the WordPress mail function failed to send the message. You could try going into the code for gd-recaptcha.php and changing the code to use the standard PHP mail() function - on line 774 you should have this:

Code:
if(wp_mail($short_code_form_email_receiver, 'New Message From ' . get_option('blogname'), $short_code_form_email_body, $short_code_form_email_sender)) {

change it to:

Code:
if(mail($short_code_form_email_receiver, 'New Message From ' . get_option('blogname'), $short_code_form_email_body, $short_code_form_email_sender)) {

Does it work now?



No, still getting the same message. Not sure what it is...
03-02-2010 12:39 AM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #9
RE: fatal error when activating the plugin
Is your server set up for PHP mail capabilities? You can check this in the php.ini file.
03-02-2010 10:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  HTTPS secure error srmora 1 220 19-07-2010 03:35 PM
Last Post: Sam
  fatal error when activating the plugin Kaija 9 1,806 22-02-2010 12:14 AM
Last Post: Sam
  Configure SMTP Plugin possibly rewriting sender email muhuk 2 1,311 24-11-2009 08:58 AM
Last Post: muhuk

Forum Jump: