Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notepad saving file funny


warrenerjm

Recommended Posts

Posted

Hello

My notepad is doing silly things & I don't know why? I download a file, amend it, save it & it saves like this. Not in the original lines. This has never happened before & I can't get it to save as it looked before.

 

Tha added line is All Products

 

<?php/*  $Id: filenames.php,v 1.4 2003/06/11 17:38:00 hpdl Exp $  osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright (c) 2003 osCommerce  Released under the GNU General Public License*/// define the filenames used in the project  define('FILENAME_ACCOUNT', 'account.php');  define('FILENAME_ACCOUNT_EDIT', 'account_edit.php');  define('FILENAME_ACCOUNT_HISTORY', 'account_history.php');  define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php');  define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php');  define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php');  define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php');  define('FILENAME_ALL_PRODUCTS', 'all_products.php');   // all products and used categories
 define('FILENAME_ADDRESS_BOOK', 'address_book.php');  define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php');  define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php');  define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php');  define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');  define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php');  define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php');  define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php');  define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php');  define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');  define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php');  define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');  define('FILENAME_CONTACT_US', 'contact_us.php');  define('FILENAME_CONDITIONS', 'conditions.php');  define('FILENAME_COOKIE_USAGE', 'cookie_usage.php');  define('FILENAME_CREATE_ACCOUNT', 'create_account.php');  define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');  define('FILENAME_DEFAULT', 'index.php');  define('FILENAME_DOWNLOAD', 'download.php');  define('FILENAME_DYNAMIC_SITEMAP', 'dynamic_sitemap.php');  define('FILENAME_FAQ', 'faq.php');  define('FILENAME_HOW_TO_USE_THIS_SHOP', 'how_to_use_this_shop.php');  define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');  define('FILENAME_LOGIN', 'login.php');  define('FILENAME_LOGOFF', 'logoff.php');  define('FILENAME_NEW_PRODUCTS', 'new_products.php');  define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php');  define('FILENAME_POPUP_IMAGE', 'popup_image.php');  define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php');  define('FILENAME_PRIVACY', 'privacy.php');  define('FILENAME_PRODUCT_INFO', 'product_info.php');  define('FILENAME_PRODUCT_LISTING', 'product_listing.php');  define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php');  define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php');  define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php');  define('FILENAME_PRODUCTS_NEW', 'products_new.php');  define('FILENAME_REDIRECT', 'redirect.php');  define('FILENAME_REVIEWS', 'reviews.php');  define('FILENAME_SHIPPING', 'shipping.php');  define('FILENAME_SHOPPING_CART', 'shopping_cart.php');  define('FILENAME_SPECIALS', 'specials.php');  define('FILENAME_SSL_CHECK', 'ssl_check.php');  define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');  define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php');?>

 

Please help explain this to me & what to do?

 

Thanks a million

Julie

Posted

Notepad should not do that...

 

Try using something like a plain text editor or text-diff file program... like winmerge or filezilla

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Posted

Search for and download PFE32, it's free and a great text editor.

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.

Posted
Notepad should not do that...

 

Try using something like a plain text editor or text-diff file program... like winmerge or filezilla

Hi Aleem

 

It wasn't doing it before I downloaded Google pack, but I don't know if that caused it or not. I use filezilla to FTP, & have just got my head round that! I searched the forum more & found reference to Editpad Lite, which I downloaded for free. That worked OK. Confused me at first because it shows extra lines between the code, but it works.

 

Thank you for your reply.

 

Julie

Posted
Search for and download PFE32, it's free and a great text editor.

Hi Bob

 

Thanks I will search for that one too & have a look. Free & easy is what I am looking for! I'm learning everything from scratch at the moment.

 

Thanks

Julie

Archived

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

×
×
  • Create New...