Błąd bazy danych po zmianie php.
Kotek21
30.12.2014
Witam, posiadam amxbans z tego tematu: http://amxx.pl/topic...-edit-23082012/i wszystko działało pięknie lecz dzisiaj zmieniłem php z 5.3.x na 5.5.x i wyskoczył taki błąd:
Warning: Creating default object from empty value in /home/*****/domains/******/public_html/bany/include/config.inc.php on line 7 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/*****/domains/******/public_html/bany/include/config.inc.php on line 46
blokers
30.12.2014
Pokaz co masz w tym pliku. I zmien z powrotem na 5.3 roznicy nie zobaczysz.
Kotek21
31.12.2014
Zmiana php na stare odpada
Naprawiłem jeden błąd przy pomocy google, teraz jest tylko ten:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/kocjan/domains/csteam.eu/public_html/bany/include/config.inc.php on line 46
plik config.inc.php:
//Edit
Zauważyłem nowe błędy
przy logowaniu:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/*****/domains/*****/public_html/bany/include/config.inc.php on line 46 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/*****/domains/*****/public_html/bany/login.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /home/*****/domains/*****/public_html/bany/include/config.inc.php:46) in /home/*****/domains/*****/public_html/bany/login.php on line 89
Przy wylogowywaniu:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/******/domains/******/public_html/bany/include/config.inc.php on line 46 Warning: Cannot modify header information - headers already sent by (output started at /home/******/domains/******/public_html/bany/include/config.inc.php:46) in /home/******/domains/******/public_html/bany/logout.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at /home/******/domains/******/public_html/bany/include/config.inc.php:46) in /home/******/domains/******/public_html/bany/logout.php on line 24
Użytkownik Kotek21 edytował ten post 31.12.2014 16:35
blokers
01.01.2015
The mysql extension is deprecated and will be removed in the future - ten blad mowi o rozszerzeniu MYSQL, ktore jest przestarzale.
Widze problem taki. Od instaluj wszystko i zainstaluj na nowo na PHP 5.5
Jezeli problem nie zniknie wroc do php 5.3 to w niczym Ci nie zaszkodzi. Bo amx bans nie jest wspierane i auktualizowane co chwile i jest juz lekko stare i nie bedzie dzialac na nowych platformach hostingowych. Mam to samo u siebie.