Jump to content


Corporate Sponsors


Latest News: (loading..)

punkrockcds.com

Member Since 09 Feb 2006
Offline Last Active Mar 25 2012, 15:09
-----

Posts I've Made

In Topic: Session ID Lost After Server Upgrade

20 March 2012, 09:16

Thanks for the help Burt. Could you tell me after a server upgrade which paths in my configure file would need changing?

I already have define('STORE_SESSIONS', 'mysql');

Here is my full configure file;
 
<?php
/*
  $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $
  osCommerce, Open Source E-Commerce Solutions
  [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]
  Copyright (c) 2003 osCommerce
  Released under the GNU General Public License
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.punkrockcds.com/');
define('HTTPS_SERVER', 'https://www.punkrockcds.com/');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.punkrockcds.com/');
define('HTTPS_COOKIE_DOMAIN', 'punkrockcds.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '');
define('DIR_WS_HTTPS_CATALOG', '');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', 'images/icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
define('DIR_FS_CATALOG', '/home/punkrock/public_html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '**********);
define('DB_SERVER_PASSWORD', '**********');
define('DB_DATABASE', '**********');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql');
// osPlayer v2 player start  
define('DIR_FS_CATALOG_MP3', DIR_FS_CATALOG . 'data/mp3/'); 
define('DIR_WS_CATALOG_MP3', DIR_WS_HTTP_CATALOG . 'data/mp3/'); 
// osPlayer v2 player end
?>

In Topic: The requested URL was not found on this server

02 February 2012, 10:12

Been looking into this some more and it looks like I have 2 options.

1. Upgrade from 2.2-MS2 to 2.3.1 using the upgrade document. This looks beyond my capabilities and would mean updating all my contributions etc. (some of which it may not be possible to). I could pay someone to do it but to be honest I can't really afford to do that.

2. Do what you, Chris have recommended before and simply fresh install 2.3.1. But as far as I'm aware this would mean I would lose all my contributions, the look and feel of my site etc. There would be so much to change from the stock oscommerce it would almost feel like starting all over again and I just can't do that.

Is there nothing that I can do even as just a short term fix to get my site working again without having to upgrade to 2.3.1? My site is live with regular orders coming in and I need to just get something sorted out asap.

Thanks for your help,
Mark.

In Topic: The requested URL was not found on this server

01 February 2012, 15:59

Hello Chris,

I've read some of yours and Nick's posts on previous threads where you recommend just installing 2.3.1 rather than trying to upgrade from 2.2-MS2 and having to upgrade contributions etc. I understand I will lose all the contributions I have installed which I can probably just about live with but I will need to transfer my database (7500 products!!). From what I have read on here that isn't so straightforward. Any advice?

Thanks again,
Mark.

In Topic: The requested URL was not found on this server

01 February 2012, 13:38

Hello Nick,

Thanks for the advice. I will certainly look into this. In the meantime do you know of a short term fix just so I can get the site back up and running?

Cheers,
Mark.