Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    102
    Plugin Contributions
    0

    Default Fatal error: while setting up gift cert.

    I was having a bit of a problem sorting out gift cert so i thought i would replace a file with a day or two old file i backed up, the file was the: ot_gv.php in the order total module and then the module disappeared and this appeared:

    Fatal error: Cannot redeclare class ot_gv in /home/sites/edenspirit.co.uk/public_html/includes/modules/order_total/ot_gv.php on line 10


    I was following what someone else had said about setting the gift cert then going to admin and configure the module. It didnt work for me first off and didnt look right so i thought i have a back up that isnt that old it should be alright to stick it in and start again, or something like that. Wish i never touched it now.

    also when i was setting it up it said not to put a price in, can i do it so that the user enters the amount they want to spend on the gift?

    Cheers

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

    Default Re: Fatal error: while setting up gift cert.

    Make sure that the /includes/modules/order_totals has the ot_gv.php with the code in it ...

    Make sure that the /includes/english/modules/order_totals has the ot_gv.php with the define statements in it ...

    Make sure that you did not accidentally copy the ot_gv.php into either the:
    /includes/modules/payments
    /includes/languages/english/modules/payments

    or into the /includes/modules/shipping
    /includes/languages/english/modules/shipping
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Aug 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Fatal error: while setting up gift cert.

    Hi Linda

    I have had a look and there is a ot_gv.php file in the folders:

    /includes/modules/order_totals
    /includes/english/modules/order_totals

    but not sure what i am looking for and what do you mean by 'the code' and 'the define statements '. I am no programmer but i compared the two from the folders and they look the same to me, not sure if they are meant to.

    Thanks for your help linda, i am a zen virgin but think it is great and the support is excellent and hope to use it a lot more in the future.

    paul

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal error: while setting up gift cert.

    Paul, the ot_gv file in each of those folders are NOT supposed to be identical.

    Perhaps you can re-upload them from the original Zen Cart zip...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Fatal error: while setting up gift cert.

    Thanks doc

    Finally got aroud to putting originals back in and they appeared again. so back to what i was originally doing how do i set up the gift vouchers to work tidy, not quite sure, thats what got me into this mess in the first place.

    Thnks
    paul

 

 

Similar Threads

  1. v154 Errors with Paypal Express Checkout (60)SSL Cert Problem/(77) error setting cert
    By jrobletto in forum PayPal Express Checkout support
    Replies: 19
    Last Post: 8 Jan 2016, 09:26 AM
  2. send gift cert error after uninstalling newsletter-subscribe addon
    By ian healy in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 26 Jan 2010, 06:58 PM
  3. Gift Cert. Module displays on payment page for non Gift Cert. Holders
    By swamyg1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 4 May 2009, 12:35 AM
  4. Gift Cert redemption error
    By csbeltram in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 21 Dec 2006, 11:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR