Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

It was working....


MilwaukeeDJ

Recommended Posts

Well, it was working fine, but now any of the secure links appear to be screwed up. I've tried everything I could think of, but to no avail. If you want to see what's happening, go to http://djbulbs.com, then click Log in, Create account or Checkout links. FYI, here's my config file:

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://www.djbulbs.com'); // eg, ht - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.djbulbs.com'); // eg, - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'djbulbs.com');

define('HTTPS_COOKIE_DOMAIN', 'djbulbs.com');

define('HTTP_COOKIE_PATH', 'djbulbs.com');

define('HTTPS_COOKIE_PATH', 'djbulbs.com');

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

define('DIR_WS_HTTPS_CATALOG', '/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'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'djtrocks_bulbs');

define('DB_SERVER_PASSWORD', 'PASSWORD');

define('DB_DATABASE', 'djtrocks_bulbs');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Hold your curser over the links you mentioned while looking at the url path at the bottom of your browser. "Cart contents" is working fine but you can see the problem with "my account" and "checkout".

 

I am sending you a personal message(pm) please read that as well.

Link to comment
Share on other sites

Hello,

Your configure file has placed you in all probs.

What I see is https on links where as the config file you pasted had http even for secured url and you have set ssl as false.

 

Also I do not see a / in between.

 

SO you need to fix the config file.

 

Satish

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

I know that there's a / missing in the links, but I can't figure out how to fix it. Also, if I manually enter the / in the url, it still doesn't work. No matter what I do, I keep getting the same thing. Here are the changes I've made to the config file.

 

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://djbulbs.com/'); // eg, - should not be empty for productive servers

define('HTTPS_SERVER', 'https://djbulbs.com/'); // eg, - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'djbulbs.com/');

define('HTTPS_COOKIE_DOMAIN', 'djbulbs.com/');

define('HTTP_COOKIE_PATH', 'djbulbs.com/');

define('HTTPS_COOKIE_PATH', 'djbulbs.com/');

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

define('DIR_WS_HTTPS_CATALOG', '/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', '209.25.134.7'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'djtrocks_bulbs');

define('DB_SERVER_PASSWORD', 'PASSWORD');

define('DB_DATABASE', 'djtrocks_bulbs');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Ok, it feels like I'm getting closer, but I'm still not having any luck. The secure links are still broken. I don't know why they are pointing to my www directory, without the /. ex. https://djbulbs.comlogin.php/?osCsid=7933e2...bbac2fd41c0eb03 Can anyone help with this? It only happens for log yourself in, create an account and Checkout. Any ideas? Everything else works great.

Link to comment
Share on other sites

I still get a "Server Error - Site Not Found" message when I try to get yoru website - but this is the correct code:

 

define('HTTP_SERVER', 'http://djbulbs.com'); // eg, - should not be empty for productive servers

define('HTTPS_SERVER', 'https://djbulbs.com'); // eg, - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'djbulbs.com');

define('HTTPS_COOKIE_DOMAIN', 'djbulbs.com');

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

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

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

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

 

Vger

Link to comment
Share on other sites

I still get a "Server Error - Site Not Found" message when I try to get yoru website - but this is the correct code:

 

define('HTTP_SERVER', 'http://djbulbs.com'); // eg, - should not be empty for productive servers

define('HTTPS_SERVER', 'https://djbulbs.com'); // eg, - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'djbulbs.com');

define('HTTPS_COOKIE_DOMAIN', 'djbulbs.com');

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

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

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

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

 

Vger

Any ideas why it's pointing to the main directory?

Link to comment
Share on other sites

Those settings I provided are correct. Either you are uploading a changed file on top of a file which is write protected (so no changes take place), or there is something else going on.

 

Try checking in the includes/local/ folders to see if there are any alternative configure.php files in them. If you find any then either rename or delete them.

 

Vger

Link to comment
Share on other sites

Those settings I provided are correct. Either you are uploading a changed file on top of a file which is write protected (so no changes take place), or there is something else going on.

 

Try checking in the includes/local/ folders to see if there are any alternative configure.php files in them. If you find any then either rename or delete them.

 

Vger

 

I checked, and there are no configure files in includes/local/.

Should the setting you provided be in the configure.php files of /includes/ and /admin/includes/?

The reason I ask, I'm not seeing that text in the files anymore.

Link to comment
Share on other sites

I still get a "Server Error - Site Not Found" message when I try to get yoru website - but this is the correct code:

 

define('HTTP_SERVER', 'http://djbulbs.com'); // eg, - should not be empty for productive servers

define('HTTPS_SERVER', 'https://djbulbs.com'); // eg, - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'djbulbs.com');

define('HTTPS_COOKIE_DOMAIN', 'djbulbs.com');

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

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

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

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

 

Vger

 

Try this url: http://djbulbs.com/OSCommerce/catalog/index.php

Link to comment
Share on other sites

I've checked your domain using:

 

ARIN (for US registered sites)

RIPE (for European registered sites)

APNIC (for Asia Pacific registered sites)

LACNIC (for Latin American registered sites)

 

and your domain comes up as being available (not owned by anyone) on every one of those sites. This would explain why I get a "Server not found" message every time I try to go to your site.

 

If I were you I'd start worrying about that first and get osCommerce problems sorted later.

 

Vger

Link to comment
Share on other sites

I've checked your domain using:

 

ARIN (for US registered sites)

RIPE (for European registered sites)

APNIC (for Asia Pacific registered sites)

LACNIC (for Latin American registered sites)

 

and your domain comes up as being available (not owned by anyone) on every one of those sites. This would explain why I get a "Server not found" message every time I try to go to your site.

 

If I were you I'd start worrying about that first and get osCommerce problems sorted later.

 

Vger

 

Domain Start Date Expire Date Server

djbulbs.com 2005-06-07 2006-06-07 supremecenter7.com

Link to comment
Share on other sites

I cant get his site to come up either

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...