Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shipping.php edited, now have a parse error


Guest

Recommended Posts

Posted

My Index page

 

Ok, I installed and edited the Conditions_Privacy contribution and it works great. While I was in the english directory I thought that it would be a good time to edit the Shipping.php file. When I uploaded the edited file I got a variation of the below parse error on a different line. Tried editing some of my tags, that didn't fix it so I uploaded the original un-edited file to call it a night and work on it later. I still get the below error, but I don't even have that many lines in the original file :blink:

 

Parse error: parse error, unexpected T_STRING in /homepages/27/d148297153/htdocs/catalog/shipping.php on line 23

 

Here is the code, from the original install.

 

<?php

/*

$Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Shipping & Returns');

define('HEADING_TITLE', 'Shipping & Returns');

 

define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');

?>

 

Anyone have any ideas to help?

Thanks!

Jason

Posted

You probably didn't upload the original file to the correct place (directory). That would be why you're still seeing an error about a line which does not exist in the file you're looking at.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...