PDA

Zobacz pełną wersję : Błąd przy instalacji świeżej wersji.



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}

pablop76
13-11-2022, 00:10
Jaka skórka? Wstaw link.
Wydaje mi się, że problem jest w wersji php

WiktorB
13-11-2022, 11:14
http://preview.astemplates.com/itempreview/292 No mi też się tak wydaje ale nie wiem jak to rozwiązać. Póki co udało mi się obejść problem stosując inny driver przy odzyskiwaniu bazy danych i strona się ładuje, ale nie mogę wprowadzić żadnych zmian, bo wszystko się sypie.

siristru
16-11-2022, 14:36
A spróbuj na żywym serwerze np. smathost.pl daje ci serwer do testowania na 14 dni za darmo.
Jeśli instalujesz lokalnie to problemy mogą wynikać z twojego lokalnego środowiska.