Results 1 to 6 of 6

Thread: phpBB 3.1.7-pl1 500 error for app.php

  1. #1
    Guest

    Default phpBB 3.1.7-pl1 500 error for app.php

    any extension that uses app.php from phpBB 3.1.7-pl1 throws a 500 server error.

    here's my .htaccess file if that is needed
    Code:
    # # av:php5-engine
    AddHandler av-php54 .php
    
    # av:PHP-upload
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_input_time 300
    # PHP-upload
    <IfModule mod_rewrite.c>
    SetEnv HTTP_MOD_REWRITE On
    RewriteEngine on
    
    #
    # Uncomment the statement below if you want to make use of
    # HTTP authentication and it does not already work.
    # This could be required if you are for example using PHP via Apache CGI.
    #
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    
    #
    # The following 3 lines will rewrite URLs passed through the front controller
    # to not require app.php in the actual URL. In other words, a controller is
    # by default accessed at /app.php/my/controller, but can also be accessed at
    # /my/controller
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ app.php [QSA,L]
    
    #
    # If symbolic links are not already being followed,
    # uncomment the line below.
    # http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
    #
    #Options +FollowSymLinks
    </IfModule>
    
    # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
    # module mod_authz_host to a new module called mod_access_compat (which may be
    # disabled) and a new "Require" syntax has been introduced to mod_authz_host.
    # We could just conditionally provide both versions, but unfortunately Apache
    # does not explicitly tell us its version if the module mod_version is not
    # available. In this case, we check for the availability of module
    # mod_authz_core (which should be on 2.4 or higher only) as a best guess.
    <IfModule mod_version.c>
    	<IfVersion < 2.4>
    		<Files "config.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "common.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    	</IfVersion>
    	<IfVersion >= 2.4>
    		<Files "config.php">
    			Require all denied
    		</Files>
    		<Files "common.php">
    			Require all denied
    		</Files>
    	</IfVersion>
    </IfModule>
    <IfModule !mod_version.c>
    	<IfModule !mod_authz_core.c>
    		<Files "config.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "common.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    	</IfModule>
    	<IfModule mod_authz_core.c>
    		<Files "config.php">
    			Require all denied
    		</Files>
    		<Files "common.php">
    			Require all denied
    		</Files>
    	</IfModule>
    </IfModule>
    forum is set up in the /forum/ folder

  2. #2
    Guest

    Default

    does anyone know what i need to change?

  3. #3
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    Try to add
    Code:
    RewriteBase /forum/
    just below RewriteEngine on.

  4. #4
    Guest

    Default

    when i add that, i get the following error
    Error 500

    An error occurred.

    This error may be due to an erroneus .htaccess file, added by you or by a script in the current directory, or by an external connection to an unreachable remote host

    To check the .htaccess file you should login in your control panel, click on file management and then on the gear icon.

  5. #5
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    It's a phpBB bug, you can read more about it here: https://tracker.phpbb.com/browse/PHPBB3-14483. A temporary workaround is described here: https://www.phpbb.com/community/view...2836#p14352806.

  6. #6
    Guest

    Default

    Quote Originally Posted by karl94 View Post
    It's a phpBB bug, you can read more about it here: https://tracker.phpbb.com/browse/PHPBB3-14483. A temporary workaround is described here: https://www.phpbb.com/community/view...2836#p14352806.
    awesome. thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO