Support » Plugin: osCommerce » [Plugin: osCommerce] osCommerece Plugin could not be activated because it triggered a fatal error.

  • Using wordpress 3.0.1 and auto installer generated the following error when trying to install osCommerce plugin

    Warning: require_once(/home/xxx/public_html/wordpress/wp-content/plugins/osCommerce/classes/osc_db.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/wordpress/wp-content/plugins/oscommerce/osCommerce.php on line 37
    
    Fatal error: require_once() [function.require]: Failed opening required '/home/xxx/public_html/wordpress/wp-content/plugins/osCommerce/classes/osc_db.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/wordpress/wp-content/plugins/oscommerce/osCommerce.php on line 37
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter llamma123

    (@llamma123)

    To add a little to this first of this plugin is OLD and certainly not designed with 3.x in mind.

    The first stumble I find is that the folder is inaccurately named. Just navigate to the wordpress/wp-content/plugins folder and rename oscommerce to osCommerce. The plugin can now be activated but…

    UH OH now we get the real error. Fatal error: Cannot redeclare is_rtl() (previously declared in /home/xxx/public_html/wordpress/wp-includes/locale.php:347) in /home/xxx/public_html/wordpress/wp-includes/locale.php on line 349
    I did a little research on this and find the same error being generated commonly by events calendar when upgrading to 3.x

    Simply re-naming the osCommerce folder in plugins disables this module and wp is up and running.

    I’m trying to figure out how to patch this to work with 3.0.1, the first bit of a clue to what might be causing the error is in this post
    here
    “The common cause has been the Events Plugin, it includes locale.php way too early, which causes this exact error message”

    So any advice how to go about updating a module? How does one include locale.php later in the code?

    garf90

    (@garf90)

    Saw this post and thought i would throw my hat into the ring so to speak. My team are about a week away from creating the “holy grail” of wordpress ecommerce a fully functional and secure osCommerce plug in for WP.

    Yes it is a monster task, but thankfully i have a genius running the team and we are 80% with no issues to date.

    We are also looking for beta testers..you can sign up at http://www.wponlinestore.com

    Cheers
    Garf

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: osCommerce] osCommerece Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.