I have installed Moodle to http://www.ttemple.org/gbf_ordain/
It was a instant install through my domain host, SimpleHost.
I keep getting the following error.
***
Error 500
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 ttemple@ttemple.org
Please be sure to include this information: /gbf_ordain/
Thank you!
***
What could possibly be wrong?
Please let us have the specification for your system (O/S, PHP, MySql, Moodle and versions of same), and a copy of your config.php file. Remove the password though.
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.
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 209.234.187.2] /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.
There isn't a .htaccess file in the folder that I see.
Hello!
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..
WP1
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..
WP1
Hello Deartra,
I agree with Zbigniew. Just a few more things,
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?
I did that and it is still not working. I can't find the .htaccess file.
You can't see it because it's an 'hidden' file. Are your working from the command line or something else? Either just blindly type the rm command or you may need to switch on viewing hidden files.
Okay, I removed the .htaccess file using the file manager through my host. I am still getting the 500 internal server error. I checked the error log. This is the error I am getting now...
[Thu Aug 12 10:55:34 2004] [error] [client 216.110.48.82] 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?
[Thu Aug 12 10:55:34 2004] [error] [client 216.110.48.82] 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?
Hi!
Make sure you have a memory limit of at least 16MB.
WP1
Make sure you have a memory limit of at least 16MB.
WP1
Where do I need to change this information? Is it in the main.php file? If so, in what folder is this file found?
Hi Deartra,
WP1
- 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"
WP1
It did not have any information about the memory in the phopinfo file. I have attached the phpinfo file. It is a htm document.
Is there a reason why there wasn't a mention of the memory?
Is there a reason why there wasn't a mention of the memory?
hhhhhhhhmmmmmmmmmmm I bet it is set at a defoult of 8MB.
Suggest you do the following,
See if the site runs properly then.
WP1
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.
WP1
Check the permissions on the directory gbf_ordain
Hello Deartra,
Did the problem resolve?
WP1
Did the problem resolve?
WP1