WordPress.org

Forums

Donately Donation Form
[resolved] Fatal Error (3 posts)

  1. BShurilla09
    Member
    Posted 2 years ago #

    Can't activate the plugin... here is the error..

    Warning: require_once(__DIR__/lib/posttypes.php) [function.require-once]: failed to open stream: No such file or directory in /home1/blahblah/public_html/wp-content/plugins/donately-donation-form/dntly.php on line 29
    
    Fatal error: require_once() [function.require]: Failed opening required '__DIR__/lib/posttypes.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/blahblah/public_html/wp-content/plugins/donately-donation-form/dntly.php on line 29

    http://wordpress.org/extend/plugins/donately-donation-form/

  2. BShurilla09
    Member
    Posted 2 years ago #

    I was able to fix it, on line 26 of the dntly.php copy and paste this code in
    define( 'DNTLY_PLUGIN_PATH', plugin_dir_path(__FILE__) );

  3. shanaver
    Member
    Plugin Author

    Posted 2 years ago #

    thanks for posting the fix for this - that error happens if you're using anything before PHP 5.3 (i.e. pre June 2009)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Donately Donation Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.