osCmax v2.5 User Manual
Results 1 to 2 of 2

Any Help Would Be Great

This is a discussion on Any Help Would Be Great within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; When ever a customer tries to change the ship to addreass when checking out or going to add new shipping ...

      
  1. #1
    Active Member
    Join Date
    Apr 2007
    Posts
    207
    Rep Power
    6


    Default Any Help Would Be Great

    When ever a customer tries to change the ship to addreass when checking out or going to add new shipping addreass recvie the following message:

    Warning: Cannot modify header information - headers already sent by (output started at /home/motorspo/public_html/catalog/includes/languages/english/checkout_shipping_address.php:63) in /home/motorspo/public_html/catalog/includes/functions/general.php on line 34

    Can Someone tell me what needs to be done to get his fixed here is the general/php file up to line 34

    <?php
    /*
    $Id: general.php 14 2006-07-28 17:42:07Z user $
    osCMax Power E-Commerce
    http://oscdox.com
    Copyright 2006 osCMax
    Released under the GNU General Public License
    */
    ////
    // Stop from parsing any further PHP code
    function tep_exit() {
    tep_session_close();
    exit();
    }
    ////
    // Redirect to another page or site
    function tep_redirect($url) {
    // BOF: MS2 update 501112 - Added
    if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) {
    tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false));
    }
    // EOF: MS2 update 501112 - Added
    if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
    if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
    $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL
    }
    }
    header('Location: ' . $url);
    Last edited by cujo; 04-30-2010 at 11:19 AM.

  2. #2
    osCMax Developer

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


    Default Re: Any Help Would Be Great

    you are looking at the wrong file. The error message states where the problem is:

    /home/motorspo/public_html/catalog/includes/languages/english/checkout_shipping_address.php:63

    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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. Any help would be great
    By cujo in forum osCommerce 2.2 Discussion
    Replies: 3
    Last Post: 09-26-2009, 01:00 PM
  2. Any help whould be great
    By cujo in forum osCmax v2 Customization/Mods
    Replies: 9
    Last Post: 04-27-2009, 11:50 PM
  3. CMS are great!
    By flipjarg in forum Introduce yourself!
    Replies: 0
    Last Post: 10-09-2007, 10:34 AM
  4. Great Ms2-max
    By flypie in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-15-2003, 09:54 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
  •