"Field 'web_ip' doesn't have a default value"
Moderators: Moderatori ajutatori, Moderatori
- OnuKa
- Utilizator neserios (tepar)
- Posts: 886
- Joined: 09 Mar 2014, 18:47
- Detinator Steam: Nu
- Reputatie: Utilizator neserios (tepar)
Membru Club eXtreamCS (2 luni) - Location: Tg-Jiu
- Has thanked: 15 times
- Been thanked: 8 times
Primesc eroarea asta la un index cand ma inregistrez pe site stiu ca trebuia modificat ceva din navicat la web_ip dar nu mai dau de ea stie careva cum rezolv ?
- Jan
- Membru, skill 0
- Posts: 34
- Joined: 13 Jul 2016, 11:16
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Contact:
Nu ai o valoare setată pentru web_ip, dacă se referă la ip-ul utilizatorilor foloseşte-te de funcţia REMOTE_ADDR şi faci ip-ul să se stocheze în baza de date sau poţi executa comanda asta în phpmyadmin:
ALTER TABLE web_ip MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE web_ip MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT;
-
- Information
-
Who is online
Users browsing this forum: A k c 3 n 7, csredstars, Dot [Bot], Mail.RU [Bot], Petal [Bot], Semrush [Bot] and 426 guests