Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

UPS Module fatal error


Recommended Posts

I am using the UPS XML Rates v1.01 for osCommerce 2.2 MS1


Copyright ? 2003 Torin Walker, [email protected].


I am getting a fatal error message I have yet to see in anything I have installed as of late. This is the third installation of this module on different servers and this is the first time I have seen this. Can someone help me out with this one.






Here is the error


Fatal error: Cannot redeclare class xmldocument in /home/surfcamp/public_html/shop/admin/includes/classes/xmldocument.php on line 18


I have included line 1 through line 30 of my page from includes/classes/xmldocumnet.php and have bolded and underlined line 18




  $Id: xmldocument.php,v 1.5 2003/06/27 01:03:03 torinwalker Exp $


  Written by Torin Walker

  [email protected]


  Generic XML Document support for when there is none.


  Copyright© 2003 by Torin Walker, All rights reserved.


  Released under the GNU General Public License



define("ELEMENT", 0);

define("TEXTELEMENT", 1);


class XMLDocument {  var $root;

  var $chilren;


  function XMLDocument() {



  function createElement($name) {

    $node = new Node();



    return $node;


Edited by Paycheck

Always remember, we need patience, guidance and most of all understanding.


My Contributions

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...