Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configuration problem


johntrk

Recommended Posts

Posted

My problem is that i setup a server in my home but with my configuration that works fine online i can not see catalog when i load it localy.

Any help would be great. Thank you

Here is my configuration:

 

<?php

define('HTTP_SERVER', 'http://ipme.dyndns.org');

define('HTTPS_SERVER', 'http://ipme.dyndns.org');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'ipme.dyndns.org');

define('HTTPS_COOKIE_DOMAIN', 'ipme.dyndns.org');

define('HTTP_COOKIE_PATH', '/osshop/');

define('HTTPS_COOKIE_PATH', '/osshop/');

define('DIR_WS_HTTP_CATALOG', '/osshop/');

define('DIR_WS_HTTPS_CATALOG', '/osshop/');

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'C:/EasyPHP 3.0/www/osshop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', 'johpou10_osshop');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Posted

define('HTTP_SERVER', 'http://localhost');// or 127.0.0.1

define('HTTPS_SERVER', 'http://localhost');// or 127.0.0.1

 

define('HTTP_COOKIE_DOMAIN', 'localhost');

define('HTTPS_COOKIE_DOMAIN', 'localhost');

 

Your local store url -> localhost/osshop

Your local admin url -> localhost/osshop/admin

Posted

define('HTTP_SERVER', 'http://localhost');// or 127.0.0.1
define('HTTPS_SERVER', 'http://localhost');// or 127.0.0.1
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

 

for localhost otherwise you get cookie problems eg. unable to add to cart etc.

 

make sure the database is set up to your local database as well with local user name, password and database name

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Posted

Are you asking about having your frontend on-line but your admin on your computer?

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Archived

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

×
×
  • Create New...