Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

After Installation "Error 500 - Internal server error"

More
15 years 11 months ago #3525 by killa4u
Hello vinikley,

i still have the problem with the internal server error after i set the execution_time to 120 in the .htaccess file.

Can u plz help me?

greats
killa

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago - 14 years 11 months ago #3526 by Guido Kimble
I still get this error.

My max_execution_time is set to 360 (as you can see here www.thekimblefamily.com/phpinfo.php ).  The page gets the error LONG before reaching 6min.

Some of the articles available on this page cause the error (500)... www.thekimblefamily.com/index.php?option=com_content&view=category&id=2&Itemid=4

The problem seems likely to be with the generation of thumbnails.  If the page has a lot of pictures, especially large ones, and hasn't been loaded in a while, you will get the error.  After a couple reloads, the page will load, which I suspect is because it managed so thumbnail/cache a few more images during each refresh before failing.  Once it has cached/thumbnailed all the pictures, the page will load successfully repeatedly.  But come back tomorrow and it will 500-error again.

I too have hosting with 1&1.  But as you can see in my PHP info, my settings seem overly generous.  I have a .htaccess and php.ini helping to adjust them.

I need some help trying to figure out what is causing this error.

PHP.ini
[PHP]
register_globals = Off
memory_limit = 64M

; Maximum size of POST data that PHP will accept.
post_max_size = 64M

; Maximum allowed size for uploaded files.
upload_max_filesize = 32M

max_execution_time = 360     ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data

.htaccess
#
# Apache/PHP settings:
#

# Force PHP v5
AddType x-mapp-php5 .php

# Override PHP settings. The following cannot be changed at runtime.

# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value memory_limit                    64M
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value post_max_size                   64M
  php_value upload_max_filesize             32M
  php_value max_execution_time              360
  php_value max_input_time                  120
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value memory_limit                    64M
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value post_max_size                   64M
  php_value upload_max_filesize             32M
  php_value max_execution_time              360
  php_value max_input_time                  120
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value memory_limit                    64M
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
  php_value post_max_size                   64M
  php_value upload_max_filesize             32M
  php_value max_execution_time              360
  php_value max_input_time                  120
</IfModule>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum