Guest Posted August 7, 2010 Posted August 7, 2010 I'm having major problems with the links within my new osc install. I suspect that it is probably to do with my hosting company but I was wondering if I could resolve it myself. Basically intermittently my osc install loses connection and I get an error stating The connection to the server was reset whilst loading. I can get around this by just typing the www. in front of the address but osc links to all pages by dropping the www. So to explain again sometimes when i click on a linke and go to for example http://scraprat.co.uk/shop/shipping.php i get the error above but if I change it in the address bar to go to http://www.scraprat.co.uk/shop/shipping.php it works fine. Can I make osc keep the www or is there another thing I can do to stop it. My hosting company are looking into it but I'd like to try and sort it out quicker than them! Please help if you can. Tony
germ Posted August 7, 2010 Posted August 7, 2010 Put the www in the configure file: define('HTTP_SERVER', 'http://www.scraprat.co.uk'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted August 7, 2010 Posted August 7, 2010 That simple? What file will I find this in? Sorry I'm kind of new...
germ Posted August 7, 2010 Posted August 7, 2010 That simple? What file will I find this in? Sorry I'm kind of new... /shop/includes/configure.php Yes. Usually that simple. But be aware of the scenario below. In the includes FOLDER (catalog and admin) where the normal configure.php files are there is a FOLDER named local On some installs there may be a configure.php inside the local FOLDER (catalog and admin) If there is, anything in it overrides anything in the normal configure.php files. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.