only2empires Posted January 16, 2004 Share Posted January 16, 2004 Ok folks...here's what happened: I have not done a backup of my admin (ftp complete site to my hard drive), but I have backed up my database often to my hard drive. Something went wrong and my host told me to do a clean copy of oscommerce. Well I did that, but now its back to the same oscommerce template. Am I going to have to start completely over adding images and change the look of the store even though I have all the customers, images...the works..still in the database??? He thought all that would just automically be inserted back into the oscommerce catalog/admin, but obviously it didn't. Help! Link to comment Share on other sites More sharing options...
1quicksi Posted January 16, 2004 Share Posted January 16, 2004 #1 rule in computers is backups are the absolute most important thing you can do. I have fired people for not handeling backups properly. When you re-installed did you opt out of populating the database? If not you just over layed your database. You will need to re-upload it and possibly re-reun the installed but without populating the database option checked. You will have lost any contribution or changes to any files that you made. Sorry... knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
only2empires Posted January 16, 2004 Author Share Posted January 16, 2004 :( Thank goodness I work for myself, or I'd fire myself! But here's what we ended up doing (or should I say he's doing now), he resaved my database, but says it didn't see any opt out, but it shows in some parts my contributions that I have added (eg. yahoo payment module, etc). Now he is doing a complete reinstall of both cpanel and oscommerce and re-uploading my database. So, you are saying if this wasn't checkmarked...I maybe alright except for the basic color layout? Thanks for you quick reply. Link to comment Share on other sites More sharing options...
1quicksi Posted January 16, 2004 Share Posted January 16, 2004 As long as you have not installed any contributons that make MySQL changes you should be able to recover your store easily. When running the installer somewhere there is an option checkbox for populating the database (or simular wording) Make sure that is unchecked and fill in the rest of the variables. Other then that all you should need to do is redo any stylesheet changes and or add any contributons back in. I have never worked with CPanel but I am guessing OSC is jsut what they would call a power tool and auto installs it for you and leaves the management to OSC. knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
only2empires Posted January 16, 2004 Author Share Posted January 16, 2004 Ok thanks! We got everything back except like you said, the stylesheet and contributions that I added, and images. However, the jpg images are in the database but for some reason didn't transfer over to the admin. All descriptions and prices are still intact. Any ideas on getting the images over? Thanks much! At least I don't have to recreate the entire site again! Just hope I can remember which contributions I used. Link to comment Share on other sites More sharing options...
only2empires Posted January 16, 2004 Author Share Posted January 16, 2004 Or now that I look at it more, its the image name, not the actual image itself showing in the database. Guess I'll print those all out and grab my images all over again. Thanks for your suggestions, so I didn't lose everything completely! Link to comment Share on other sites More sharing options...
1quicksi Posted January 16, 2004 Share Posted January 16, 2004 Hind sight is a wonderful thing. Might I suggest creating a contribtions directory and upload a copy of each one you install. This way you will have the same version and a copy when if you ever need it. Other then that I do not have any ideas for the admin section and your images :( knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
only2empires Posted January 17, 2004 Author Share Posted January 17, 2004 Yes it is! And when this site is done...ftp is going regularly. Again, thanks for your help. Link to comment Share on other sites More sharing options...
only2empires Posted January 19, 2004 Author Share Posted January 19, 2004 Ok..here's the deal. I had a banner located under the New Products for XXX but above the footer. Now for the life of me, I cannot figure out how or where I put this banner code in the first time around!!! I could swear it was under languages/english/index.php or just languages/english.php somewhere at the bottom. This is the codes I had in the location of under New Products and above the footer: <p><table align="center"><tr><td><!-- HomeGrown Advertising Inc. Banner Exchange --> <CENTER> <ILAYER id="ad1" visibility="hidden" height=60></ILAYER> <NOLAYER> <IFRAME SRC="http://www.express-marketing.com/bannerads/bannergenerate.php?ID=3786" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></IFRAME> </NOLAYER> <layer src="http://www.express-marketing.com/bannerads/bannergenerate.php?ID=3786" visibility="hidden" id="a1" width="468" onload="moveToAbsolute(ad1.pageX,ad1.pageY); a1.clip.height=60;visibility='show';"></layer></a> </CENTER><p><table align="center"><tr><td><a href="http://www.razzamatazz.net/listpro/in.php?site=1066827523" target="_blank">Razzamatazz Professional Products Top List</a></td></tr></table><!-- Start of The-Counter.net WebStats Code v2+ --> <script language="javascript"><!-- var tracker_loaded = 0; //--></SCRIPT> <script language="javascript" SRC="http://the-counter.net/WS1/html/tracker.js"> </SCRIPT> <script language="javascript"><!-- if(tracker_loaded) { document.writeln(make_stats_now('xxxxx', 'http://the-counter.net/WS1/cgi/x.cgi')); }; //--></SCRIPT> <script language="javascript"><!-- document.write("<"+"!--"); //--></SCRIPT> <NOSCRIPT> <A HREF="http://the-counter.net/WS1/cgi/x.cgi?NAVG=Linker&username=xxxxx" target="_top"><IMG SRC="http://the-counter.net/WS1/cgi/x.cgi?NAVG=Tracker&username=xxxxx" BORDER=0></A> </NOSCRIPT> <script language="javascript"><!-- document.write("--"+">"); //--></SCRIPT> <!-- End of The-Counter.net WebStats Code v2+ --> Can someone tell me where this goes to show up? Maybe I'm thinking I had it in the english.php or the index.php when it was somewhere else actually. Heck..that was like 2 yrs ago I added that before!! Thanks! Link to comment Share on other sites More sharing options...
1quicksi Posted January 19, 2004 Share Posted January 19, 2004 Above the date but below new products jsut edit the footer.php and place your banner HTML at the very top of the file. Your HTML Code HERE <?php /* $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
only2empires Posted January 19, 2004 Author Share Posted January 19, 2004 Thanks Steven! I don't remember putting it in the footer.php....but it worked! And if I didn't, was much easier that time around. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.