It was a instant install through my domain host, SimpleHost.
I keep getting the following error.
http://ttemple.org/gbf_ordain/ /gbf_ordain/ 500
Oh oh, something has gone wrong. There has been an internal server error.
Looks like somebody is in trouble.
Please report this error to email@example.com
Please be sure to include this information: /gbf_ordain/
What could possibly be wrong?
Do you have access to the Web server error logs - if so is there anything suspicious immediately after this happens?
Error 500 - doesn't tell you anything useful at all I'm afraid.
My O/S is FreeBSD.
PHP - 4.3.8
MySQL - 4.0.15
Moodle - 1.2.1
Here is the error from the error log...
[Wed Aug 11 16:53:58 2004] [alert] [client 126.96.36.199] /usr/home/ttemple/public_html/gbf_ordain/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
This error occurs over 15 times in the log.
I've attached the config.php. Hopefully, you can access it.
Remove the .htaccess file in the gbf_ordain directory.
If you are using FTP you need to check the instructions of the client you are using to see what procedure/command you need to use to get "invisilble" system files to show. I think it is -al or -la. It is there somewhere, but, you cannot see it. If you continue to have a problem with it ask your web host to remove it for you and how to get it to visualize on the server, if you need to get it to do so in the future..
I agree with Zbigniew. Just a few more things,
- Never ever post the "config.php" file with your true username and password (especially not the password).
- remove th data directory "uploaddata" out of the "moodle" directory [which is "gbf_ordain" in this instance], so instead of,
- $CFG->dataroot = '/usr/home/ttemple/public_html/gbf_ordain/uploaddata'; you would have,
- $CFG->dataroot = '/usr/home/ttemple/uploaddata'; or at least,
- $CFG->dataroot = '/usr/home/ttemple/public_html/uploaddata';
- Post the ".htaccess" file here. I am not that good with ".htaccess", but, maybe someone else can figure out what is inside of it that is causing this problem. Why was the ".htaccess" file there in the first place?
[Thu Aug 12 10:55:34 2004] [error] [client 188.8.131.52] Premature end of script headers: /usr/home/ttemple/public_html/gbf_ordain/index.php
I haven't changed anything on any of the PHP files. What could be the problem?
Make sure you have a memory limit of at least 16MB.
- Put the following code inside of a text file and name it "phpinfo.php"
- <? phpinfo() ?>
- Place the file inside the "public_html" folder
- Go to the file via http://YourWebSiteName.com/phpinfo.php
- On the resulting page look for the following in the left column "memory_limit"
Is there a reason why there wasn't a mention of the memory?
Suggest you do the following,
- Create a file named "php.ini" (no quotes)
- Inside of the "php.ini" file place the following text (No bullets included)
- memory_limit = 16M;
- Place the "php.ini" file inside of the main Moodle directory.
The Path should look like moodle/php.ini
See if the site runs properly then.
Check the permissions on the directory gbf_ordain
Did the problem resolve?