Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

what is the best way to upload a new CVS over the old one


Guest

Recommended Posts

I uploaded a new Cvs over the old one, but now on the login.php file I'm getting this error message

 

 

Fatal error: Call to a member function on a non-object in /home/poster/public_html/catalog/login.php on line 65

 

 

what are the procedures to follow when you upload a new CVS version over an old one?

 

 

 

your help will be really appreciated.

 

 

sebans

 

 

 

 

 

thanks sebans

Link to comment
Share on other sites

what are the procedures to follow when you upload a new CVS version over an old one?

 

Have you made any changes to any of the files?

 

If so learn CVS (www.cvshome.org) and get yourself a copy of beyond compare (www.scootersoftware.com). Both will prove thier weight in gold :)

 

In relation to the database there is a script called mysql_diff in the extras folder which will tell you if there have been any database changes.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Mark Evans

 

thanks for your answer.

 

 

The problem when you get this error message is that you don't know what to do. Specially if all the files are from the last cvs .

 

 

Fatal error: Call to a member function on a non-object in /home/poster/public_html/catalog/login.php on line 65

 

 

sebans

Link to comment
Share on other sites

The problem when you get this error message is that you don't know what to do. Specially if all the files are from the last cvs .

 

Fatal error: Call to a member function on a non-object in /home/poster/public_html/catalog/login.php on line 65

 

Line 65 is

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL'));

 

So the problem lies with the breadcrumb class.

 

1. Make sure this exists (catalog/includes/classes/breadcrumb.php)

2. Make sure the following exists near the bottom of application_top.php

 

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

That should get you started :)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Mark Evans

 

 

Thanks for your invaluable support.

 

The problem was indeed inside application_top.php (I forgot I had uploaded the old file instead of the new one to keep the information box links).

 

thanks again

 

 

sebans

Link to comment
Share on other sites

what are the procedures to follow when you upload a new CVS version over an old one?

 

Have you made any changes to any of the files?

 

If so learn CVS (www.cvshome.org) and get yourself a copy of beyond compare (www.scootersoftware.com). Both will prove thier weight in gold :)

 

In relation to the database there is a script called mysql_diff in the extras folder which will tell you if there have been any database changes.

 

 

THANK YOU SO MUCH SPARKY.

 

I've been grappling with how to encorporate contributions like Ian's fine work, but couldn't figure out how to avoid looking at many files one at a time. This is great advice to us new to open source programming.

 

Brad

~~~~~~~~~~~~~~~

Brad Bierman

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...