savantcreative Posted February 3, 2009 Share Posted February 3, 2009 I have a site that was developed for me in php that I have pulled down to my windows machine. I have WAMP installed and am able to run a Drupal site that I pulled down. I am not able to run this other site locally. Can someone tell me how to trouble shoot this? Thanks so much for your suggestions. Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/ Share on other sites More sharing options...
revraz Posted February 3, 2009 Share Posted February 3, 2009 Starting off by explaining the actual problem, errors or any other relevant information would help. Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-753728 Share on other sites More sharing options...
savantcreative Posted February 3, 2009 Author Share Posted February 3, 2009 The site does not display correctly. The css file and includes are not being sent to the home page when viewed. Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-753730 Share on other sites More sharing options...
Maq Posted February 3, 2009 Share Posted February 3, 2009 The site does not display correctly. The css file and includes are not being sent to the home page when viewed. But it does display...? Double check your paths, that seems to be the problem. Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-753731 Share on other sites More sharing options...
savantcreative Posted February 3, 2009 Author Share Posted February 3, 2009 Ib theory, shouldn't I be able to drag the contents of the www folder from the site into the www folder of WAMP and all of the paths will remian the same? The site running fine on the server. Thanks- Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-753736 Share on other sites More sharing options...
revraz Posted February 4, 2009 Share Posted February 4, 2009 Why dont you just enable error display and reporting and see what errors are being generated? Is one Windows and one Linux/Unix? Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-754336 Share on other sites More sharing options...
Maq Posted February 4, 2009 Share Posted February 4, 2009 Ib theory, shouldn't I be able to drag the contents of the www folder from the site into the www folder of WAMP and all of the paths will remian the same? The site running fine on the server. Thanks- Well it's obviously the environment. Do you have paths that are now pointing in the wrong directory? Do you have DB connections that need to be changed? Do what revraz suggested and turn on error reporting: ini_set ("display_errors", "1"); error_reporting(E_ALL); Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-754344 Share on other sites More sharing options...
savantcreative Posted February 4, 2009 Author Share Posted February 4, 2009 Why dont you just enable error display and reporting and see what errors are being generated? Is one Windows and one Linux/Unix? Yes. The server in Linux and my machine is Windows. Can I still do it? Thank you- Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-754492 Share on other sites More sharing options...
savantcreative Posted February 4, 2009 Author Share Posted February 4, 2009 Ib theory, shouldn't I be able to drag the contents of the www folder from the site into the www folder of WAMP and all of the paths will remian the same? The site running fine on the server. Thanks- Well it's obviously the environment. Do you have paths that are now pointing in the wrong directory? Do you have DB connections that need to be changed? Do what revraz suggested and turn on error reporting: I am pretty new to all this. How do I do that? How can I learn about this? Thank you- ini_set ("display_errors", "1"); error_reporting(E_ALL); Quote Link to comment https://forums.phpfreaks.com/topic/143651-please-help-running-a-site-locally/#findComment-754495 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.