- Wat is het probleem?
Boven aan in mijn forum staat nu een rij met deze foutcode's
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 307: count(): Parameter must be an array or an object that implements Countable
Wanneer ontstond het probleem?
nadat ik bij mijn host de versie van php 7.0 naar 7.2 heb veranderd omdat 7.0 niet meer ondersteunt word (kan wel maar kost weer extra)
Adres van je forum: http://www.bonsai-stek.nl
Extensies op je forum:
Avatar resize 1.0.0 Details Uitschakelen
Collapsible Forum Categories 1.0.2 Details Uitschakelen
Google Analytics 1.0.4 Details Uitschakelen
Lightbox 2.0.0 Details Uitschakelen
Live topic update 1.0.2 Details Uitschakelen
Magic OGP parser 1.0.3 Details Uitschakelen
Pages 2.0.2 Details Uitschakelen
phpBB SiteMaker 3.0.1 Details Uitschakelen
Precise Similar Topics 1.5.1 Details Uitschakelen
QuickReply Reloaded 2.0.0-beta2Details Uitschakelen
s9e/mediaembed 20170724 Details Uitschakelen
Scroll Page 1.0.2 Details Uitschakelen
SEO URLs 0.3.4 Details Uitschakelen
Share On 2.0.1 Details Uitschakelen
Show First Post Only to Guest 1.2.4 Details Uitschakelen
Simple mentions 1.0.2 Details Uitschakelen
Thanks for posts 2.0.6 Details Uitschakelen
VigLink 1.0.4
Huidige stijl:
late
phpBB versie:
phpbb 3.2.5
Waar is je forum gehost:STRATO
Heb je onlangs iets veranderd aan je forum?
foutmelding na upgraden php7.0 naar7.2
foutmelding na upgraden php7.0 naar7.2
- El torro
- Berichten: 4271
- Lid geworden op: 02 sep 2014, 21:28
- Locatie: In het zonnige zuiden
- Contacteer:
Re: foutmelding na upgraden php7.0 naar7.2
Dat is een bekende bug voor php7.2
In /phpbb/template/context.php
even een regel aanpassen
https://github.com/phpbb/phpbb/pull/5479/files
In /phpbb/template/context.php
even een regel aanpassen
https://github.com/phpbb/phpbb/pull/5479/files
Re: foutmelding na upgraden php7.0 naar7.2
Kan ook door de "Simple Mention" extensie komen... Zie:
https://www.phpbb.com/customise/db/exte ... 26#p625026
https://www.phpbb.com/customise/db/exte ... 26#p625026
Forum voor NL Extensie vertalingen ---> https://www.solidjeuh.fun
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Re: foutmelding na upgraden php7.0 naar7.2
Ik vermoed dat het ligt aan één van de extensies welke je geinstalleerd hebt. Je kan ze het beste even allemaal uitzetten, kijken of de fout dan weg is, en daarna proberen stuk voor stuk de extensies weer aan te zetten. Na iedere extensie aanzetten kijken of de fout optreed, en hierna weet je welke extensie de oorzaak is.
. Daarna is de laatste versie van mentions compitable met 7.2
Dan had de foutmelding wel iets gezegd over mentions, wat niet zo isSolidjeuh schreef: ↑31 dec 2018, 14:56Kan ook door de "Simple Mention" extensie komen... Zie:
https://www.phpbb.com/customise/db/exte ... 26#p625026

Dit zal het niet oplossen, aangezien de foutmelding komt uit language.php, niet uit context.phpEl torro schreef: ↑31 dec 2018, 14:54Dat is een bekende bug voor php7.2
In /phpbb/template/context.php
even een regel aanpassen
https://github.com/phpbb/phpbb/pull/5479/files
Re: foutmelding na upgraden php7.0 naar7.2
oke bedankt alvast zover !
ga ik even een voor een de extensies uitschakelen en kijken
ga ik even een voor een de extensies uitschakelen en kijken
Re: foutmelding na upgraden php7.0 naar7.2
het is de sitemaker extensie.
is ook een update van beschikbaar maar als ik die download en upload naar mijn ftp dan krijg ik http 500 server error :/
bahhh me hele site is nu veranderd :O
de page was als je naar mijn site url gaat de homepage en ook het logo verwees naar mijn page
op die page had ik mijn site opgebouwd met blocks van de sitemaker extensie
nu is die page weg en krijg je gewoon het forum met de bloks er in is gebeurt nadat ik de extensies had uitgeschakeld en weer ingeschakeld
hmmmm nog meer uitzoeken
is ook een update van beschikbaar maar als ik die download en upload naar mijn ftp dan krijg ik http 500 server error :/
bahhh me hele site is nu veranderd :O
de page was als je naar mijn site url gaat de homepage en ook het logo verwees naar mijn page
op die page had ik mijn site opgebouwd met blocks van de sitemaker extensie
nu is die page weg en krijg je gewoon het forum met de bloks er in is gebeurt nadat ik de extensies had uitgeschakeld en weer ingeschakeld
hmmmm nog meer uitzoeken

