Jump to content

[REZOLVAT] problema mysql


AcTimeLs
 Share

Recommended Posts

Username: usernou
Problema întălnită: ma conectez cu succes la baza de date, unele tabele merg altele nu
Detalii despre problemă: am spus mai sus
Ce ai încercat să faci înainte să postezi?: nimic
Cod sursă (recomandat pastebin.com) : -
Alte detalii: 

M-am conectat la baza de date totul ok, dar unele tabele nu le primeste si nu inteleg de ce ( EXEMPLU: casele nu le ia, conturile nu le ia) Bizurile, masinile le primeste..

[18:25:24] Statistici: Accounts = 0 / Newest account:  / Record: 
[18:25:24] SUCCES: Conexiunea la baza de date`client421_samp` a fost stabilita!
[18:25:24] [script] 5 turfs loaded.
[18:25:24] [script] 536 vehicles loaded.
[18:25:24] [script] 0 houses loaded.
[18:25:24] [Graffiti]: 17 graffiti loaded.
[18:25:24] [SafeZones]: 1 loaded...
[18:25:24] [Furniture]: 88 objects loaded.
[18:25:24] Businesses loaded: 53
[18:25:24] main() has been called.
[18:25:24] Number of vehicle models: 123

Problema aparuta in mysql_log

[18:09:57] [ERROR] mysql_escape_string - destination size is too small (must be at least as big as source)
[18:10:02] [ERROR] mysql_escape_string - destination size is too small (must be at least as big as source)
[18:10:02] [WARNING] cache_get_data - no active cache
[18:10:03] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE playerID = '1'' at line 1

 

banner.jpg

signature.php?player_name=AcTimeLs

Link to comment
Share on other sites

[18:09:57] [ERROR] mysql_escape_string - destination size is too small (must be at least as big as source)

trebuie sa maresti stringul de la format / mysql_format

[18:10:02] [WARNING] cache_get_data - no active cache

nu ai un cache activ

mysql_query (instant cache) \ mysql_tquery (trebuie sa apelezi o functie pentru cache)

 

[18:10:03] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE playerID = '1'' at line 1

aici ai scris ceva gresit, arata cum ai facut

Link to comment
Share on other sites

Acum 22 minute, UserNou a spus:

Asta stiu

Ma refeream la faptul ca nu inteleg de ce ia unele tabele si pe altele nu, pe alte gazduiri nu exista probleme de genul.

Probabil nu este conectat bine sau ai primit niste date gresite, am patit si eu, cel mai bine fa un ticket la host si astepti un raspuns

Link to comment
Share on other sites

mareste string-ul unde il formatezi si adauga un plugin numit nativechecker si vezi daca merge.

 

 

 

                                                                       DBl3p.gif

Link to comment
Share on other sites

On 5/22/2019 at 9:41 PM, L0K3D said:

Postul tau e inutil, i-au fost scrise mai sus aceste metode.

Nu am vazut ????‍♀️

 

 

                                                                       DBl3p.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...