OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: What version is my shop?
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Tips and Tricks
Jack_mcs
The question of what version a shop is has been getting asked a lot lately. This is meant to give a quick way to check it.

- First look in includes/application_top.php and find this line
CODE
// define the project version
Under that will be a line that starts with define('PROJECT_VERSION'. These are the main choices:

define('PROJECT_VERSION', 'osCommerce 2.2-MS1'); //released prior to July/2003
define('PROJECT_VERSION', 'osCommerce 2.2-CVS'); //released between the above/below dates
define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); //released after July/2003
define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC1'); //released March/2007
define('PROJECT_VERSION', 'osCommerce 3.xxx'); //not released for general use

The versions before MS2 are not compatible with MS2, which is the main version is use. Between MS2 and RC1, there were two patch updates. There isn't a version number for those patches (in the files) so you have to compare file content to see if they are installed. First, download the patches from here. Extract the contents and compare a few of the files with those in your shop. If your shop has them installed, then you probably have the latest MS2 version.

Jack
Coopco
QUOTE (Jack_mcs @ Nov 14 2007, 06:28 AM) *
The question of what version a shop is has been getting asked a lot lately. This is meant to give a quick way to check it.

- First look in includes/application_top.php and find this line
CODE
// define the project version
Under that will be a line that starts with define('PROJECT_VERSION'. These are the main choices:

define('PROJECT_VERSION', 'osCommerce 2.2-MS1'); //released prior to July/2003
define('PROJECT_VERSION', 'osCommerce 2.2-CVS'); //released between the above/below dates
define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); //released after July/2003
define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC1'); //released March/2007
define('PROJECT_VERSION', 'osCommerce 3.xxx'); //not released for general use

The versions before MS2 are not compatible with MS2, which is the main version is use. Between MS2 and RC1, there were two patch updates. There isn't a version number for those patches (in the files) so you have to compare file content to see if they are installed. First, download the patches from here. Extract the contents and compare a few of the files with those in your shop. If your shop has them installed, then you probably have the latest MS2 version.
Jack


Fantastic post, as always, Jack.

I would like to suggest the following to finish this off.

After
If your shop has them installed, then you probably have the latest MS2 version.
Add
Check that the bugfixes to the patch have been done.

In this case, you could change define('PROJECT_VERSION', 'osCommerce 2.2-MS2');
to
define('PROJECT_VERSION', 'osCommerce 2.2-MS2 with modified August 2006 patch.');
Jack_mcs
Thanks for mentioning that. If the contribution I mentioned is used for the patches, it changes the version string. And it should be used over the original patch files since thre is a mistake in those.

Jack
jgarite
Thanks! You just saved me a lot of time laugh.gif
tubarao21
Unfortunately, i still don't know my version.

What i have in my application_top.php is:

CODE
// for internal use until final v1.0 version is ready
define('PROJECT_VERSION', 'Preview Release 2.1');


I need to know my version because i'm trying to install a PayPal contribution. I need to have this information so i can choose a contribution that can be compatible with my OsCommerce site.


Thank you for your attention wink.gif
Coopco
QUOTE (tubarao21 @ Feb 11 2008, 10:57 PM) *
Unfortunately, i still don't know my version.

What i have in my application_top.php is:

CODE
// for internal use until final v1.0 version is ready
define('PROJECT_VERSION', 'Preview Release 2.1');


I need to know my version because i'm trying to install a PayPal contribution. I need to have this information so i can choose a contribution that can be compatible with my OsCommerce site.
Thank you for your attention wink.gif

It looks like it is very, very old, prior to
define('PROJECT_VERSION', 'osCommerce 2.2-MS1'); //released prior to July/2003

You would be better starting from scratch and install the latest.
Jack_mcs
QUOTE (tubarao21 @ Feb 11 2008, 06:57 AM) *
Unfortunately, i still don't know my version.

What i have in my application_top.php is:

CODE
// for internal use until final v1.0 version is ready
define('PROJECT_VERSION', 'Preview Release 2.1');


I need to know my version because i'm trying to install a PayPal contribution. I need to have this information so i can choose a contribution that can be compatible with my OsCommerce site.
Thank you for your attention wink.gif
As Leslie mentioned, it is quite old. It is probably a version from 2002. It most likely doesn't even have the code fixes that the final release of MS1 had and will not be compatible with many contributins. You should scrap it. It will only cause problems and there will be little support from it here since most won't have that version.

Jack
cookiebob
Hi

I can’t say how useful I have found this topic.

I have just checked my version and found I am running 2.2-MS2.

This seems to be the minimum requirement.

I guess it would make sense to add the two “bug fixes” but I can’t seem to find them.

Can somebody point me in the right direction, or am I worrying too much and the version I have is sufficient ?

Thanks

Bob
Coopco
QUOTE (cookiebob @ Jun 2 2008, 05:06 PM) *
Hi

I can’t say how useful I have found this topic.

I have just checked my version and found I am running 2.2-MS2.

This seems to be the minimum requirement.

I guess it would make sense to add the two “bug fixes” but I can’t seem to find them.

Can somebody point me in the right direction, or am I worrying too much and the version I have is sufficient ?

Thanks

Bob

Jack posted the link in his first post in this thread.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.