Loaded Commerce Community

Banner


Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: T_LNumber Error in contact_us.php
PostPosted: Tue Jan 31, 2012 10:00 am 
Offline
CRE Newbie
User avatar

Joined: Tue Jun 16, 2009 7:20 am
Posts: 17
Hello:

I've been working on editing the contact_us page. However, I keep getting this error:
Parse error: syntax error, unexpected T_LNUMBER in /home/content/s/m/e/smellgoods7/html/catalog/includes/languages/english/contact_us.php on line 37

Now when I delete 37, the error goes to 36; if I remove lines 27-37, the error is on 29. See what I'm saying?

I did Live Support, but this is a problem that I could not get resolve. Hoping someone here can be of assistance.

This is the entire code:


<?php
/*
$Id: contact_us.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $

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

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');
//define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');
define('ENTRY_ENQUIRY', 'Inquiry:');

// Contact US Email Subject : DMG
define('TEXT_EMAIL_SUBJECTS', '* select a subject *');
define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME. ': ');
define('ENTRY_SUBJECT','Subject:');

// CRE Contact Us Enhancements
// VJ
define('ENTRY_URGENT', 'Urgent:');
define('ENTRY_SELF', 'Send myself a copy:');
define('TEXT_SUBJECT_URGENT', 'Urgent');
define('ENTRY_TOPIC','Email Topic:');
define('ENTRY_TOPIC_1', 'Sales');
define('ENTRY_TOPIC_2', 'Tracking');
define('ENTRY_TOPIC_3', 'Technical');
define('ENTRY_TOPIC_4', 'Sponsorship');
define('ENTRY_TOPIC_5', 'Wholesale'); (this is line 37)

define('TEXT_SUBJECT_PREFIX', 'Contact from ' . STORE_NAME . ': ');
define('TEXT_BODY', '<div class="main"><strong>Business Headquarters:</strong><br>
Smell Goods '98™ <br>
PO Box 123<br>
Newell, 28213<br>
USA
<br><br>
Tel: 704.921.8349<br>

<br>
<strong>E-mail Contacts:</strong><br>
Affiliate Program Inquiries - <a href="mailto:affiliateprogram@smellgoodspa.com" target="blank">affiliateprogram@smellgoodspa.com</a><br>
Wholesale Inquiries -&nbsp;<a href="mailto:wholesale@smellgoodspa.com" target="blank">wholesale@smellgoodspa.com</a><br>
Technical Assistance - <a href="mailto:info@smellgoodspa.com" target="blank">info@smellgoodspa.com</a><br>
Product Inquiries - <a href="mailto:smellgoods@smellgoodspa.com" target="blank">smellgoods@smellgoodspa.com</a><br>
Order Status - <a href="mailto:orders@smellgoodspa.com" target="blank">orders@smellgoodspa.com</a><br>
Scent Branding Inquiries - <a href="mailto:scentbranding@smellgoodspa.com" target="blank">scentbranding@smellgoodspa.com</a><br><br>


Many thanks.


Top
 Profile  
 
 Post subject: Re: T_LNumber Error in contact_us.php
PostPosted: Tue Jan 31, 2012 5:59 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Just a quick look over but how about removing the ' in
Smell Goods '98™ <br>
and adding it to the end??

i.e.

Scent Branding Inquiries - <a href="mailto:scentbranding@smellgoodspa.com" target="blank">scentbranding@smellgoodspa.com</a><br><br>');
?>


Top
 Profile  
 
 Post subject: Re: T_LNumber Error in contact_us.php
PostPosted: Wed Feb 01, 2012 2:49 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
You don't have to remove the single quote - just escape it. Also wouldn't copy in TM - use html &trade;
So line 37 looks:

Code:
Smell Goods \'98&trade;<br>

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: T_LNumber Error in contact_us.php
PostPosted: Wed Feb 08, 2012 2:00 pm 
Offline
CRE Newbie
User avatar

Joined: Tue Jun 16, 2009 7:20 am
Posts: 17
Many thanks, to you both!

The html &trade; was one of the issues, and the ');?> pulled it all together.

Appreciative.

Itiel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 24, 2012 3:56 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy