View Full Version : Server Timezone fix 1.0

09-20-2007, 08:04 PM
Server timezone fix 1.0

This patch fixes the common problem where oscommerce is located on a server oversea (like in the US) but the store is intended to sell products in another country (like Australia).

There is another patches (http://www.oscommerce.com/community/contributions,4156) that attempts to fix this problem by adding offsets to the time everywhere in the code. This is error prone. It is far better if you can let the servers know your timezone and then the servers will do the correction for you and you do not need to touch the code.

In this patch, the example I will be using is when the server is in the US and the store is in Australia, as is the case with my own store.

There are 2 servers that need to know your location, the web server (ie. apache) and the database server (ie. mysql). If your store uses some other web server or database server, then this patch will require modification to work....

See the complete readme.txt file for the complete patch!


More... (http://www.oscommerce.com/community/contributions,5432)