Code: Select all
[19-Feb-2018 02:54:28 UTC] PHP Fatal error: Cannot redeclare add_log() (previously declared in /home2/zxsquadc/public_html/includes/functions.php:3294) in /home2/zxsquadc/public_html/includes/functions_compatibility.php on line 239
[19-Feb-2018 02:54:34 UTC] PHP Fatal error: Cannot redeclare add_log() (previously declared in /home2/zxsquadc/public_html/includes/functions.php:3294) in /home2/zxsquadc/public_html/includes/functions_compatibility.php on line 239
[19-Feb-2018 02:55:01 UTC] PHP Fatal error: Cannot redeclare add_log() (previously declared in /home2/zxsquadc/public_html/includes/functions.php:3294) in /home2/zxsquadc/public_html/includes/functions_compatibility.php on line 239
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
#
# Uncomment the statement below if URL rewriting doesn't
# work properly. If you installed phpBB in a subdirectory
# of your site, properly set the argument for the statement.
# e.g.: if your domain is test.com and you installed phpBB
# in http://www.test.com/phpBB/index.php you have to set
# the statement RewriteBase /phpBB/
#
#RewriteBase /
#
# 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>
Normally the error is than on the server and you have to speak with your host.it all worked just fine for multiple days
Code: Select all
<?php
echo '<pre>';
print_r($_SERVER);
echo '</pre>';
?>
That would indicate some or all of the files have not been updated to 3.2.2 and it could be the source of your problems. Regardless of whether it is or not it will cause problems. Follow the directions for updating.janus_zonstraal wrote: ↑Mon Feb 19, 2018 9:31 am Why are you posting in 3.2.x if your board is still 3.1.9?
http://kcurbex.org/styles/prosilver/style.cfg
phpbb_version = 3.1.9
For the time being use the stock .htaccess file, you should not need to redirect for it to work properly. Once you have everything sorted out the set up redirect from http to https.
He has a valid cert and while the .htaccess rules are important for redirecting bots, bookmarks and whatever else it's not needed for the forum to function correctly over https and may hide issues.3Di wrote: ↑Wed Feb 21, 2018 5:43 pm To use HTTPs the OP needs a certificate, first off, then the rule used in his .htaccess is okay.
See here: viewtopic.php?p=14811581#p14811581