Re: foutmelding na upgraden php7.0 naar7.2
Een HTTP 500 error betekend meestal dat er iets echt goed fout is. In de error log staat vaak wat dat precies is. Deze error_log kan je vinden in het control panel van je webhost.
Re: foutmelding na upgraden php7.0 naar7.2
de http 500 error komt nadat ik de sitemaker heb geupdate van versie 3.0.1 naar 3.1.1
dus versie 3.0.1 weer even terug gezet en een vraag uitgezet in discussion/support van de extensie op phpbb.com
even afwachten dus
nu zit ik enkel nog dat mijn page die ik gebruikte als homepage voor mijn site niet meer mijn startpagina is als er naar bonsai-stek.nl genavigeert word
iemand een idee hoe ik dat weer goed krijg?
ik heb al geprobeerd bij mijn host de forward te veranderen maar dat lukt niet echt goed
dus versie 3.0.1 weer even terug gezet en een vraag uitgezet in discussion/support van de extensie op phpbb.com
even afwachten dus

nu zit ik enkel nog dat mijn page die ik gebruikte als homepage voor mijn site niet meer mijn startpagina is als er naar bonsai-stek.nl genavigeert word
iemand een idee hoe ik dat weer goed krijg?
ik heb al geprobeerd bij mijn host de forward te veranderen maar dat lukt niet echt goed
Re: foutmelding na upgraden php7.0 naar7.2
Dat is een regel die je moet toevoegen in .htaccess normaal gezien.
Zoals voor het portaal:
Zoals voor het portaal:
DirectoryIndex app.php/portal index.php index.html index.htm
Forum voor NL Extensie vertalingen ---> https://www.solidjeuh.fun
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Re: foutmelding na upgraden php7.0 naar7.2
Code: Selecteer alles
<IfModule mod_rewrite.c>
RewriteEngine on
#
# 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 /
Redirect /forum /app.php/forum
#RewriteRule ^forum(/)?$ app.php/forum?id_page=1
#RewriteRule ^forum/$ /app.php/forum [QSA,L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html viewtopic.php?f=$2&t=$4&start=$5&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*).html viewtopic.php?f=$2&t=$4&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/index-s([0-9]*).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/ viewforum.php?f=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*) viewforum.php?f=$2&%{QUERY_STRING} [L]
#DirectoryIndex app.php/index index.php index.html index.htm
#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>
als mijn main page zou ik weer https://www.bonsai-stek.nl/start willen hebben en die met blocks van sitebuilder opbouwen
Re: foutmelding na upgraden php7.0 naar7.2
Dan plaats je dit in .htaccess
Zal er dus zo uitzien:
DirectoryIndex app.php/start index.php index.html index.htm
Zal er dus zo uitzien:
Code: Selecteer alles
<IfModule mod_rewrite.c>
RewriteEngine on
DirectoryIndex app.php/start index.php index.html index.htm
#
# 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 /
Redirect /forum /app.php/forum
#RewriteRule ^forum(/)?$ app.php/forum?id_page=1
#RewriteRule ^forum/$ /app.php/forum [QSA,L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html viewtopic.php?f=$2&t=$4&start=$5&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*).html viewtopic.php?f=$2&t=$4&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/index-s([0-9]*).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/ viewforum.php?f=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*) viewforum.php?f=$2&%{QUERY_STRING} [L]
#DirectoryIndex app.php/index index.php index.html index.htm
#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>
Forum voor NL Extensie vertalingen ---> https://www.solidjeuh.fun
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Re: foutmelding na upgraden php7.0 naar7.2
Solidjeuh schreef: ↑01 jan 2019, 19:38Dan plaats je dit in .htaccess
DirectoryIndex app.php/start index.php index.html index.htm
Zal er dus zo uitzien:
Code: Selecteer alles
<IfModule mod_rewrite.c> RewriteEngine on DirectoryIndex app.php/start index.php index.html index.htm # # 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 / Redirect /forum /app.php/forum #RewriteRule ^forum(/)?$ app.php/forum?id_page=1 #RewriteRule ^forum/$ /app.php/forum [QSA,L] RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html viewtopic.php?f=$2&t=$4&start=$5&%{QUERY_STRING} [L] RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*).html viewtopic.php?f=$2&t=$4&%{QUERY_STRING} [L] RewriteRule ^(.*)-f([0-9]*)/index-s([0-9]*).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L] RewriteRule ^(.*)-f([0-9]*)/ viewforum.php?f=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-f([0-9]*) viewforum.php?f=$2&%{QUERY_STRING} [L] #DirectoryIndex app.php/index index.php index.html index.htm #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>
het is een stap vooruit maar nu zegt hij dat die pagina niet word gevonden maar als ik naar site/app.php/start of site/start ga is de pagina er wel gewoon
Re: foutmelding na upgraden php7.0 naar7.2
En als je url herschrijven inschakelt ?
Beheerderspaneel / Server instellingen / URL herschrijven inschakelen:
Beheerderspaneel / Server instellingen / URL herschrijven inschakelen:
Forum voor NL Extensie vertalingen ---> https://www.solidjeuh.fun
----------------------------------------------------------------------------
----------------------------------------------------------------------------