mykkah Posted February 1, 2013 Share Posted February 1, 2013 Hey Guys, Sorry to bother you all with such a simple problem, but I have no clue whats going on. So I'm helping a friend put an online assessment test on his website for a church. I have the DB setup on mysql and the config.php seems to be correct, but all I'm getting is source code... It's being hosted on GoDaddy and I'm not familiar with them, but thats just an FYI http://onecommunitycenter.org/sat Thanks for any and all help!!! config.php Quote Link to comment Share on other sites More sharing options...
Christian F. Posted February 1, 2013 Share Posted February 1, 2013 PHP doesn't seem to be enabled on that server, or not installed. The PHP script is delivered as text/plain in any case, and obviously not parsed by the server. So you'll have to get in touch with your host to get that sorted out. Quote Link to comment Share on other sites More sharing options...
DavidAM Posted February 2, 2013 Share Posted February 2, 2013 What is the name of the script file that is being loaded by the server? Is it "sat" as shown in the url? Or is it index.html (in the sat directory)? Or is there some mod_rewrite going on? Unless the server is specifically configured otherwise, only files ending with .php will be executed as PHP scripts. Quote Link to comment Share on other sites More sharing options...
Psycho Posted February 2, 2013 Share Posted February 2, 2013 What is the name of the script file that is being loaded by the server? Is it "sat" as shown in the url? Or is it index.html (in the sat directory)? The file is index.php - I put that on the end of the URL and got the same result. I also loaded up the include files (both .php) and only saw source code as well (including the DB password!). So, PHP files are definitely not being parsed. Quote Link to comment 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.