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

Posts: 3
Joined: Feb 2010
Reputation: 0
Post: #1
fatal error when activating the plugin
I have the exact problem, it was working perfectly well for several months until now Huh
05-02-2010 09:34 PM
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
I have moved your thread from kenem's thread as it is easier to deal with each person's issue if they are in separate threads.

Can you please tell me what version of WordPress you are using, as well as details of other plugins and your version of PHP?
06-02-2010 10:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Kaija Offline
Junior Member
**

Posts: 3
Joined: Feb 2010
Reputation: 0
Post: #3
RE: fatal error when activating the plugin
(06-02-2010 10:52 AM)Sam Wrote:  I have moved your thread from kenem's thread as it is easier to deal with each person's issue if they are in separate threads.

Can you please tell me what version of WordPress you are using, as well as details of other plugins and your version of PHP?

Hi thanks Sam,

kaijaweb.com/phpinfo.php - version 4.3.9

Currently running the latest wp version 2.9.1

Plugins running

AddToAny: Share/Bookmark/Email Button
AdSense Manager
All in One SEO Pack
cforms
Core Control
Google Analytics for WordPress
Google XML Sitemaps
NextGEN Gallery

Error message when recaptcha form is activated

Fatal error: Undefined class name 'self' in /var/www/vhosts/kaijaweb.com/httpdocs/wp-content/plugins/recaptcha-form/gd-recaptcha.php on line 852

line 852: return self::start_me_up();

Folder permissions are set to 775

Thanks again
(This post was last modified: 07-02-2010 03:39 PM by Kaija.)
07-02-2010 03:32 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #4
RE: fatal error when activating the plugin
OK the problem seems to be down to how certain PHP functionality works before version 5.3 of PHP.

I'll need to investigate this further and if needed release an update to fix this. In the meantime the only way around this is to upgrade to PHP 5.3 or later on your server.
07-02-2010 04:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kaija Offline
Junior Member
**

Posts: 3
Joined: Feb 2010
Reputation: 0
Post: #5
RE: fatal error when activating the plugin
I would if I knew how to, I spoke to a technician on Godaddy, they recommended not upgrading as I have limited knowledge and the upgrade may cause some side effects.
07-02-2010 11:29 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #6
RE: fatal error when activating the plugin
On line 852 of the gd-recaptcha.php file, try replacing this line:

Code:
            return self::start_me_up();

with this:

Code:
            return $this->start_me_up();

Does it work now?
08-02-2010 11:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tacitdynamite Offline
Junior Member
**

Posts: 2
Joined: Feb 2010
Reputation: 0
Post: #7
RE: fatal error when activating the plugin
This is what I changed in gd-recaptcha.php to make it activate -

Code:
843             // append short code functionality
844 //          self::create_shortcode();
845             $this->create_shortcode();
846            
847             // load plugin
848 //          self::sidebar_menu_item();
849             $this->sidebar_menu_item();
850         }
851        
852         // plugin class constructor
853         function GD_reCAPTCHA() {
854 //          return self::start_me_up();
855             return $this->start_me_up();
856         }
857    
858     }

hope this helps somebody!


(08-02-2010 11:15 PM)Sam Wrote:  On line 852 of the gd-recaptcha.php file, try replacing this line:

Code:
            return self::start_me_up();

with this:

Code:
            return $this->start_me_up();

Does it work now?


Attached File(s) Thumbnail(s)
   
21-02-2010 08:41 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #8
RE: fatal error when activating the plugin
Yes unfortunately this is due to the fact that the version of PHP on the server is less than 5.0.

Thanks for the post though tacitdynamite!
21-02-2010 09:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tacitdynamite Offline
Junior Member
**

Posts: 2
Joined: Feb 2010
Reputation: 0
Post: #9
RE: fatal error when activating the plugin
I have version 1.11 working just fine on the same server that I'm trying to get 1.12 working on. Is there a way I can get a copy of version 1.11? I don't really need the W3C XHTML standards compliancy, option to change recipient email address, or form field input retention.

(21-02-2010 09:15 PM)Sam Wrote:  Yes unfortunately this is due to the fact that the version of PHP on the server is less than 5.0.

Thanks for the post though tacitdynamite!
21-02-2010 09:28 PM
Find all posts by this user Quote this message in a reply
Sam Offline
Administrator
*******

Posts: 60
Joined: Oct 2009
Reputation: 0
Post: #10
RE: fatal error when activating the plugin
22-02-2010 12:14 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 205 19-07-2010 03:35 PM
Last Post: Sam
  fatal error when activating the plugin kenem 8 2,004 03-02-2010 10:51 AM
Last Post: Sam
  Configure SMTP Plugin possibly rewriting sender email muhuk 2 1,306 24-11-2009 08:58 AM
Last Post: muhuk

Forum Jump: