gadgetsgizmos&gifts Posted November 10, 2005 Share Posted November 10, 2005 I can't get my welcome paragraph to show. I'm sure someone will be able to solve this in seconds. The contents of my index.php is below: <?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', 'Gadgets Gizmos & Gifts is an Australian owned and operated business.<br><br>Our mission is to bring to you the latest gadgets, wackiest gizmos and best gift ideas for less than RRP GUARANTEED.<br><br> Our price promise to you is simple: If you find the same product for less on the internet we will not only match the price we\'ll beat it by 10% GUARANTEED.'); 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', 'Let\'s See What We Have Here'); 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'); } ?> I'm editing the file in Notepad and uploading using FileZilla. Thanks for any help. Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 Im not very good at this, but try to copy and paste it to the notepad. and Save it naming index.php and upload it. Joanna Link to comment Share on other sites More sharing options...
gadgetsgizmos&gifts Posted November 10, 2005 Author Share Posted November 10, 2005 Hi Joanna Thanks for your reply, but I'm not able to find the ?> anywhere in the code? Dawn Joanna That's really strange! In swear in your post you told me to look for those characters and replace them with others, but when I posted my last reply and went back your post doesn't tell me to do that at all! Something spooky.... Dawn Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 I'm sorry, I edit my last reply to you. but what I'm really saying is " try to copy and paste it to the notepad. and Save it naming index.php and upload it." Joanna Link to comment Share on other sites More sharing options...
bobg7 Posted November 10, 2005 Share Posted November 10, 2005 I just tested your code on my test server and it's working. Check the format your uploading the file as, ascii - binary - auto, set it to auto. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
gadgetsgizmos&gifts Posted November 10, 2005 Author Share Posted November 10, 2005 I've just checked the settings in FileZilla and it's set to Auto. Any other ideas? Dawn Link to comment Share on other sites More sharing options...
gadgetsgizmos&gifts Posted November 10, 2005 Author Share Posted November 10, 2005 Joanna I've done as you suggested. Copied the code into a new Notepad document, saved it as index.php and uploaded it. But it still doesn't work. Bob has got it to work on his site so I'm still non the wiser as to what the problem is. Any other ideas? Dawn Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.