Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default FreeOptions causing error

    I have used the FreeOptions for granting free shipping on my site. It was causing bugs, then working for months and now causing bugs again. Although to my knowledge I haven't changed anything. The debug erro I keep getting is the following. Any ideas?

    "PHP Warning: include_once(includes/languages/english/modules/payment/freeoptions.php): failed to open stream: No such file or directory in /hsphere/local/home/CUSTOM/domain.com/includes/classes/payment.php on line 62

    PHP Warning: include_once(): Failed opening 'includes/languages/english/modules/payment/freeoptions.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/CUSTOM/domain.com/includes/classes/payment.php on line 62

    PHP Fatal error: Cannot redeclare class freeoptions in /hsphere/local/home/CUSTOM/domain.com/includes/modules/payment/freeoptions.php on line 242"

  2. #2
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: FreeOptions causing error

    For anyone who cares I fixed this problem by following Ajeh's advice ......again.

    After reading this post: post me this batman

    I looked around and realized I had two version of the FreeOptions file. One in the payments folder and one in the shipping folder. After deleting the incorrect file everything worked.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FreeOptions causing error

    Thanks for posting the update on what the solution was that worked for you ...

    Those auto loading directories do like to do just what you tell them to do ... and auto load anything that they find ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. CSS causing https error
    By thealey in forum General Questions
    Replies: 18
    Last Post: 24 Apr 2010, 12:25 AM
  2. banner problem causing error
    By gabbytwin in forum Basic Configuration
    Replies: 1
    Last Post: 25 Nov 2008, 06:03 AM
  3. Error after modified freeoptions.php
    By kevinc66 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Jun 2007, 05:09 PM
  4. Pay Pal Error!! (CURL is slow, causing error)
    By pettiger15 in forum General Questions
    Replies: 15
    Last Post: 8 May 2007, 04:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg