Guest Posted March 30, 2004 Share Posted March 30, 2004 HELP!!! Somehow I erased all of the HTML code that is supposd to go with shopping_cart.php so it is completely blank!! I am using the newest version. Can someone help me with this?? thank you. Link to comment Share on other sites More sharing options...
fmerrill Posted March 30, 2004 Share Posted March 30, 2004 When building a site, it is best to always keep a second copy of osC handy for situations like this. In the mean time, why not just download another copy of osC to your local machine, and upload the messed up file to your site, or wherever you need it, and be done? If you've made extensive changes, then you may have to use it as a template to re-make the changes. Good Luck! Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2004 Share Posted March 30, 2004 how do I upload another copy of OSC? Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2004 Share Posted March 30, 2004 got it! Thanks! I didn't know I could do that!! Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2004 Share Posted March 30, 2004 Okay, I reinstalled shopping_cart.php in version 2.2 but I have version 2.0. The error I keep getting says "Fatal error: Call to a member function on a non-object in /home/atozrent/public_html/ecommerce/os/catalog/shopping_cart.php on line 17" and line 17 is "$breadcrumb->add(NAVBAR_TITLE," breadcrumb does not exist in version 2.0. What do I do???? Is there a simple solution to this? Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2004 Share Posted March 31, 2004 http://cvs.oscommerce.com/ Every version of every file ever created for OSC. Link to comment Share on other sites More sharing options...
KaoticSnow Posted March 31, 2004 Share Posted March 31, 2004 real quick I know I have the latest build because its only a few days old but how do I see what version I am running? for example if I didnt know how do I check? thx Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2004 Share Posted March 31, 2004 okay, I guess I am using 2.1 however, 2.1 is not at http://cvs.oscommerce.com/ as far as I can see. Any suggestions on how I can get that shopping_cart.php back?? Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2004 Share Posted March 31, 2004 As far as fiding out which version you are running, I was able to see in mysql_catalog.sql Link to comment Share on other sites More sharing options...
fmerrill Posted March 31, 2004 Share Posted March 31, 2004 If you look at the site you'll see a drop-down menu at the bottom. Select the branch (PR2.1, PR2.1a, MS2.2, etc, etc) you are using. I saw a tep_pr2_1 version of the shopping_cart.php there. And in the near future, back up your whole site! Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2004 Share Posted March 31, 2004 You are too too cool!!! Thank you!!! I thought I wold NEVER get it back! :P Link to comment Share on other sites More sharing options...
KaoticSnow Posted April 1, 2004 Share Posted April 1, 2004 As far as fiding out which version you are running, I was able to see in mysql_catalog.sql and this is where? Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2004 Share Posted April 1, 2004 That's your database. Access it with phpmyadmin through the control panel that your host provides for you. Link to comment Share on other sites More sharing options...
user99999999 Posted April 1, 2004 Share Posted April 1, 2004 For the version check catalog/includes/application_top.php // define the project version define('PROJECT_VERSION', 'osCommerce 2.2-MS3-CVS'); If you deleted your install directory without making a backup first then you wont have a .sql file anymmore. Link to comment Share on other sites More sharing options...
KaoticSnow Posted April 1, 2004 Share Posted April 1, 2004 kewl thx Link to comment Share on other sites More sharing options...
KaoticSnow Posted April 1, 2004 Share Posted April 1, 2004 Access it with phpmyadmin through the control panel that your host provides for you. that would be nice, I had to install phpmyadmin myself. pretty simple Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.