Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Everything is good till Step 4...


ekiguy

Recommended Posts

hi guys,

 

I began installation, step 1 to step 4 was done pretty fast and not much hassle.

However, when it comes to step 4, i got the below message and 2 labeled buttons (Catalog & Administration Tool)

 

Finished!

The installation and configuration was successful!

 

When i clicked on the 'Catalog' button, it popped up a new window and error message was "Not Found". I noticed that the

URL of this pop-up window is extremely long and weird;

 

"http://www.mydomain.com/catalog/install/://www.mydomain.com/catalog/index.php"

 

it seems like the URL is wrong. I removed the front part of the URL and it should be www.mydomain.com/catalog/index.php!

Can anyone advise me where went wrong? The same goes for the 'Administration Tool' button. I clicked on it and popped up a window

with the weird URL;

 

"http://www.mydomain.com/catalog/install/://www.mydomain.com/catalog/admin/index.php"

 

Same thing, i removed the front portion of the URL to http://www.mydomain.com/catalog/admin/index.php, and i am able to access

the administration tool page.

 

 

My configure files as below;

 

includes/configure.php

 

<?php

define('HTTP_SERVER', '://');

define('HTTPS_SERVER', '://');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'www.mydomain.com/catalog/');

define('HTTPS_COOKIE_PATH', 'www.mydomain.com/catalog/');

define('DIR_WS_HTTP_CATALOG', 'www.mydomain.com/catalog/');

define('DIR_WS_HTTPS_CATALOG', 'www.mydomain.com/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', 'C:/Inetpub/vhosts/mydomain/httpdocs/catalog/');

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

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

and my admin/includes/configure.php is;

 

<?php

define('HTTP_SERVER', '://');

define('HTTP_CATALOG_SERVER', '://');

define('HTTPS_CATALOG_SERVER', '://');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/');

define('DIR_WS_ADMIN', 'www.mydomain.com/catalog/admin/');

define('DIR_FS_ADMIN', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/admin/');

define('DIR_WS_CATALOG', 'www.mydomain.com/catalog/');

define('DIR_FS_CATALOG', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/');

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('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'username');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

Please help!! Spent hours going trial and error on changing the inputs but still can't solved!

 

Thanks!!

Link to comment
Share on other sites

hi guys,

 

I began installation, step 1 to step 4 was done pretty fast and not much hassle.

However, when it comes to step 4, i got the below message and 2 labeled buttons (Catalog & Administration Tool)

 

Finished!

The installation and configuration was successful!

 

When i clicked on the 'Catalog' button, it popped up a new window and error message was "Not Found". I noticed that the

URL of this pop-up window is extremely long and weird;

 

"http://www.mydomain.com/catalog/install/://www.mydomain.com/catalog/index.php"

 

it seems like the URL is wrong. I removed the front part of the URL and it should be www.mydomain.com/catalog/index.php!

Can anyone advise me where went wrong? The same goes for the 'Administration Tool' button. I clicked on it and popped up a window

with the weird URL;

 

"http://www.mydomain.com/catalog/install/://www.mydomain.com/catalog/admin/index.php"

 

Same thing, i removed the front portion of the URL to http://www.mydomain.com/catalog/admin/index.php, and i am able to access

the administration tool page.

 

 

My configure files as below;

 

includes/configure.php

 

<?php

define('HTTP_SERVER', '://');

define('HTTPS_SERVER', '://');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'www.mydomain.com/catalog/');

define('HTTPS_COOKIE_PATH', 'www.mydomain.com/catalog/');

define('DIR_WS_HTTP_CATALOG', 'www.mydomain.com/catalog/');

define('DIR_WS_HTTPS_CATALOG', 'www.mydomain.com/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', 'C:/Inetpub/vhosts/mydomain/httpdocs/catalog/');

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

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

and my admin/includes/configure.php is;

 

<?php

define('HTTP_SERVER', '://');

define('HTTP_CATALOG_SERVER', '://');

define('HTTPS_CATALOG_SERVER', '://');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/');

define('DIR_WS_ADMIN', 'www.mydomain.com/catalog/admin/');

define('DIR_FS_ADMIN', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/admin/');

define('DIR_WS_CATALOG', 'www.mydomain.com/catalog/');

define('DIR_FS_CATALOG', 'C:/Inetpub/vhosts/mydomain.com/httpdocs/catalog/');

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('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'username');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

Please help!! Spent hours going trial and error on changing the inputs but still can't solved!

 

Thanks!!

 

 

catalog/includes/configure.php as follows:

 

 

<?php

define('HTTP_SERVER', 'http://www.my-domain.com/catalog');

define('HTTPS_SERVER', 'https://my-domain.com/catalog');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.my-domain.com/catalog');

define('HTTPS_COOKIE_DOMAIN', 'my-domain.com/catalog');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

 

 

Fred

www.21st-tees.com

Frederick C Brace,III PA-C

www.21st-tees.com (osc)

www.tanda-designs.com (osc)

Link to comment
Share on other sites

catalog/includes/configure.php as follows:

 

 

<?php

define('HTTP_SERVER', 'http://www.my-domain.com/catalog');

define('HTTPS_SERVER', 'https://my-domain.com/catalog');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.my-domain.com/catalog');

define('HTTPS_COOKIE_DOMAIN', 'my-domain.com/catalog');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

 

 

Fred

www.21st-tees.com

 

Hi fred,

 

Thanks for your help. However, I have tried and i got this message instead at http://www.my-domain.com/catalog;

 

"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Inetpub\vhosts\my-domanin.com\httpdocs\catalog\includes\configure.php on line 8"

 

Is this right? Yesterday still manage to see the demo page of the catalog, but since i changed to the above parameters, i no longer can access the demo page and instead, saw the message above.

 

Please help, thanks lots!

Link to comment
Share on other sites

Hi fred,

 

Thanks for your help. However, I have tried and i got this message instead at http://www.my-domain.com/catalog;

 

"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Inetpub\vhosts\my-domanin.com\httpdocs\catalog\includes\configure.php on line 8"

 

Is this right? Yesterday still manage to see the demo page of the catalog, but since i changed to the above parameters, i no longer can access the demo page and instead, saw the message above.

 

Please help, thanks lots!

 

First off, every instance of www.my-domain.com should be changed to the abbolute address of your website. As an example my site is www.21st-tees.com

 

Fred

Frederick C Brace,III PA-C

www.21st-tees.com (osc)

www.tanda-designs.com (osc)

Link to comment
Share on other sites

Hi fred,

 

Thanks for your help. However, I have tried and i got this message instead at http://www.my-domain.com/catalog;

 

"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Inetpub\vhosts\my-domanin.com\httpdocs\catalog\includes\configure.php on line 8"

 

Is this right? Yesterday still manage to see the demo page of the catalog, but since i changed to the above parameters, i no longer can access the demo page and instead, saw the message above.

 

Please help, thanks lots!

 

Okay guys, i'm good. :) everything's up as it should be, now moving further 1 step! Thanks for all the help!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...