Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot find server problems


Dean

Recommended Posts

Hi,

 

I seem to be having a problem with a catlog I have put together - http://www.casalibra.com/catalog/

 

I've looked through this forum and see that many people are having the same problems... but not many solved.

 

What happens is that when someone tries accessing the index.php (or any other php files in catalog) the page return 'cannot find server'. Then if you refresh a few times, you finally go through ok. This probably happens about 60% of all visits. However, I have never had the problem in NS - only in IE!

 

This is what the config looks like.... can anyone see anything wrong?

 

// Define the webserver and path parameters

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

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

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

 

 

 

Hope someone can help as this is driving me nuts!!! Arghhhhh

 

Thanks is advance!

 

Cheers,

 

 

Dean

Link to comment
Share on other sites

The only thing I see wrong in your config is this:

 

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

 

Try:

 

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

 

HTH

 

Matti

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Ok. Is anyone else having this problem or had this problem.... I've heard or various people say they have!

 

I think it would be interesting to see, as there needs to be a fix or summary of cause for this. Any help?

Link to comment
Share on other sites

maybe one of two things:

 

1) if you have just registered or transferred your domain, it can take 78 hours for all of the DNS servers to populate

 

2) if your server has had intermittant outages it can cause that

 

I also see that your https url is an http

 

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

 

I did not have any problems on your site

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

The only thing I see wrong in your config is this:

 

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

 

Try:

 

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

 

HTH

 

Matti

Any further help on this would be appreciated.

Link to comment
Share on other sites

This is my current configure.php file....

 

 

<?php

/*

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.casalibra.com'); // eg, http://localhost - should not be empty for productive servers

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

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

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

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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/virtual/site22/fst/var/www/html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/virtual/site22/fst/var/www/html/catalog/download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/home/virtual/site22/fst/var/www/html/catalog/pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

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

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

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

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

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

 

// BG: BGI: 09/05/2003: Add Template Code

define('DIR_WS_TEMPLATE', DIR_WS_INCLUDES . 'template.html');

?>

Link to comment
Share on other sites

i had no problems on registering or moving around. if you are getting these errors from your local system, try deleting cookies, tmp files, etc and see what happens then.

 

on another note, what a pain in registering, having to put a title? what if someone doesnt have one? and to put in where they heard of you? and county instead of a different description? that is confusing.

Link to comment
Share on other sites

Here is one minor fault

 

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/virtual/site22/fst/var/www/html/catalog/download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/home/virtual/site22/fst/var/www/html/catalog/pub/');

this will effectivly double the url

 

try this

define('DIR_FS_DOWNLOAD', '/home/virtual/site22/fst/var/www/html/catalog/download/');
define('DIR_FS_DOWNLOAD_PUBLIC', '/home/virtual/site22/fst/var/www/html/catalog/pub/');

or this

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

either of the above should work

 

If this is the url http://www.casalibra.com/catalog/index.php it works no problem in ie6

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...