Dean Posted December 8, 2003 Share Posted December 8, 2003 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 More sharing options...
Guest Posted December 8, 2003 Share Posted December 8, 2003 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 More sharing options...
Dean Posted December 8, 2003 Author Share Posted December 8, 2003 Thanks for this.. I've tried it but is still doesn't always load. Are you getting any problems? Link to comment Share on other sites More sharing options...
Dean Posted December 9, 2003 Author Share Posted December 9, 2003 In fact, is anyone else getting any problems at all? Be useful to see if it is a local connection? Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2003 Share Posted December 9, 2003 I had a problem on account signup - there was a missing / in the URL - dunno why this is :blink: Matti Link to comment Share on other sites More sharing options...
Pcsphere Posted December 22, 2003 Share Posted December 22, 2003 I've been having these problems as well....does anyone have a solution??? Link to comment Share on other sites More sharing options...
Dean Posted February 23, 2004 Author Share Posted February 23, 2004 Thought I solved this... but the error is still occuring. Does anyone know what this is caused by? Link to comment Share on other sites More sharing options...
Dean Posted February 23, 2004 Author Share Posted February 23, 2004 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 More sharing options...
ibandyop Posted February 23, 2004 Share Posted February 23, 2004 Nice site. Had no problem surfed several pages. ibandyop Link to comment Share on other sites More sharing options...
Dean Posted February 23, 2004 Author Share Posted February 23, 2004 Could an error like this be caused by a server sql setting? It sometimes doesn't go through, but refresh and it does. Link to comment Share on other sites More sharing options...
Dean Posted February 24, 2004 Author Share Posted February 24, 2004 Anyone? Link to comment Share on other sites More sharing options...
ptrau Posted February 24, 2004 Share Posted February 24, 2004 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 More sharing options...
Dean Posted February 24, 2004 Author Share Posted February 24, 2004 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 More sharing options...
Dean Posted February 24, 2004 Author Share Posted February 24, 2004 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 More sharing options...
Guest Posted February 24, 2004 Share Posted February 24, 2004 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 More sharing options...
Dean Posted February 25, 2004 Author Share Posted February 25, 2004 It's not a local setting, as various people are experiencing it from around the world. Can anyone see anything wrong with my code above? Link to comment Share on other sites More sharing options...
241 Posted February 25, 2004 Share Posted February 25, 2004 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.