HokieTracks Posted July 24, 2009 Share Posted July 24, 2009 Hi, I have recently been getting a 500 Server Error on my website but only in one folder and the rest work fine. I have checked my .htaccess and php.ini and everything seems fine. Anyone know why this might be happening? Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/ Share on other sites More sharing options...
rhodesa Posted July 24, 2009 Share Posted July 24, 2009 if you remove the .htaccess file, does the 500 error go away? my guess is it's the .htaccess file that is causing problems Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882086 Share on other sites More sharing options...
HokieTracks Posted July 24, 2009 Author Share Posted July 24, 2009 No the error doesn't go away. Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882089 Share on other sites More sharing options...
rhodesa Posted July 24, 2009 Share Posted July 24, 2009 a 500 error on a folder eh? what kind of files are in it? There aren't any .htaccess files in parent dirs? Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882156 Share on other sites More sharing options...
HokieTracks Posted July 24, 2009 Author Share Posted July 24, 2009 Well in the folder there a two php files and one css file. The css file is the only one that doesn't have the error. But, going to /folder or /folder/file.php or /folder/file2.php always brings up the error. And yes there is a .htaccess in the parent folder but that only contains a redirect. Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882177 Share on other sites More sharing options...
HokieTracks Posted July 24, 2009 Author Share Posted July 24, 2009 Apparently it's a problem with Aptana because I tried uploading the folder to a different location and I got the same problem. Then I tried creating the same exact files with notepad and they work fine. Has anyone else had a problem like this with Aptana? Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882199 Share on other sites More sharing options...
rhodesa Posted July 24, 2009 Share Posted July 24, 2009 ah, they may have had some strange hidden characters in the files. sometimes that happens when you move files between window/linux Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-882214 Share on other sites More sharing options...
kpax1684 Posted August 17, 2009 Share Posted August 17, 2009 Hi there im a newbie here in phpfreak forum and i am also a newbie in using php.... I have a diffuculty in getting the time interval of dates.. ex: i want to get the minutes interval of this two dates.. date1 = 08-14-2009 08:00:00 date2 = 08-14-2009 09:00:00 Pls help me to do this... Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-900294 Share on other sites More sharing options...
rhodesa Posted August 17, 2009 Share Posted August 17, 2009 Please don't hijack this post...start a new one: http://www.phpfreaks.com/forums/index.php?action=post;board=3.0 Quote Link to comment https://forums.phpfreaks.com/topic/167294-500-server-error-for-only-one-folder/#findComment-900299 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.