Jump to content
  • 0

Mysql Problem


Zaky

Question

Problemă întâlnită (descriere): Astazi m-am gandit sa incep un mod de la 0 folosind MySQL r39, am creat un sistem de inregistrare, totul a decurs perfect dar cand am incercat sa deschid server-ul am primit aceasta eroare:
Ero(area / rile) / warning-(ul / urile):

  1. [19:24:03] Script[gamemodes/OGF.amx]: Run time error 19: "File or function is not found"
  2. [19:24:03] Number of vehicle models: 0

Dupa am descarcat plugin-ul nativechecker l-am instalat si mi-au aparut urmatoarele in log:

Liniile de cod / sursa / script-ul:

  1. [19:24:03]    Error: Function not registered: 'mysql_log'
  2. [19:24:03]    Error: Function not registered: 'mysql_connect'
  3. [19:24:03]    Error: Function not registered: 'mysql_errno'
  4. [19:24:03]    Error: Function not registered: 'mysql_format'
  5. [19:24:03]    Error: Function not registered: 'mysql_tquery'
  6. [19:24:03]    Error: Function not registered: 'cache_get_data'
  7. [19:24:03]    Error: Function not registered: 'cache_get_field_content'
  8. [19:24:03]    Error: Function not registered: 'cache_get_field_content_int'
  9. [19:24:03]    Error: Function not registered: 'cache_get_field_content_float'
  10. [19:24:03]    Error: Function not registered: 'cache_insert_id'

Imagini / Video (optional): -
Aţi încercat să rezolvaţi singur?: Momentan nimic, nu am nici o idee, astept o parere.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

pune sub #include <nume last include>

native mysql_log(E_LOGLEVEL:loglevel = LOG_ERROR | LOG_WARNING, E_LOGTYPE:logtype = LOG_TYPE_TEXT);
native mysql_connect(const host[], const user[], const database[], const password[], port = 3306, bool:autoreconnect = true, pool_size = 2);

native mysql_errno(connectionHandle = 1);
native mysql_format(connectionHandle, output[], len, format[], {Float,_}:...);
native mysql_tquery_inline(connHandle, query[], callback:Callback, format[], {Float,_}:...); //y_inline

// Cache functions
native cache_get_data(&num_rows, &num_fields, connectionHandle = 1);
native cache_get_row_count(connectionHandle = 1);
native cache_get_field_count(connectionHandle = 1);
native cache_get_field_name(field_index, destination[], connectionHandle = 1, max_len = sizeof(destination));

"Mulţi programatori buni fac programare nu pentru că se aşteaptă să câştige bani sau să fie lăudaţi de public, ci pentru că e amuzant să programezi." - Linus Torvalds

Link to comment
Share on other sites

 

pune sub #include <nume last include>

native mysql_log(E_LOGLEVEL:loglevel = LOG_ERROR | LOG_WARNING, E_LOGTYPE:logtype = LOG_TYPE_TEXT);
native mysql_connect(const host[], const user[], const database[], const password[], port = 3306, bool:autoreconnect = true, pool_size = 2);

native mysql_errno(connectionHandle = 1);
native mysql_format(connectionHandle, output[], len, format[], {Float,_}:...);
native mysql_tquery_inline(connHandle, query[], callback:Callback, format[], {Float,_}:...); //y_inline

// Cache functions
native cache_get_data(&num_rows, &num_fields, connectionHandle = 1);
native cache_get_row_count(connectionHandle = 1);
native cache_get_field_count(connectionHandle = 1);
native cache_get_field_name(field_index, destination[], connectionHandle = 1, max_len = sizeof(destination));

Imi spune ca sunt deja definite.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.