Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Transfer Hosting Company


graysonhobby

Recommended Posts

Hello

 

I just transfered hosting compaines and everything apprears to be working great exept the the shopping cart. Items come and go and nothing is saved.

 

Im attaching my configure.php

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 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.graysonhobby.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://secure.hostmonster.com/~graysonh'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.graysonhobby.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://secure.hostmonster.com/~graysonh');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_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/');

 

Perhaps Im missing something, but this seems straight foward.

 

site is graysonhobby.com

 

If you can go thru and add stuff to the shopping cart and let me know what happens. Both of my computers are showing the same problem.

Link to comment
Share on other sites

Hi,

On some of Your pages session ID is getting lost.

so set force cookies to true for the time and this will solve.

 

Later chek where its going wrong.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

product_info.php?products_id=429 here the session id is getting destroyed.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

product_info.php?products_id=429 here the session id is getting destroyed.

Satish

 

 

It apprears to be working now :thumbsup::thumbsup:<_<

 

Im not sure im allowed to say the company, but my hosting company has a feature called FastCGI for PHP

 

 

I turned it one awhile ago, but it must of not taken effect until overnight. I turned it off and it looks as if my site is working.

 

 

Knowledgebase

FastCGI for PHP

Top : Advanced Scripting : PHP

 

Article ID: 000350

Rating: 5.0 / 5.0 (52 votes)

 

Views: 2380

 

 

Problem

What is FastCGI for PHP?

 

Solution

FastCGI for PHP

 

FastCGI for PHP makes all your PHP applications run through mod_fastcgi instead of mod_phpsusexec. FastCGI applications are fast because they're persistent. There is no per-request startup and initialization overhead. This makes possible the development of applications which would otherwise be impractical within the CGI paradigm (e.g. a huge PHP script, or an application which requires a connection to one or more databases).

 

Benefits:

 

PHP scripts will run faster. The PHP interpreter is loaded into memory rather than calling from storage for every hit, greatly improving performance of your scripted site.

You will use less Server Resources. Since the server does not have load the PHP interpreter for each hit, you will be able to accommodate a higher traffic site without exceeding your CPU quota.

NO modifications to your existing code are required. Everything you currently run will work with FastCGI for PHP.

 

Potential Problems:

 

You will only have one php.ini file available for all subdirectories (/home/USERNAME/public_html/php.ini). This is necessary to help optimize the website code as much as possible. If you need multiple php.ini files to accommodate different scripting needs, you can disable FastCGI for PHP on any of your subdirectories while leaving the rest of the account enabled for performance. Please contact support if you need to do this.

There can be a few minute delay in any updates you make to your PHP environment (ie, php.ini changes). Since your php.ini is loaded into memory for greater speed, every hit does not re-read it from storage.

 

 

Just a word to the wise, do NOT intall this if you have this in your hosting company admin panel.

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...