Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URGENT!!


scrappit

Recommended Posts

Help, what have l done!!!! l just went into index.php to edit some text, and now have lost the whole site - nothing shows up. Here's the text l entered, what have l done wrong!??

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Thanks for visiting Scrappit! We\'re an Australian online store specialising in funky stuff for your scrapbook.

We stock an amazing range of scrapbooking embellishments, and you\'ll find a fantastic variety of everything lumpy and bumpy to bring your pages alive. Browse our catalogue for products to inspire you, or visit our Gallery and join in the fun of the Scrappit community. We hope you enjoy your stay!');

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

Link to comment
Share on other sites

Your text changes are fine - you probably have whitespace left at the end of the file - open it again and place your cursor after the very last ?> and hit your delete key to remove any whitespace.

 

Matti

Link to comment
Share on other sites

Thanks,

and l did have white space, but it hasn't helped. :o( Is there something else l can try? l only touched 2 files last night (l'm sure!) - the index.php and the stylesheet. :o( And l do have a database backup saved, but l would prefer not to have to restore from this as l've had people writing reviews for me and these weren't backed up - l was making changes at the same time as they were writing reviews.

The whole site has just gone *argggggh& - l could just cry...:o(

Link to comment
Share on other sites

What editor are you using? ...... SOME M$ editors AUTOMATICALLY ADD a extra LINE to the BOTTOM of the file. (PHP files can't have extra "white space" at the top or bottom..)

 

Suggest using Notetab editor (freeware) or UltraEdit (free demo -low cost) - I use BOTH.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...