pski Posted June 9, 2007 Share Posted June 9, 2007 ??? Just getting back into web design and have just put a test server on my home XP computer with Apache, PHP and MYSQL which run fine. The one problem I am getting is that when I load up the website on my home server it loads in fine and then when I try to load another page it gets the page from the online website. It carries on with this alternating routine and I cannot find out why. Setup files appear unchanged and the only thing I have changed are some of the PHP files and after it started doing this strange thing, I copied the original files back to see if that changed anything but no difference was seen. I am not even sure where to look for this problem let alone put it right. Any pointers as to where I should concentrate my efforts on would be appreciated. Thanks pski Quote Link to comment https://forums.phpfreaks.com/topic/54857-pages-loading-from-test-server-then-online-server/ Share on other sites More sharing options...
chigley Posted June 9, 2007 Share Posted June 9, 2007 Can you post the code causing you problems please Quote Link to comment https://forums.phpfreaks.com/topic/54857-pages-loading-from-test-server-then-online-server/#findComment-271305 Share on other sites More sharing options...
pski Posted June 9, 2007 Author Share Posted June 9, 2007 Thanks for the reply However, I do not know what code is behind this problem? When I fire up my website on localhost, it loads the home page fine and with no problems. When I then try one of the links to another part of the website, it goes to the online website and seems to take the pages from there. When I again request another page it goes back to localhost and loads from there, and it seems to do this continously, back and forward all the time. I have absolutely no idea how this occured or when. I was playing about with the PHP files on the localhost, mainly those connected with image and design but nothing has changed except this puzzling act. I can still run localhost website with no problem. Changing files and all other things is OK. Accessing Admin on OSCommerce is not affected using localhost. Bit odd really. Thanks for your concern though. At least I can still carry on without too many difficulties. Regards pski Quote Link to comment https://forums.phpfreaks.com/topic/54857-pages-loading-from-test-server-then-online-server/#findComment-271441 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.