Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce on subdomain


etipon

Recommended Posts

Everything seemed successful when I installed oscommerce (using Plesk) on my subdomain store.delphinoy.com and even asked for a folder on where to install on which i pointed it on a 'storefront' directory but I cannot access it from store.delphinoy.com but instead on store.delphinoy.com/storefront. How can i make it work on store.delphinoy.com?

 

thanks for any help!

 

Eric

Link to comment
Share on other sites

Everything seemed successful when I installed oscommerce (using Plesk) on my subdomain store.delphinoy.com and even asked for a folder on where to install on which  i pointed it on a 'storefront' directory but I cannot access it from store.delphinoy.com  but instead on store.delphinoy.com/storefront. How can i make it work on store.delphinoy.com?

 

thanks for any help!

 

Eric

Put an Index.php page on your rott that redirects to the store.delphinoy.com/storefront

 

or the second way is to dump all the catlaog folder content directly into the root path.

 

Satish Mantri

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

Put an Index.php page on your rott that redirects to the store.delphinoy.com/storefront 

 

or the second way is to dump all the catlaog folder content directly into the root path.

 

Satish Mantri

 

 

great! i dumped everything to the root path... and everything seems working except for the admin page. A warning message appeared "Forbidden

 

You don't have permission to access /admin on this server.

 

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

 

Is there a file/s that I need to change permission?

Link to comment
Share on other sites

great! i dumped everything to the root path... and everything seems working except for the admin page. A warning  message appeared "Forbidden

 

You don't have permission to access /admin on this server.

 

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

 

Is there a file/s that I need to change permission?

 

 

anyone care to help me :(

Link to comment
Share on other sites

post your configure.php files here without the database connection info, lets see what/where you have things pointing to

 

here's my configure.php. i just put xxxxx on db connection info for obvious reason.

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

define('HTTP_SERVER', 'http://store.delphinoy.com');

define('HTTPS_SERVER', 'http://store.delphinoy.com');

define('ENABLE_SSL', 'false');

define('HTTP_COOKIE_DOMAIN', 'store.delphinoy.com');

define('HTTPS_COOKIE_DOMAIN', 'store.delphinoy.com');

define('HTTP_COOKIE_PATH', '/');

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

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

define('DIR_WS_HTTP_CATALOG','/');

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

 

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

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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', 'xxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxxxxx);

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

?>

Link to comment
Share on other sites

Put an Index.php page on your rott that redirects to the store.delphinoy.com/storefront 

 

or the second way is to dump all the catlaog folder content directly into the root path.

 

Satish Mantri

 

 

OK, I am not the same person, but I seem to be in the same place. My store shows up as www.mystore.com/catalog when I only want it to show up as www.mystore.com. Seems to me that this root directory thing mgiht work, can you talk an idiot through it? Thanks....

Link to comment
Share on other sites

As you've set it not to use ssl you should leave the entries for https blank, so:

 

define('HTTPS_SERVER', '');

define('HTTP_COOKIE_DOMAIN', 'store.delphinoy.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

 

Other than that the configure.php file looks to be okay.

 

However, it's not the configure.php file for admin! You'll find that in admin/includes/

 

Vger

Link to comment
Share on other sites

thanks Vger!

 

here's the configure.php from

delphinoy.com / subdomains / store / httpdocs / admin / includes / configure.php

 

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

define('HTTP_SERVER', 'http://store.delphinoy.com');

define('HTTP_CATALOG_SERVER', 'http://store.delphinoy.com');

define('HTTPS_CATALOG_SERVER', 'http://store.delphinoy.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/delphinoy.com/subdomains/store/httpdocs');

// define('DIR_WS_ADMIN', '/storefront/admin/');

define('DIR_WS_ADMIN', 'admin/');

// define('DIR_FS_ADMIN', '/home/httpd/vhosts/delphinoy.com/subdomains/store/httpdocs/storefront/admin');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/delphinoy.com/subdomains/store/httpdocs/admin');

// define('DIR_WS_CATALOG', '/storefront/');

define('DIR_WS_CATALOG', '/');

// define('DIR_FS_CATALOG', '/home/httpd/vhosts/delphinoy.com/subdomains/store/httpdocs/storefront/');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/delphinoy.com/subdomains/store/httpdocs/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...