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/’);
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
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.
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
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