Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent Help Needed


Guest

Recommended Posts

Hi, I come there is someout there at this late hour on a holiday that can help me.

 

I was just putting up some sale specials on my front page of my store front and I didn't save a copy and now I get the error- Parse error: parse error, unexpected T_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 24.

 

I have no idea how to fix it, I don't know nothing about php and my webguy won't be reachable until Monday. I need help.

 

Please advise. Thank you.

 

Traci

Link to comment
Share on other sites

Hi, I come there is someout there at this late hour on a holiday that can help me.

 

I was just putting up some sale specials on my front page of my store front and I didn't save a copy and now I get the error- Parse error: parse error, unexpected T_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 24.

 

I have no idea how to fix it, I don't know nothing about php and my webguy won't be reachable until Monday.  I need help.

 

Please advise.  Thank you.

 

Traci

 

 

It means you probably missed a ' somewhere. Go over all the text and make sure they all start and end with a '

 

Start looking at line 24.

 

Amanda.

Treasurer MFC

Link to comment
Share on other sites

It means you probably missed a ' somewhere. Go over all the text and make sure they all start and end with a '

 

Start looking at line 24.

 

Amanda.

 

Thanks for writing back. I am looking, but I am not finding it. I don't know anything about php. If I posted it here or emailed it to you, could you look it over and let me know if you can spot it? I can't tell where line 24 is. Sorry, I am so lost at this.

 

Thanks.

Link to comment
Share on other sites

Thanks for writing back.  I am looking, but I am not finding it.  I don't know anything about php.  If I posted it here or emailed it to you, could you look it over and let me know if you can spot it?  I can't tell where line 24 is.  Sorry, I am so lost at this. 

 

Thanks.

 

 

just post it here, it is only the language file anyway, and I will look at it.

Treasurer MFC

Link to comment
Share on other sites

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN',")' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

<b>Thursday, November 25th </b>35% off items in the store (excluding ScrapRack products).<br>

<b>Friday, November 26th </b>30% off items in the store (excluding ScrapRack products).<br>

<b>Saturday, November 27th </b>25% off items in the store (excluding ScrapRack products).<br>

<b>Sunday, November 28th </b>20% off items in the store (excluding ScrapRack products).<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand. We will do our best to take items that are out of stock and can't be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout. If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box. This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out. We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift. Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

<script type="text/javascript" language="javascript">

var fid=1171;

</script>

 

<a href="http://www.goodcounter.com" target="_blank">

<script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

<noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', '');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

<?php

