Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Parse error in index.php


Guest

Recommended Posts

Help! I'm new to osCommerse and I'm trying to update my catalog page. I changed the index file and now have this message:

 

Parse error: syntax error, unexpected '>' in /var/www/html/oscommerce/includes/languages/english/index.php on line 13

 

I can't find the problem anywhere. Can someone help me?

 

Here is the offending line of my index.php file:

 

define('TEXT_MAIN', 'Welcome to Grandmothers House Quilting Service catalog. Here you will find original patterns, quilt kits and hand quilting frames.' <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Quilt Frames</b><br><br>GHQ hand quilting frames are hand made for quality and years of service. They are fully adjustable to provide you with comfort and ease of use while working on any project.<br><br></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Quilt Patterns</b><br><br>GHQ Quilt patterns are original designs created by myself for quilters everywhere. Each pattern includes instructions, templates and material requirements. Full support is also offered for any questions you may have after purchase.<br><br></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Quilting Kits</b><br><br>Looking for a complete quilting kit? GHQ offers a kit for any pattern we sell. It includes all matterial, notions and backing to create one quilt. You supply the batting and time to make a beautiful and unique quilt.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td><td class="main" valign="top"><b>Block of the Month</b><br><br>Coming soon! Subscribe to the Block of the Month Club. Each month, receive a pattern for a quilt block in an original GHQ quilt. At the end of 12 months, you will have all the blocks and instructions to assemble your quilt.<br><br></td></tr></table><br><b>' PROJECT_VERSION . '</b></font>.');

 

Thanks for any help you can give me. :'(

Link to comment
Share on other sites

Try removing the apostrophe after

 

and hand quilting frames.'

 

That now gave me:

 

Parse error: syntax error, unexpected T_STRING in /var/www/html/oscommerce/includes/languages/english/index.php on line 13

:'(

Link to comment
Share on other sites

That now gave me:

 

Parse error: syntax error, unexpected T_STRING in /var/www/html/oscommerce/includes/languages/english/index.php on line 13

:'(

 

Thank You! It worked like a dream. I really appreciate your help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...