scrappit Posted November 27, 2003 Share Posted November 27, 2003 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 More sharing options...
Guest Posted November 27, 2003 Share Posted November 27, 2003 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 More sharing options...
scrappit Posted November 27, 2003 Author Share Posted November 27, 2003 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 More sharing options...
Jeremy at oddly enough Posted November 27, 2003 Share Posted November 27, 2003 Your reviews are saved into your database, so you can swap the php files in and out of your site without affecting the reviews in the slightest. Jeremy Link to comment Share on other sites More sharing options...
jpf Posted November 28, 2003 Share Posted November 28, 2003 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.