webbuilder Posted April 9, 2012 Share Posted April 9, 2012 I am running the application on localhost with Windows, IIS, Ms Sql Server. The application connects to the remote database perfectly and logs me in, but after that, all the lists, input fields, etc are blank!! Is there a problem with the extensions or ini settings? The application has frames so works only on IE. The code is fine as it runs fine on the live server. Some of the text fields say 'undefined', others are blank. DB connection is fine and even when I run the function separately it returns the correct values. Just when it is inside the application, it does not run. Surprising thing is that the same application is running fine on live server and people are in fact using it live. Just that when I copied it to localhost, this problem occured. Any help would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/ Share on other sites More sharing options...
trq Posted April 9, 2012 Share Posted April 9, 2012 Your going to need to be a lot more specific about your issues. We cannot see what you are seeing and are not mind readers. Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/#findComment-1335622 Share on other sites More sharing options...
webbuilder Posted April 9, 2012 Author Share Posted April 9, 2012 @admin - I could have posted the code but its not mine, i am just modifying it... secondly, i am not specific because the problem doesnt seem to be specific but general. The web-application has more than 100 pages and in all of them, the input fields are blank.. I have copied the code from the live application which works fine. Just that when i copied it to localhost, this problem occurs. Even the DB queries are running fine. Could be a JS error as well.. Does anyone know about such a problem? Here is php.ini attached. 18011_.txt Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/#findComment-1335624 Share on other sites More sharing options...
trq Posted April 9, 2012 Share Posted April 9, 2012 Make sure you have error reporting enabled in your php.ini and that display errors is turned on. Once you can see some error messages, post them here. Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/#findComment-1335626 Share on other sites More sharing options...
webbuilder Posted April 10, 2012 Author Share Posted April 10, 2012 I use "xmlHTTP_send_post()" to fetch data in all my forms. Is there a way to setup/support AJAX on IIS for PHP easily? Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/#findComment-1335975 Share on other sites More sharing options...
trq Posted April 10, 2012 Share Posted April 10, 2012 There is no such thing as "support for Ajax". Ajax is just a normal http request. Quote Link to comment https://forums.phpfreaks.com/topic/260606-application-setup-problem-on-localhostworks-fine-live/#findComment-1336001 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.