Results 1 to 1 of 1

[BugFix]Change Currenices From product_info.php failing

This is a discussion on [BugFix]Change Currenices From product_info.php failing within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi, A small code bug has been located in the catalog/includes/boxes/tell_a_friend.php file. This problem causes the product_info.php page to incorrectly ...

      
  1. #1
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default [BugFix]Change Currenices From product_info.php failing

    Hi,

    A small code bug has been located in the catalog/includes/boxes/tell_a_friend.php file. This problem causes the product_info.php page to incorrectly redirect to the login page when a customer changes currencies.

    The problem is simple, a closing form tag is missing from the box. You can either manually add the following code change, or simply download the attached file and replace catalog/includes/boxes/tell_a_friend.php.

    Find this code:
    Code:
      $boxContent .= tep_draw_input_field('to_email_address', '', 'size="10"') . ' ' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']) . tep_hide_session_id() . '<br>' . BOX_TELL_A_FRIEND_TEXT;
    And add this line after it:
    Code:
    $boxContent .= '</form>';
    Or, just download the attached zip and use the replace the tell_a_friend.php file with the file in the zip.
    Attached Files Attached Files
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Bugfix 85-checkout_shipping_address checkout_payment_address
    By kenlyle in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 01-05-2006, 08:56 AM
  2. Categories.php bugfix for larger stores
    By gamefreak7 in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-05-2005, 10:32 PM
  3. locall install on windows/apache - Failing at step 1!
    By GwilliamP in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 07-08-2005, 05:05 AM
  4. product_info.php
    By Migraine in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 04-20-2005, 08:18 AM
  5. [BugFix] v1.5 Category Descriptions Bug
    By michael_s in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-25-2003, 11:50 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
  •