aeroswat Posted June 28, 2010 Share Posted June 28, 2010 This is really irritating me and unless i'm just absolutely not paying attention to something on this im about to just give this host the boot. Please some one make me feel stupid for missing something here I am getting a 500 http error on this page altercounty.php <?php echo "rawr"; if($_GET['type']==1) { echo "2" } ?> I visit this page: http://www.xxxxxx.org/functions/altercounty.php?type=1 Link to comment https://forums.phpfreaks.com/topic/206113-please-make-me-feel-stupid/ Share on other sites More sharing options...
conker87 Posted June 28, 2010 Share Posted June 28, 2010 Tried the .htaccess file in this folder? Link to comment https://forums.phpfreaks.com/topic/206113-please-make-me-feel-stupid/#findComment-1078429 Share on other sites More sharing options...
PFMaBiSmAd Posted June 28, 2010 Share Posted June 28, 2010 You are missing a semi-colon ; on the end of one of the lines of code. You should be developing and debugging php code on a system with error_reporting set to E_ALL and display_errors set to ON in your master php.ini so that php will report and display all the errors it detects. You will save a ton of time. Link to comment https://forums.phpfreaks.com/topic/206113-please-make-me-feel-stupid/#findComment-1078430 Share on other sites More sharing options...
aeroswat Posted June 28, 2010 Author Share Posted June 28, 2010 You are missing a semi-colon ; on the end of one of the lines of code. You should be developing and debugging php code on a system with error_reporting set to E_ALL and display_errors set to ON in your master php.ini so that php will report and display all the errors it detects. You will save a ton of time. Rofl. I cut it down to this small amount of code to find that... zzz thank you pfma. I thought I was done editing it but I'm not. I guess I can go in and change that real fast. Thanks again Link to comment https://forums.phpfreaks.com/topic/206113-please-make-me-feel-stupid/#findComment-1078431 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.