Quantcast
Channel: Web Traffic Exchange - ecommerce
Viewing all articles
Browse latest Browse all 10

How to upgrade osCommerce 2.2MS2a from PHP5 to PHP5.3?

$
0
0

Here is the files you'll need to update your osCommerce shop. If you made custom changes to your store, you'll have to make the changes manually.

http://www.oscommerce.com/community/contributions,7394

Chances are likely that you may have been running your osComerce shop on MySQL 4.x and your new server is on MySQL 5. There are problems running osCommerce 2.2MS2a on MySQL 5, and the link below will take you to a solution.

http://oscommerce.com/ext/update-20051112.html#_Toc119473702

You'll also have to make following changes to the php.ini file:

register_globals On
register_long_arrays On

In addition, the admin login page on https may not work due to session variable not being properly set. To make this to work, please add the following:

In admin/includes/application_top.php, add a line below tep_session_start():

  tep_session_start();
  $session_started = 1;

In admin/includes/configure.php, add the following lines 
(replace webtrafficexchange.com with your domain name):

  define('HTTPS_SERVER', 'https://www.webtrafficexchange.com');
  define('ENABLE_SSL', 'true');
  define('HTTP_COOKIE_DOMAIN', '.webtrafficexchange.com');
  define('HTTPS_COOKIE_DOMAIN', '.webtrafficexchange.com');

Modify the default value of $connection to "SSL" in the
admin/includes/functions/html_output.php file:

  function tep_href_link($page = '', $parameters = '', $connection = 'SSL') {


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images