osCommerece Plugin could not be activated because it triggered a fatal error. (3 posts)

  1. llamma123
    Posted 5 years ago #

    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
  2. llamma123
    Posted 5 years ago #

    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
    "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?

  3. garf90
    Posted 4 years ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • osCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic