Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Troubles w/ UPS XML Tracking Contributions


Guest

Recommended Posts

I finally got everything installed, if it's correct I dont know. The problem is that when I actually perform a real tracking of an UPS shipment, the pop-up window appears but with no data, its just all white! The source code for the pop-up window reads as an incomplete HTML document. It seems that when the pop-up is requested, the data is not returned from tracking.php, the file that actually writes how the page is to be displayed.

 

I really need some help here if anybody is familiar with this Contribution.

 

Below is the source code of popup_tracker.php.

 

<?php
/*
 $Id: popup_tracker.php,v 1.0 200/05/18 12:18:40 $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<title>UPS Tracking</title>
<base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
var i=0;
function resize() {
 if (navigator.appName == 'Netscape') i=40;
}
//--></script>
</head>
<body>
<center>
<table border="0" width="625" cellpadding="3" cellspacing="0">
<tr>
 <td align="left" width="100%" class="main">
<?php require(DIR_WS_CLASSES . 'tracking.php'); ?>
 </td>
</tr>
</table>
</center>
</body>
</html>

The source code below is what is seen, public side, of the UPS Tracking pop-up window.

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="LTR" lang="en">
<head>
<title>UPS Tracking</title>
<base href="https://snt-systems.infinology.com/catalog/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
var i=0;
function resize() {
 if (navigator.appName == 'Netscape') i=40;
}
//--></script>
</head>
<body>
<center>
<table border="0" width="625" cellpadding="3" cellspacing="0">
<tr>
 <td align="left" width="100%" class="main">

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...