Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After having configured the configure.php on the https-side, the http sid doen't work anymore. Holy crap.


jkz

Recommended Posts

Houston, I have a problem:

 

-- There should be running a ssl-secure-OsCommerce-webshop on https://www.herzglut.com

-- There should be running a normal portfolio website on http://www.herzglut.com (It's a MySQL database driven Wordpress Installation.)

 

Obviously I've made some mistakes configuring the OSCommerce "configure.php"-files.

There are two things not working anymore:

 

((1))

-------------------

If I go into my webshop (Beta-version) on https://www.herzglut.com/ and put an article in the cart, view the cart and then go to "Checkout", the server is taking me to the wrong address www.herzglut.comhttp.

------>

https://www.herzglut.com/shopping_cart.php?osCs

TAKES ME TO:

--> https://www.herzglut.comhttps//www.herzglut.../login.php?osCs

BUT SHOULD NORMALLY TAKE ME TO:

https://www.herzglut.com/login.php?osCs

-------------------

((2))

-------------------

The contents of my normal web-portfolio on the http://-side "http://www.herzglut.com" are no longer distributed even if they're all in the database correctly.

The only thing that's working right now is the homepage http://herzglut.com/index.php. What's wrong here? I didn't change anything here, all the changes that could have caused this mistake are changes on the database/files/configuration of the OSCommerce store.

-------------------

The content of the file (https://www.herzglut.com/) includes/configure.php:

-------------------

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://www.herzglut.com');

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DIR_WS_CATALOG', '');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DB_DATABASE', 'herzglut******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

?>

 

-------------------

-------------------

The content of the file (https://www.herzglut.com/) admin/includes/configure.php:

-------------------

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://www.herzglut.com');

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DIR_WS_CATALOG', '');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DB_DATABASE', 'herzglut******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

?>

 

-------------------

ANY HELP IS VERY MUCH APPRECIATED!

Link to comment
Share on other sites

includes/configure.php

-------------------

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.herzglut.com');

define('HTTPS_SERVER', 'https://www.herzglut.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.www.herzglut.com');

define('HTTPS_COOKIE_DOMAIN', '.www.herzglut.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DB_DATABASE', 'herzglut******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

 

admin/includes/configure.php:

-------------------

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://www.herzglut.com');

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

define('DIR_FS_ADMIN', '/home/httpd/vhosts/herzglut.com/httpsdocs/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

define('DB_DATABASE', 'herzglut******');

define('USE_PCONNECT', 'true');

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

// define our database connection

define('DB_SERVER', 'localhost');

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

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

define('DB_DATABASE', 'herzglut******');

define('USE_PCONNECT', 'true'); <--Are you certain about this?

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

Thanks very much.

This didn't work for me, unfortunately.

I got some new errors, but more important: the http://www.herzglut.com -side still isn't here.

I'm getting a bit desperate.

 

Reading through the forum I found some better here settings for the admin/configure.php ((31 ... Get the links and files to work properly in Admin when installing into a root directory?)); see below in red.

Is there anything similar for the "configure.php"-file in the root?

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://www.herzglut.com/');

define('HTTP_CATALOG_SERVER', 'http://www.herzglut.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

define('DIR_FS_ADMIN', '/home/httpd/vhosts/herzglut.com/httpsdocs/admin/');

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

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

Link to comment
Share on other sites

OK, I found out with try and error. The configuration for the configure.php in the root is:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', '');

define('HTTPS_SERVER', 'https://www.herzglut.com/');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', 'https://www.herzglut.com/');

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

 

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

define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/');

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

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

Link to comment
Share on other sites

Only wanting a shop on https://dadadada.com

 

On http://dadadada.com should be something completely different (= NO shop).

 

As the problem started (http:// database-files not showing up) , when I firstly had filled in the "http://..." within the configure.php file, I tried to take these infos out of configure.php.

 

Now I'm trying to again put it back in (slowly everything one by one...)

 

This should go fine with my hosting-provider as you can see on the homepages...

 

It's 1) a database conflict or 2) a configure.php problem.

 

Thanks very much for your time!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...