Guest Posted November 22, 2004 Posted November 22, 2004 Hi All: I am EXTREME novice with OSCommerce. Trying to edit the main store page I thought I followed the correct path on these postings and accidently overwrote my admininistration page...you know the blue page with all your OS options....How do i get it back? And How on earth do I edit the page my customers see when they enter the store? I am so confussed!!!!! :blink: :blink: And really embarassed :blush: HELP please....Kim
Guest Posted November 22, 2004 Posted November 22, 2004 do u have a link to your store? and what was the name of the page you wiped out? what were you editing?
Guest Posted November 22, 2004 Posted November 22, 2004 do u have a link to your store?? and what was the name of the page you wiped out?? what were you editing? <{POST_SNAPBACK}> The store link is : http://loveswhosheis.com/ecommerce/os/catalog/index.php The page I overwrote was the Dark Blue administration page I see when I go in to administer the store. It has (had) two columns of icons with links to ... catalog... money...stuff like that to edit. It may just be the way my server ipowerweb displays it? I have been trying to call them but their lines are busy for two days now. The main problem I am having is getting to the store front where it says: What's New Here? Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2. I was pretty sure that I followed the paths in this text but it was 4am and I should have been sleeping instead! The page I edited was http://loveswhosheis.com/ecommerce/os/cata...admin/index.php I still can not find the right page to edit! Any help is much appreciated! Hugs Kim
Guest Posted November 22, 2004 Posted November 22, 2004 download a copy of the site from here, and upload the admin/index.php file which will bring back your admin. or restore your backup. you do have one? you do edit locally and keep a backup locally so you can restore to the live site in case this happens? per the instructions you have in red this is what you should have edited: [path to catalog]/includes/languages/english/index.php notice it does not say admin
Guest Posted November 22, 2004 Posted November 22, 2004 :-" NEVER MIND! Thank god for regenerating brain cells! I have the file on my hard drive in DreamWeaver and was able to successfully restore it!!! But I still can not figure out how to edit within the OSC file manager, so I am trying through Dreamweaver...wish me luck and thanks for the support! The store link is : http://loveswhosheis.com/ecommerce/os/catalog/index.php The page I overwrote was the Dark Blue administration page I see when I go in to administer the store. It has (had) two columns of icons with links to ... catalog... money...stuff like that to edit. It may just be the way my server ipowerweb displays it? I have been trying to call them but their lines are busy for two days now. The main problem I am having is getting to the store front where it says: What's New Here? Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional. Error Messages If there are any error or warning messages shown above, please correct them first before proceeding. Error messages are displayed at the very top of the page with a complete background color. Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file. Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here. Securing The Administration Tool It is important to secure the Administration Tool as there is currently no security implementation available. Online Documentation Online documentation can be read at the osCommerce Wiki Documentation Effort site. Community support is available at the osCommerce Community Support Forums site. If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the support site of osCommerce. This shop is running on osCommerce version osCommerce 2.2-MS2. I was pretty sure that I followed the paths in this text but it was 4am and I should have been sleeping instead! The page I edited was http://loveswhosheis.com/ecommerce/os/cata...admin/index.php I still can not find the right page to edit! Any help is much appreciated! Hugs Kim <{POST_SNAPBACK}>
Guest Posted November 22, 2004 Posted November 22, 2004 download a copy of the site from here, and upload the admin/index.php file which will bring back your admin. or restore your backup. you do have one? you do edit locally and keep a backup locally so you can restore to the live site in case this happens?per the instructions you have in red this is what you should have edited: [path to catalog]/includes/languages/english/index.php notice it does not say admin <{POST_SNAPBACK}> Thanks John: I figured out that thinking was a good idea and restored the page from my back up.....tada...then saw your post. I am still having a little trouble...sleep deprevation but I think I cab figure it out? We'll see Thanks for the support Kim
Guest Posted November 22, 2004 Posted November 22, 2004 download a copy of the site from here, and upload the admin/index.php file which will bring back your admin.? or restore your backup.? you do have one?? you do edit locally and keep a backup locally so you can restore to the live site in case this happens?per the instructions you have in red this is what you should have edited: [path to catalog]/includes/languages/english/index.php notice it does not say admin <{POST_SNAPBACK}> Hi Again: :blush: Well now I've really gone and done it! I had no downloaded backup of the includes/languages/english.php (Ijust created the store last night and had not download the new site files yet) and I went in and edited the header and footer and now the text is diplayed at the top of the store. SEE: http://loveswhosheis.com/ecommerce/os/catalog/index.php I don't know where to start to fix this. I don't know what you mean when you say download a copy from here, and will all of my inventory still be in the store if I figure that out? I had made a backup file in the host manager, but I can not find where it is. My domain help site shows a tuorial of how to restore under my computer/mynetwork places/user[1].tar, however the file does not exist. Additionally I backed up the site this morning after editing the header and footer so I don't know if I could even get the right file now! I am truly a novice and trying hard to understand all of this. Any ideas? Kim
Guest Posted November 22, 2004 Posted November 22, 2004 1) download a copy from http://www.oscommerce.com/solutions/downloads 2) don't edit files with the osCommerce file manager. It has a tendency to remove slashes from things like "\n", effectively converting newlines into the letter 'n'. 3) ALWAYS keep a copy of files you are editing. Never edit your only copy. -jared
Guest Posted November 23, 2004 Posted November 23, 2004 1) download a copy from http://www.oscommerce.com/solutions/downloads 2) don't edit files with the osCommerce file manager. It has a tendency to remove slashes from things like "\n", effectively converting newlines into the letter 'n'. 3) ALWAYS keep a copy of files you are editing. Never edit your only copy. -jared <{POST_SNAPBACK}> :thumbsup: THANK YOU JARED!!!!!!!!! It worked like a charm. You are very cool for pointing me in the right direction...for free! Hugs Kim
dirthawker Posted November 23, 2004 Posted November 23, 2004 :thumbsup: THANK YOU JARED!!!!!!!!! It worked like a charm. You are very cool for pointing me in the right direction...for free! Hugs Kim <{POST_SNAPBACK}> Hei Kim, I replied to you private email but it looks like your problem is resolved - great! My contributions Quick Installation Guide
Guest Posted November 24, 2004 Posted November 24, 2004 Hei Kim, I replied to you private email but it looks like your problem is resolved - great! <{POST_SNAPBACK}> :blink: Looks can be decieving! lol... I am stummped. I can not for the life of me figure out how to edit php with Dreamweaver and not have the entire code showing. I downloaded a freeware called HAPedit but now I have to learn a whole new program just to get the text on the front page to say ANYTHING besides the default to get going. I NEED to get this site available NOW, with any text except...if you order it won't ship. oSC seems like a big pain in the behind! :( Can you please tell me a quick easy way to edit this default text? OH....and HAPPY HOLIDAYS EVERYONE :D
Guest Posted November 24, 2004 Posted November 24, 2004 dreamweaver is a piece of cake, i use it all the time. to edit the text for the index.php just type your text normally as you would with the exception of putting a \ in front of an apostrophe. perhaps setting up nthe site in dreamweaver would make it easier for you. this way you can always have a backup of the files locally, and test there prior to going to the live site. look and get familiar with the menu option 'Site' where you create a local site, the remote site and testing server.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.