/*

  $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

define('TEXT_MAIN',")' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p> 

<b>Thursday, November 25th </b>35% off items in the store (excluding ScrapRack products).<br>

<b>Friday, November 26th </b>30% off items in the store (excluding ScrapRack products).<br>

<b>Saturday, November 27th </b>25% off items in the store (excluding ScrapRack products).<br>

<b>Sunday, November 28th </b>20% off items in the store (excluding ScrapRack products).<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand.  We will do our best to take items that are out of stock and can't be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout.  If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box.  This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out.  We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift.  Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code  DO NOT REMOVE OR ALTER -->

  <script type="text/javascript" language="javascript">

  var fid=1171;

  </script>

 

  <a href="http://www.goodcounter.com" target="_blank">

  <script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

  <noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code  DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

  define('HEADING_TITLE', '');

  define('TABLE_HEADING_IMAGE', '');

  define('TABLE_HEADING_MODEL', 'Model');

  define('TABLE_HEADING_PRODUCTS', 'Product Name');

  define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

  define('TABLE_HEADING_QUANTITY', 'Quantity');

  define('TABLE_HEADING_PRICE', 'Price');

  define('TABLE_HEADING_WEIGHT', 'Weight');

  define('TABLE_HEADING_BUY_NOW', 'Buy Now');

  define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

  define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

  define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

  define('TEXT_SHOW', '<b>Show:</b>');

  define('TEXT_BUY', 'Buy 1 '');

  define('TEXT_NOW', '' now');

  define('TEXT_ALL_CATEGORIES', 'All Categories');

  define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

  define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

  define('HEADING_TITLE', 'Categories');

}

?>

 

 

 

on the first line :

 

define('TEXT_MAIN',")' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy

 

change that to :

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy

 

so remove the ")

 

try that and see if it works.

Treasurer MFC

Link to comment
Share on other sites

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

 

 

This is what it says now and it still isn't working. The part you had me take out I think I put that in there after it messed up, trying to fix it. Not sure. It all looks like a foreign language to me.

Link to comment
Share on other sites

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3> <h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

This is what it says now and it still isn't working.  The part you had me take out I think I put that in there after it messed up, trying to fix it.  Not sure.  It all looks like a foreign language to me.

 

 

Not to worry,

 

in your text there is the word can't

 

replace that with can\'t

so put a \ infront of the '

 

otherwise the program thinks that the sentence ends there.

 

try it please.

 

amanda

Treasurer MFC

Link to comment
Share on other sites

Now I get this:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 62

 

I hope I didn't make it worse by trying to fix it. I was trying a bunch of things. I did change that thing you said about can't. I think that was on the site before I messed up though.

 

I think we are getting closer. :)

Link to comment
Share on other sites

Now I get this:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 62

 

I hope I didn't make it worse by trying to fix it.  I was trying a bunch of things.  I did change that thing you said about can't.  I think that was on the site before I messed up though.

 

I think we are getting closer.  :)

 

 

another problem:

 

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

 

replace this with :

 

define('TEXT_BUY', 'Buy 1 ');

define('TEXT_NOW', ' now');

 

so remove one of the ' in both lines

 

and

 

define('HEADING_TITLE', 'What's New Here?');

 

replace this with :

 

define('HEADING_TITLE', 'What\'s New Here?');

 

 

always make sure that a string begins and ends with a ' and that there are no other ' in the string. if there is, you need to put a \ infront of it so it is not seen as the beginning or the end of a string but part of it.

 

try it. if we still have problems, post the file again.

 

amanda.

Treasurer MFC

Link to comment
Share on other sites

Ok, I will go ahead and try those things. I am posting below the parts that I did change from the time that it was working to the time it didn't work. From what I thought, I only edited actual text where I had text previously.

 

PS Some of it I have changed since the first file, little text things, like making something bold, etc.

 

<center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Link to comment
Share on other sites

Getting this now again:

Parse error: parse error, unexpected T_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 23

 

File again:

 

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand. We will do our best to take items that are out of stock and can't be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout. If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box. This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out. We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift. Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

<script type="text/javascript" language="javascript">

var fid=1171;

</script>

 

<a href="http://www.goodcounter.com" target="_blank">

<script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

<noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', '');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 ');

define('TEXT_NOW', '' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

Ok, I will go ahead and try those things.  I am posting below the parts that I did change from the time that it was working to the time it didn't work.  From what I thought, I only edited actual text where I had text previously. 

 

PS Some of it I have changed since the first file, little text things, like making something bold, etc.

 

<center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p> 

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

 

 

this text looks perfect. you can just define it by:

 

DEFINE ('WHATEVER', ' your text here');

 

but if this text is the only thing you changed, the problem existed before you changed it because the other definitions are wrong.

 

amanda.

Treasurer MFC

Link to comment
Share on other sites

The only thing I can think of is that I messed up something in this area:

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online

 

This is the first time I have opened the file in about a month and it was working earlier tonight. I am so mad at myself for not backing it up.

Link to comment
Share on other sites

Getting this now again:

Parse error: parse error, unexpected T_STRING in /home/traci/public_html/store/includes/languages/english/index.php on line 23

 

File again:

<?php

/*

  $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p> 

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand.  We will do our best to take items that are out of stock and can't be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout.  If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box.  This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out.  We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift.  Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code  DO NOT REMOVE OR ALTER -->

  <script type="text/javascript" language="javascript">

  var fid=1171;

  </script>

 

  <a href="http://www.goodcounter.com" target="_blank">

  <script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

  <noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code  DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

  define('HEADING_TITLE', '');

  define('TABLE_HEADING_IMAGE', '');

  define('TABLE_HEADING_MODEL', 'Model');

  define('TABLE_HEADING_PRODUCTS', 'Product Name');

  define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

  define('TABLE_HEADING_QUANTITY', 'Quantity');

  define('TABLE_HEADING_PRICE', 'Price');

  define('TABLE_HEADING_WEIGHT', 'Weight');

  define('TABLE_HEADING_BUY_NOW', 'Buy Now');

  define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

  define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

  define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

  define('TEXT_SHOW', '<b>Show:</b>');

  define('TEXT_BUY', 'Buy 1 ');

  define('TEXT_NOW', '' now');

  define('TEXT_ALL_CATEGORIES', 'All Categories');

  define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

  define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

  define('HEADING_TITLE', 'Categories');

}

?>

 

 

Traci,

 

you forgot :

 

to change can't into can\'t

 

to change

 

define('TEXT_NOW', '' now');

 

into

 

define('TEXT_NOW', ' now');

 

to change

 

define('HEADING_TITLE', 'What's New Here?');

 

into

 

define('HEADING_TITLE', 'What\'s New Here?');

 

I indicated them below in red.

 

amanda.

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand. We will do our best to take items that are out of stock and can't be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout. If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box. This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out. We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift. Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

<script type="text/javascript" language="javascript">

var fid=1171;

</script>

 

<a href="http://www.goodcounter.com" target="_blank">

<script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

<noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', '');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 ');

define('TEXT_NOW', '' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Treasurer MFC

Link to comment
Share on other sites

AMANDA,

 

YOU ARE AWESOME. AWESOME. AWESOME.

 

Thank you so much. You don't know how awesome you are.

 

I did change the things you told me too, but I think with changing and pasting when I made a mistake, I had undid them.

 

Do you scrapbook??? I want to send you something.

 

Traci

www.heartfullofmemories.com

Link to comment
Share on other sites

AMANDA,

 

YOU ARE AWESOME.  AWESOME.  AWESOME.

 

Thank you so much.  You don't know how awesome you are.

 

I did change the things you told me too, but I think with changing and pasting when I made a mistake, I had undid them.

 

Do you scrapbook???  I want to send you something.

 

Traci

www.heartfullofmemories.com

 

I don't know what scrapbook means.

but its ok, this define stuff is always a pain and I have to do it with chinese characters which makes it even more difficult.

amanda

Treasurer MFC

Link to comment
Share on other sites

Ok, I don't get this. It worked. I backed up the file. I changed some text again, only in the text area, it did it again. So I pasted over it with the saved file and it is still doing it. Does that make sense??

Link to comment
Share on other sites

Ok, I don't get this.  It worked.  I backed up the file.  I changed some text again, only in the text area, it did it again.  So I pasted over it with the saved file and it is still doing it.  Does that make sense??

 

just post it and we'll check

Treasurer MFC

Link to comment
Share on other sites

Ok, I think I found the problem.

 

It is with the can't. I change it to can\'t. Then I save it, reload the page, the page don't work, I go back to edit and the \ isn't there anymore.

Link to comment
Share on other sites

Ok, I think I found the problem.

 

It is with the can't.  I change it to can\'t.  Then I save it, reload the page, the page don't work, I go back to edit and the \ isn't there anymore.

 

that would be a mistery to me, that should not happen with any editor.

Try changing it to cannot and see if that goes.

 

amanda.

 

www.crystallight.com.tw

Treasurer MFC

Link to comment
Share on other sites

I changed the can't to can not, but now I am getting the error in 66. I know we are really close- again. LOL. Here it is again.

 

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand. We will do our best to take items that are out of stock and can not be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout. If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box. This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out. We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift. Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

<script type="text/javascript" language="javascript">

var fid=1171;

</script>

 

<a href="http://www.goodcounter.com" target="_blank">

<script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

<noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', '');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 ');

define('TEXT_NOW', ' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

I changed the can't to can not, but now I am getting the error in 66.  I know we are really close- again.  LOL.  Here it is again.

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN',' <center><h3>Welcome to Heart Full of Memories Online Store!</h3><p><h2>Happy Thanksgiving!</h2></center><p>Please be patient with us as we do some finishing touches on our new store. We still have some inventory to add and kinks to work out. If you find have any problems, questions, or concerns, please drop us an email and let us know. <p>

<center><h4>Purple Days Sale</h4></center>

We are running a great sale from Thursday, November 25th- Sunday, November 28th . <p>

Thursday, November 25th </b>35% off items in the store.<br>

Friday, November 26th </b>30% off items in the store.<br>

Saturday, November 27th </b>25% off items in the store.<br>

Sunday, November 28th </b>20% off items in the store.<br>

<p>

Not so fine print<br>

Some items in current inventory might actually be out of stock when we process your order, if that is the case, we will email you to see if you want the item when we get it back in stock. We will ship out the items that we have in stock and then ship out the items that are backordered, with <b>no</b> additional shipping charges.<br>

Some items are limited to stock on hand. We will do our best to take items that are out of stock and can not be reordered off the site as soon as they sell out.<p>

Discounts will be applied after checkout. If you want to pay with paypal, check out as if you were going to send a check and where it says "Add Comments About Your Order" put "Paypal" in the box. This way you can get the discount since we have to manually adjust your total after checkout. <p>

Free shipping on all orders over $50 (excluding ScrapRack products).<p>

<center><h4>To Create An Account or Not?</h4></center>

You have the option to create an account when you check out or to just check out. We suggest you create an account for added bonuses, such as you will be able to shop faster, have a permanent cart (even if you sign off and come back one month later), have an address book (and send gifts from it), be up to date on an orders status, and keep track of the orders you have previously made.

<p>

<center><h4>Contests</h4></center><p>

Until the end of the year, every 10th order will receive a free gift. Check out our contest page for our monthly contest with no purchase necessary.

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

<script type="text/javascript" language="javascript">

var fid=1171;

</script>

 

<a href="http://www.goodcounter.com" target="_blank">

<script type="text/javascript" language="javascript" src="http://goodcounter.com/counter.js"></script></a>

<noscript><a href="http://www.goodcounter.com" target="_blank"><img src="http://goodcounter.com/counter.php?i=1171&jj=no" alt="goodcounter statistics" border="0"></a></noscript>

<a href="http://www.openbluhost.com" target="_blank"><img src="http://www.goodcounter.com/images/op.gif" alt="$2.95 a month web hosting" width="5" height="5" hspace="0" vspace="0" border="0"></a>

<!-- GoodCounter.com tracking code DO NOT REMOVE OR ALTER -->

 

');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', '');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 ');

define('TEXT_NOW', ' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

 

it is the What's new here? line

 

change to What\'s new here

or What is new here? if that does not save right as well.

 

amanda.

 

www.crystallight.com.tw

Treasurer MFC

Link to comment
Share on other sites

Ok, this is weird, and it must be the editor, but I am editing it right from Os Main Controls.

 

You were right, I did what you said about What's New. Saved it, reloaded website, IT WORKED, checked file and it was gone again, but site still works.

 

Does that stump you?

Link to comment
Share on other sites

Ok, this is weird, and it must be the editor, but I am editing it right from Os Main Controls.

 

You were right, I did what you said about What's New.  Saved it, reloaded website, IT WORKED, checked file and it was gone again, but site still works.

 

Does that stump you?

 

I think you may be using an editor that has problems displaying the \' combination.

I always use simpel wordpad.

 

amanda

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...