WiktorB
12-11-2022, 22:36
Witajcie,
Robię dla siebie nową stronkę i kupiłem skórkę. Zainstalowałem świeżą wersję xampp i postępując zgodnie z instrukcjami kliknąłem kikstart. Wcześniej oczywiście utworzyłem nową bazę danych w PhPMyAdmin. Pierwszy problem pojawił się w trakcie etapu na którym akeeba próbowała przywrócić bazę danych. Wyskoczył mi błąd "Unable to connect to the Database: SESSION variable 'max_allowed_packet' is read-only. Use SET GLOBAL to assign the value". Kompletnie nie mogę znaleźć w necie co to może być, bo na ogół ten problem pojawia się przy migracji z localhost na serwer bądź odwrotnie, a tutaj jest świeża instalacja. Po dłuższych poszukiwaniach poddałem się i kliknąłem dostępną opcję skip restoring. Przeszedłem następny etap, choć nie miałem tam opcji zmiany hasła, która powinna tam być. Zakończyłem i wyskoczyły błędy (załącznik). Wyczyściłem pliki instalacyjne i próbowałem wejść na stronę główną, ale wyskoczył fatal error i oczywiście nie potrafię nic z tym zrobić.
Bardzo proszę o jakieś wsparcie... :zagubiony:
Poniżej to, co się pojawiło przy próbie zakończenia instalacji. Załączyłem też screen.
Deprecated: Return type of APimple::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 133
Deprecated: Return type of APimple::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 101
Deprecated: Return type of APimple::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 82
Deprecated: Return type of APimple::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 143
Deprecated: AInput implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\input\input.php on line 38
Deprecated: Return type of AInput::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\input\input.php on line 104
Application Error
Please submit the following error message and trace in its entirety when requesting support
TypeError — count(): Argument #1 ($value) must be of type Countable|array, null given
C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php::L221
#0 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php(332): AApplication->enqueueMessage('Unable to conne...', 'error')
#1 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\controller\controller.php(1031): AApplication->redirect('http://localhos...', 'Unable to conne...', 'error')
#2 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\dispatcher\dispatcher.php(278): AController->redirect()
#3 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php(176): ADispatcher->dispatch()
#4 C:\xampp\htdocs\sesjerodzinne\installation\index.p hp(115): AApplication->dispatch()
#5 C:\xampp\htdocs\sesjerodzinne\installation\index.p hp(230): mainLoop()
#6 {main}
Robię dla siebie nową stronkę i kupiłem skórkę. Zainstalowałem świeżą wersję xampp i postępując zgodnie z instrukcjami kliknąłem kikstart. Wcześniej oczywiście utworzyłem nową bazę danych w PhPMyAdmin. Pierwszy problem pojawił się w trakcie etapu na którym akeeba próbowała przywrócić bazę danych. Wyskoczył mi błąd "Unable to connect to the Database: SESSION variable 'max_allowed_packet' is read-only. Use SET GLOBAL to assign the value". Kompletnie nie mogę znaleźć w necie co to może być, bo na ogół ten problem pojawia się przy migracji z localhost na serwer bądź odwrotnie, a tutaj jest świeża instalacja. Po dłuższych poszukiwaniach poddałem się i kliknąłem dostępną opcję skip restoring. Przeszedłem następny etap, choć nie miałem tam opcji zmiany hasła, która powinna tam być. Zakończyłem i wyskoczyły błędy (załącznik). Wyczyściłem pliki instalacyjne i próbowałem wejść na stronę główną, ale wyskoczył fatal error i oczywiście nie potrafię nic z tym zrobić.
Bardzo proszę o jakieś wsparcie... :zagubiony:
Poniżej to, co się pojawiło przy próbie zakończenia instalacji. Załączyłem też screen.
Deprecated: Return type of APimple::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 133
Deprecated: Return type of APimple::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 101
Deprecated: Return type of APimple::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 82
Deprecated: Return type of APimple::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\pimple\pimple.php on line 143
Deprecated: AInput implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\input\input.php on line 38
Deprecated: Return type of AInput::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\input\input.php on line 104
Application Error
Please submit the following error message and trace in its entirety when requesting support
TypeError — count(): Argument #1 ($value) must be of type Countable|array, null given
C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php::L221
#0 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php(332): AApplication->enqueueMessage('Unable to conne...', 'error')
#1 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\controller\controller.php(1031): AApplication->redirect('http://localhos...', 'Unable to conne...', 'error')
#2 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\dispatcher\dispatcher.php(278): AController->redirect()
#3 C:\xampp\htdocs\sesjerodzinne\installation\framewo rk\application\application.php(176): ADispatcher->dispatch()
#4 C:\xampp\htdocs\sesjerodzinne\installation\index.p hp(115): AApplication->dispatch()
#5 C:\xampp\htdocs\sesjerodzinne\installation\index.p hp(230): mainLoop()
#6 {main}