Benjjj6 Posted August 1, 2008 Share Posted August 1, 2008 Hi When I view a category with more than one page and click "Next Page" or a Page Number I get a standard address not found error due to the fact that it is linking to: http://www.mysite.comindex.php/?page=2&sort=2a&manufacturers_id=22 rather than: http://www.mysite.com/index.php/?page=2&sort=2a&manufacturers_id=22 I am 99% sure that this must have happened in the last few days as I have only just noticed this problem. The only change I have recently made is this one, afte rmy host upgraded to php 5. What could be the problem? how do I fix it? Thanks, Ben Link to comment Share on other sites More sharing options...
Benjjj6 Posted August 1, 2008 Author Share Posted August 1, 2008 I've managed to temporarily fix the problem my changing my 1 line in my configure.php file from this: define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.mysite.co.uk'); // eg, https://localhost - should not be empty for productive servers to this: define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.mysite.co.uk/'); // eg, https://localhost - should not be empty for productive servers (notice the '/' after the HTTPS URL) Why should this make any difference whatsoever, as I am not using an SSL on any pages as I dont have one installed? Link to comment Share on other sites More sharing options...
spooks Posted August 1, 2008 Share Posted August 1, 2008 Check your configure.php what do you have for define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Benjjj6 Posted August 1, 2008 Author Share Posted August 1, 2008 Hi My shop's installed in the root and I don't have an SSL installed so I just have: define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); But I really can't imagine why this is happening now. Maybe something to do with my host upgrading to php 5? As surely I would have noticed this problem before. Link to comment Share on other sites More sharing options...
Guest Posted August 1, 2008 Share Posted August 1, 2008 Have you checked your config file? That is where I would start. Sorry for the Johnny come lately... guess it was an old tab. Link to comment Share on other sites More sharing options...
Benjjj6 Posted August 1, 2008 Author Share Posted August 1, 2008 heh! nevermind :) thanks for your help anyway Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 1, 2008 Share Posted August 1, 2008 Hi My shop's installed in the root and I don't have an SSL installed so I just have: define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); But I really can't imagine why this is happening now. Maybe something to do with my host upgrading to php 5? As surely I would have noticed this problem before. define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); those should be the same define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Then REMOVE your previous addition of / to the define('HTTPS_SERVER' Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Benjjj6 Posted August 1, 2008 Author Share Posted August 1, 2008 Thankyou Robert!! :) After your suggestion it is all back to normal now :) Do you think this was related to the upgrade to php5? Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 1, 2008 Share Posted August 1, 2008 Thankyou Robert!! :) After your suggestion it is all back to normal now :) Do you think this was related to the upgrade to php5? No it was related to your configure settings. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.