WN

WN (https://www.wn.se/forum/index.php)
-   Serversidans teknologier (https://www.wn.se/forum/forumdisplay.php?f=4)
-   -   phpBB-installation slutade plötsligt fungera (https://www.wn.se/forum/showthread.php?t=1054659)

Dakota 2012-08-24 21:01

phpBB-installation slutade plötsligt fungera
 
Har haft en phpBB-installation up and running i ungefär 2 månader nu utan något som helst problem. Men nyss när jag skulle logga in som administratör så fick jag en del errors, bland annat
Citat:

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically
.

Jag kan logga in, men när jag vill komma åt adminpanelen och måste skriva in lösenordet igen så får jag errors och sedan står det "Du har inte administrationsbehörighet och kan därför inte visa administrationspanelen." fast att jag är administratör!

När jag svarade i en tråd så fick jag dessutom några errors. Har inte mixtrat med någonting, förstår inte vad som är fel?

Jake.Nu 2012-08-24 22:03

Uppdaterat PHP kanske?

error_reporting ändras och börjar spotta ur sig saker som är (och säkert varit under lång tid) fel i koden.

Rätt sätt: Rätta felen
Fel sätt: Ändra till error_reporting = 0

php.ini-production
Kod:

; Error Level Constants:
; E_ALL            - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
; E_ERROR          - fatal run-time errors
; E_RECOVERABLE_ERROR  - almost fatal run-time errors
; E_WARNING        - run-time warnings (non-fatal errors)
; E_PARSE          - compile-time parse errors
; E_NOTICE          - run-time notices (these are warnings which often result
;                    from a bug in your code, but it's possible that it was
;                    intentional (e.g., using an uninitialized variable and
;                    relying on the fact it's automatically initialized to an
;                    empty string)
; E_STRICT          - run-time notices, enable to have PHP suggest changes
;                    to your code which will ensure the best interoperability
;                    and forward compatibility of your code
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
;                    initial startup
; E_COMPILE_ERROR  - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR      - user-generated error message
; E_USER_WARNING    - user-generated warning message
; E_USER_NOTICE    - user-generated notice message
; E_DEPRECATED      - warn about code that will not work in future versions
;                    of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
;  E_ALL (Show all errors, warnings and notices including coding standards.)
;  E_ALL & ~E_NOTICE  (Show all errors, except for notices)
;  E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
;  E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT


Dakota 2012-08-24 22:57

Så detta orsakas av att php har uppdaterats av webbhotellet men phpBB inte har släppt en uppdatering?

Jake.Nu 2012-08-25 00:10

Första svaret på google: https://www.phpbb.com/customise/db/o...88162-start_60


Alla tider är GMT +2. Klockan är nu 13:17.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson