Page 1 of 1

Error 500 after installation

PostPosted: January 22nd, 2013, 3:18 pm
by rshatford
Good morning,
I am trying to install the free version of the software. I am using a windows server 2008 r2 platform to install it on. I have run through the installer, I have set all the apache settings as described in the installation documentation. I am getting an Error 500. It says Server Error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. I am not sure where to go from here. I tried deleting the .htaccess file and it will go to the login page, but then it will not login. Any thoughts or ideas?
Thank you
Bob

Re: Error 500 after installation

PostPosted: January 22nd, 2013, 4:36 pm
by David Tong
Hi Bob, please look at the log files to see if you can get more info for the error; 1) Apache log file. 2) PHP log file 3) TODCM log file. This post viewtopic.php?f=5&t=3 lists the instructions to turn on logging in TODCM, just search for the word logging once you have the page up.

Re: Error 500 after installation

PostPosted: January 22nd, 2013, 9:57 pm
by rshatford
I see this error in the apache log file.
[Tue Jan 22 15:34:16.140311 2013] [core:alert] [pid 1816:tid 1712] [client 10.1.8.69:3861] C:/xampp/htdocs/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration

I have this error in the php log.
[17-Jan-2013 17:32:35 UTC] PHP Warning: file_get_contents(lang.tmp): failed to open stream: No such file or directory in C:\xampp\htdocs\xampp\index.php on line 2

It is wierd though, the server is in timesync with the rest of my network, but the apache log has the correct time while the php log is an hour ahead. Not sure if that means anything. I cannot see anything that constitutes an error in the TODCM log, but the following line is at the top of the log file.
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

Not sure what that means. If it helps, I used the XAMPP installation for my apache, php and mysql.

Thank you
Bob

Re: Error 500 after installation

PostPosted: January 22nd, 2013, 10:43 pm
by David Tong
I am guessing your Apache config file needs the Apache module required for "AddOutputFilterByType" to work. "AddOutputFilterByType" is an option/directive in the TODCM htaccess file. For most default Apache config files all the modules should be listed but some of them are commented out, you would need to uncomment the required module(s) and restart apache. Good Luck!