Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session issue after upgrading to 2.3.4


yogeshnaik

Recommended Posts

Posted

I've recently upgraded from 2.3.3.4 to 2.3.4.

After completing all the modifications in localhost, I've uploaded in live site, but in sub-directory (for testing purpose, just to cross-check whether I've copied the changes properly or not since I can't afford to mess around with my current live site which is of version 2.3.3.4).

 

Its like, I have a site

 

http://www.xxxx.com/

 

I've kept the main site intact and have uploaded the complete copy(with 2.3.4 suggested changes) in "beta" folder... http://www.xxxx.com/beta

 

There isn't any error so far. Only issue is, after logging in, If i click any link, it redirects me to http://www.xxxx.com/.

I think there might be issue with my configure.php.

  <?php
 
  define('HTTP_SERVER', 'http://www.xxxx.com');
  define('HTTPS_SERVER', 'http://www.xxxx.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', 'xxxx.com/beta');
  define('HTTPS_COOKIE_DOMAIN', 'xxxx.com/beta');
  define('HTTP_COOKIE_PATH', '/home/xxxx/public_html/beta/');
  define('HTTPS_COOKIE_PATH', '/home/xxxx/public_html/beta/');
  define('DIR_WS_HTTP_CATALOG', '/beta/');
  define('DIR_WS_HTTPS_CATALOG', '/beta/');
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

  define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
  define('DIR_FS_CATALOG', '/home/xxxx/public_html/beta/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
 
  ?>

Am I missing out something...?

 

Thanks.

A man is great by Deeds, not by Birth....

Posted

Try this and see if it works.  It's been a while since I've done one this way.  Also, you should enable ssl even on your test site if it's online.

<?php
  define('HTTP_SERVER', 'http://www.xxxx.com');
  define('HTTPS_SERVER', 'http://www.xxxx.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', 'www.xxxx.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.xxxx.com');
  define('HTTP_COOKIE_PATH', '/beta/');
  define('HTTPS_COOKIE_PATH', '/beta/');
  define('DIR_WS_HTTP_CATALOG', '/beta/');
  define('DIR_WS_HTTPS_CATALOG', '/beta/');

I'm not really a dog.

Posted

Kinda weird, I went to admin panel > Configuration > SEO URLs and made "Enable SEO URLs?" = false

It started working after that....

A man is great by Deeds, not by Birth....

Archived

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

×
×
  • Create New...