Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    help question GV email redeem link to blank page

    Hi guys,

    I hope someone can help me with the following problem:

    When someone registers, I sent them a Gift Certificate as welcoming present. All seems to work well, that is a link is sent by email and the GV value is added to the persons account (if he was already logged in). Unfortunately, the link directs the customer to a blank page (or blank page after logging in, if the customer wasn't logged in already): index.php?main_page=gv_redeem&gv_no=xxxxxxxxx = blank page

    I've noticed someone else had the same problem. The solution related to the definition files. Unfortunately, that solution didn't work for me:
    https://www.zen-cart.com/showthread....-to-blank-page

    Suggestions would be much appreciated!

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

    Default Re: GV email redeem link to blank page

    What debug logs are in your /logs directory?

    Sounds like you might have something such as blank space/line either before the opening php tag <?php or after the closing php tag ?> at the end of a file ...

    Posting the contents of your most recent debug log file(s) can help to identify the issue ... such as bad defines, blank lines/spaces ... etc.
    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
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    Default Re: GV email redeem link to blank page

    Thanks for the reply!

    This is the error (as shown in the latest error log):

    Code:
    [27-Oct-2014 15:36:47 UTC] PHP Parse error:  syntax error, unexpected T_STRING in /customers/9/5/6/bonesfashion.nl/httpd.www/includes/languages/dutch/gv_redeem.php on line 14
    This is the gv_redeem.php file:

    Code:
    <?php
    /**
     * @package languageDefines Dutch
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright Nederlandse teksten 2007 zenned.nl
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @licentie in het Nederlands http://users.skynet.be/xterm/gpld.txt GNU Algemene Publieke Licentie V2.0
     * @version $Id: gv_redeem.php 4155 2006-08-16 17:14:52Z bjarnetenharkel $
     * @laatste versie kijk op: zen-cart.nl
     * @gesponsorde vertaling door: SIDER | automatisering, http://sider.nl
     */
    
    define('NAVBAR_TITLE', TEXT_GV_NAME . ' inwisselen '); 
    define('HEADING_TITLE', TEXT_GV_NAME . ' inwisselen');  
    define('TEXT_INFORMATION', 'Meer informatie over de ' . TEXT_GV_NAME . ' kun u vinden op <a href="' . zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL').'">' . GV_FAQ . '.</a>');
    define('TEXT_INVALID_GV', 'De ' . TEXT_GV_NAME . ' inwisselcode %s lijkt geen geldige code, is niet langer geldig of is reeds ingewisseld. Bij vragen kunt u contact opnemen de <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">klantenservice</a>.');
    define('TEXT_VALID_GV', 'Gefeliciteerd, u heeft een ' . TEXT_GV_NAME . ' ingewisseld ter waarde van %s.');
    ?>
    Is it possible that I might have to clear the browser cache and restart the browser?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: GV email redeem link to blank page

    What's the value in /includes/languages/dutch.php for the TEXT_GV_NAME definition?

  5. #5
    Join Date
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    Default Re: GV email redeem link to blank page

    Quote Originally Posted by lat9 View Post
    What's the value in /includes/languages/dutch.php for the TEXT_GV_NAME definition?
    I don't think I have a separate value for TEXT_GV_NAME in the dutch.php file. These are all the definitions that contain TEXT_GV_NAME (in dutch.php):

    Code:
      define('BOX_INFORMATION_DISCOUNT_COUPONS', 'Kortingsbonnen');
      define('BOX_INFORMATION_GV', TEXT_GV_NAME . ' FAQ');
      define('VOUCHER_BALANCE', TEXT_GV_NAME . ' Tegoed ');
      define('BOX_HEADING_GIFT_VOUCHER', TEXT_GV_NAME . ' Gebruikersnaam');
      define('GV_FAQ', TEXT_GV_NAME . ' FAQ');
      define('ERROR_REDEEMED_AMOUNT', 'Uw betaling is toegevoegd: ');
      define('ERROR_NO_REDEEM_CODE', 'Geen ' . TEXT_GV_REDEEM . ' ingevuld.');
      define('ERROR_NO_INVALID_REDEEM_GV', 'Ongeldige ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM);
      define('TABLE_HEADING_CREDIT', 'Beschikbaar tegoed');
      define('GV_HAS_VOUCHERA', 'U heeft een tegoed op uw ' . TEXT_GV_NAME . ' account. U kunt dit <br />
                               tegoed versturen per <a class="pageResults" href="');
    
      define('GV_HAS_VOUCHERB', '"><strong>e-mail</strong></a> naar iemand anders');
      define('ENTRY_AMOUNT_CHECK_ERROR', 'Uw tegoed is niet toereikend om dit bedrag te versturen.');
      define('BOX_SEND_TO_FRIEND', 'Verstuur ' . TEXT_GV_NAME . ' ');
    
      define('VOUCHER_REDEEMED',  TEXT_GV_NAME . ' Verzilverd');
      define('CART_COUPON', 'Waardebon:');
      define('CART_COUPON_INFO', 'meer info');
      define('TEXT_SEND_OR_SPEND','U heeft een tegoed beschikbaar in uw ' . TEXT_GV_NAME . ' account. U kunt het uitgeven of het aan iemand toesturen. Om te verzenden kunt u op de knop hieronder klikken.');
      define('TEXT_BALANCE_IS', 'Your ' . TEXT_GV_NAME . ' tegoed is: ');
      define('TEXT_AVAILABLE_BALANCE', 'Uw ' . TEXT_GV_NAME . ' account');

  6. #6
    Join Date
    Feb 2014
    Location
    The Netherlands
    Posts
    58
    Plugin Contributions
    0

    Default Re: GV email redeem link to blank page

    Solved it! I think...

    For some reason, it doesn't read the override (custom) language file in ../languages/dutch/custom_template/gv_redeem.php. So I had to change the the previously mentioned definitions in the 'original' language file ../languages/dutch/gv_redeem.php.

    At any rate, should someone encounter the same problem, check the original language file as well!

 

 

Similar Threads

  1. v138a Remove Redeem Link in GV Emails
    By independenteasel in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 24 Jul 2012, 08:44 PM
  2. GV email redeem link to blank page
    By doggyjumper in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 18 Sep 2011, 01:22 PM
  3. Link in email gift voucher takes me to a blank page
    By fonzie in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Aug 2010, 09:21 AM
  4. Replies: 2
    Last Post: 21 Feb 2010, 04:33 AM
  5. Blank page on page when want to send email
    By bxdavi2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 22 Apr 2008, 10:02 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