devon | 2020-04-25 15:34:07 UTC | #1
Witam. Próbowałem zainstalować SkinSystem, wyskoczył błąd 500 i nie ma pojęcia od czego zacząć żeby pozbyć się go. Posiadam apache2 z php 7.3
Na komputerze lokalnym wszystko działa normalnie.
Timo | 2020-04-25 15:47:03 UTC | #2
Błąd 500 jest bardzo ogólny, podaj ostatnie logi błędów serwera apache. Jeśli nie zmieniałeś domyślnej lokalizacji, będzie to najpewniej /var/log/apache2/error
devon | 2020-04-26 17:04:59 UTC | #3
W phpmyadmin pojawił się błąd którego nie było…
Tutaj logi
```[Sat Apr 25 17:30:34.335160 2020] [php7:warn] [pid 1559] [client cenzura:62380] PHP Warning: mkdir(): Permission denied in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 166, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:34.335218 2020] [php7:warn] [pid 1559] [client cenzura:62380] PHP Warning: fileputcontents(../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php): failed to open stream: No such file or directory in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 168, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:34.335259 2020] [php7:error] [pid 1559] [client cenzura:62380] PHP Fatal error: Uncaught Exception: Could not write cache file to path ‘../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php’. Is it writable? in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php:169\nStack trace:\n#0 /var/www/html/SkinSystem/SkinSystem-1.7.2/installation/index.php(9): i18n->init()\n#1 {main}\n thrown in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 169, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:36.677321 2020] [php7:warn] [pid 27855] [client cenzura:62381] PHP Warning: mkdir(): Permission denied in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 166, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:36.677384 2020] [php7:warn] [pid 27855] [client cenzura:62381] PHP Warning: fileputcontents(../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php): failed to open stream: No such file or directory in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 168, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:36.677433 2020] [php7:error] [pid 27855] [client cenzura:62381] PHP Fatal error: Uncaught Exception: Could not write cache file to path ‘../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php’. Is it writable? in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php:169\nStack trace:\n#0 /var/www/html/SkinSystem/SkinSystem-1.7.2/installation/index.php(9): i18n->init()\n#1 {main}\n thrown in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 169, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:57.850218 2020] [php7:warn] [pid 27854] [client cenzura:62388] PHP Warning: mkdir(): Permission denied in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 166, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:57.850268 2020] [php7:warn] [pid 27854] [client cenzura:62388] PHP Warning: fileputcontents(../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php): failed to open stream: No such file or directory in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 168, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:57.850306 2020] [php7:error] [pid 27854] [client cenzura:62388] PHP Fatal error: Uncaught Exception: Could not write cache file to path ‘../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php’. Is it writable? in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php:169\nStack trace:\n#0 /var/www/html/SkinSystem/SkinSystem-1.7.2/installation/index.php(9): i18n->init()\n#1 {main}\n thrown in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 169, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:59.051814 2020] [php7:warn] [pid 24177] [client cenzura:62389] PHP Warning: mkdir(): Permission denied in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 166, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:59.051853 2020] [php7:warn] [pid 24177] [client cenzura:62389] PHP Warning: fileputcontents(../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php): failed to open stream: No such file or directory in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 168, referer: https://sheepcraft.eu/SkinSystem/
[Sat Apr 25 17:30:59.051885 2020] [php7:error] [pid 24177] [client cenzura:62389] PHP Fatal error: Uncaught Exception: Could not write cache file to path ‘../resources/lang/cache/phpi18nee81208bc071b670d521f49696f4324fLen.cache.php’. Is it writable? in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php:169\nStack trace:\n#0 /var/www/html/SkinSystem/SkinSystem-1.7.2/installation/index.php(9): i18n->init()\n#1 {main}\n thrown in /var/www/html/SkinSystem/SkinSystem-1.7.2/resources/server/i18n.class.php on line 169, referer: https://sheepcraft.eu/SkinSystem/
Ps.Nie wiem jak schować to w jakimś boxie
-------------------------
Jebanany | 2020-04-25 16:02:49 UTC | #4
[quote="devon, post:3, topic:14483"]
Ps.Nie wiem jak schować to w jakimś boxie
[/quote]
Używasz wtedy
> \```
LOGI
\```
Natomiast:
Could not write cache file to path
Masz tu podpowiedź, że nie można zapisać jakiegoś pliku w jakimś miejscu. Sprawdź `chmody` dla poszczególnych katalogów, w tym wypadku dla katalogu `cache`.
-------------------------
devon | 2020-04-25 16:19:24 UTC | #5
Nie mam pojęcia jak to sprawdzić niestety
-------------------------
Jebanany | 2020-04-25 16:35:23 UTC | #6
Sprawdź komendą uprawnienia folderu
> ls -l katalog
Aby zmienić uprawnienia katalogu na np. 755
> chmod 755 katalog
[quote="Jebanany, post:4, topic:14483"]
Could not write cache file to path
```
[/quote]
Może wynikać jeszcze z uprawnień użytkownika, który uruchamia konkretny skrypt
Więcej o chmod https://pl.wikipedia.org/wiki/Chmod
devon | 2020-04-25 17:05:36 UTC | #7
Nadal to samo
BeGood | 2020-04-25 19:16:39 UTC | #8
tak trudno wpisać na google how to fix libraies/sql.lib.php#813 , ps: ja też miałem ten błąd.
musisz wgrać nowszą wersje phpmyadmin i szukać właśnie po angielsku, bo nie znajdziesz w polskim języku jak to zrobić. to się tylko wydaje trudne, wszystko zależy od nastawienia
Lumpiasty | 2020-04-26 16:03:24 UTC | #9
Sprawdź, czy masz wystarczająco miejsca na dysku.
devon | 2020-04-26 16:18:41 UTC | #10
150gb wolne
BeGood | 2020-04-28 07:47:02 UTC | #11
@devon napisałem ci wyżej, a też miałem ten problem || to jest rozwiązanie twojego problemu !
system | 2020-05-30 07:47:04 UTC | #12
Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.