game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online

addtocart is not addning in localhost in oscommerse

addtocart is not addning in localhost in oscommerse

addtocart is not addning in localhost in oscommerse  in new insatllation
Hi There,
I’m running my osCommerce 2.2rc2a store on WAMP localhost. Everything seems to be fine expect when i go to add items to cart, it takes me to the cart but gives message “[b]Your shopping cart is empty[/b]“. I’ve tried steps in both IE and FireFox same results. Also account log-in not working returns to Welcome Guest do you want to log-in.??
Please guide me how to get ride this issue

addtocart is not addning in localhost in oscommerse  in new insatllation
Hi There,
I’m running my osCommerce 2.2rc2a store on WAMP localhost. Everything seems to be fine expect when i go to add items to cart, it takes me to the cart but gives message “Your shopping cart is empty”. I’ve tried steps in both IE and FireFox same results. Also account log-in not working returns to Welcome Guest do you want to log-in.??

Solution of this issue is

open the Includes/Configure.php file

please correct the following code

Please correct your config with the following:
define(‘HTTP_SERVER’, ‘http://127.0.0.1′);
define(‘HTTPS_SERVER’, ‘http://127.0.0.1′);
define(‘ENABLE_SSL’, false);
define(‘HTTP_COOKIE_DOMAIN’, ’127.0.0.1′);
define(‘HTTPS_COOKIE_DOMAIN’, ’127.0.0.1′);
define(‘HTTP_COOKIE_PATH’, ‘/catalog/’);
define(‘HTTPS_COOKIE_PATH’, ‘/catalog/’);

Enjoy thanks


The page you requested cannot be displayed. error ’80020009′ /error/asperror.asp, line 158

eway internal server error…

The page you requested cannot be displayed. error ’80020009′ /error/asperror.asp, line 158

Hi as a programmer when i changed the hosting and shifted the server for oscommerce shopping cart. I started getting error on the conformation pages of eaway payment.

here is the solution:

chk all the path properly in my case i forgot to change the temp path

define (TEMP_DIR,    ”/var/www/vhosts/zoaex.com.au/httpdocs/tmp”);
define (TEMP_FILE_BASE, “/tmp.ep”);

define (TEMP_DIR,    ”/var/www/vhosts/zoaex.com.au/httpdocs/tmp”); define (TEMP_FILE_BASE, “/tmp.ep”);

Thanks

mrphpguru

Fatal error: Unable to read X bytes in yourfiles.php on line 0





Fatal error: Unable to read X bytes in yourfile.php on line 0

Solution:

To remove above error we have do following things

1) Zend Optimizer requires files to be uploaded in forced binary mode not is ASCII mode because Zend Optimizer requires required appropriate files ( see the installation instructions) to be uploaded . This is usually accomplished using a FTP program. So please chk the settings of FTP.
2) If not uploaded in forced binary mode, than following error you may see:

i) Fatal error: Unable to read 1000(Or any x bites) from your php script on line number…..

ii) Incompatible file format………….


So Make sure that you transfer files as binary and not ASCII when using FTP to transfer encoded files between PC and remote.

Also, in order to run encoded files you need to install Zend Optimizer. This error may indicate that you have an old version of Zend Optimizer installed.

In order to download the latest version of Optimizer, go to:http://www.zend.com/products/zend_optimizer

Thanks

weight and price zone rates shipping module oscommerce





hi every body i today i am writing weight and price zone rates shipping module oscommerce.

For orders less than $180, shipping is $10 flat rate within INDIA and $500 only $5 and more than $500 is free.

So for this shopping module i modified the zone rate based shopping module look for price also.

In default zone based shipping module of oscommerce supports only weight.Now with this modification you can use weight and price zone rates shipping module oscommerce.

To do weight and price zone rates shipping module oscommerce follow following step.

1) open Zones.php and in function add new key.MODULE_SHIPPING_ZONES_MODE Like

$keys = array(‘MODULE_SHIPPING_ZONES_STATUS’, ‘MODULE_SHIPPING_ZONES_TAX_CLASS’, ‘MODULE_SHIPPING_ZONES_SORT_ORDER’,'MODULE_SHIPPING_ZONES_MODE’);

2)During Installation of the zone based we need to insert the MODULE_SHIPPING_ZONES_MODE in configuration table with function like

tep_db_query(“insert into ” . TABLE_CONFIGURATION . ” (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values (‘Table Method’, ‘MODULE_SHIPPING_ZONES_MODE’, ‘weight’, ‘The shipping cost is based on the order total or the total weight of the items ordered.’, ’6′, ’0′, ‘tep_cfg_select_option(array(\’weight\’, \’price\’), ‘, now())”);

SO every thing is ready with installation for weight and price zone rates shipping module oscommerce

no at front end to display.

$shipping_cost = ($shipping * $shipping_num_boxes) + constant(‘MODULE_SHIPPING_ZONES_HANDLING_’ . $dest_zone);

So the above line need to put in if an else clause

like

if(MODULE_SHIPPING_ZONES_MODE == ‘price’)
{
$order_total = $cart->show_total();
$table_cost = split(“[:,]” , MODULE_SHIPPING_TABLE_COST);
$size = sizeof($table_cost);
for ($i=0, $n=$size; $i<$n; $i+=2)
{
if ($order_total <= $table_cost[$i])
{
$shipping = $table_cost[$i+1];
break;
}
}
$shipping_cost = $shipping;
}
else
{
$shipping_cost = ($shipping * $shipping_num_boxes) + constant(‘MODULE_SHIPPING_ZONES_HANDLING_’ . $dest_zone);
}
if need any help and implementaion please write to me @
mrphpguru@gmail.com
i do for only $25.
Thanks
mrphpguru