PDA

View Full Version : help error


gotwarzone
05/12/2013, 02:52 PM
[18:55:20] Error: Function not registered: 'mysql_format'
[18:55:20] Error: Function not registered: 'mysql_tquery'
[18:55:20] Error: Function not registered: 'cache_insert_id'
[18:55:20] Error: Function not registered: 'cache_get_row_int'
[18:55:20] Error: Function not registered: 'cache_get_data'
[18:55:20] Error: Function not registered: 'cache_affected_rows'
[18:55:20] Error: Function not registered: 'cache_get_row'
[18:55:20] Error: Function not registered: 'cache_get_row_float'
[18:55:20] Error: Function not registered: 'cache_get_field_content'
[18:55:20] Error: Function not registered: 'cache_get_field_content_int'
[18:55:20] Error: Function not registered: 'mysql_connect'
[18:55:20] Error: Function not registered: 'mysql_log'
[18:55:20] Error: Function not registered: 'mysql_errno'

i'm using mysql r34 windows

Konstantinos
05/12/2013, 03:07 PM
The versions of include and plugin file do not match. The include file is fine, the plugin is not for R34.

Update it again.

gotwarzone
05/12/2013, 03:16 PM
but I wonder why the plugin did not match, I use the .dll that is also with .inc so its a pack.

Edit: can you please help me which is the correct plugin?

gotwarzone
05/12/2013, 03:24 PM
So I used the MySQL R7

Now it lessen the the problems


[19:29:16] Error: Function not registered: 'mysql_tquery'
[19:29:16] Error: Function not registered: 'cache_insert_id'
[19:29:16] Error: Function not registered: 'cache_get_row_int'
[19:29:16] Error: Function not registered: 'cache_affected_rows'
[19:29:16] Error: Function not registered: 'cache_get_row_float'
[19:29:16] Error: Function not registered: 'cache_get_field_content_int'
[19:29:16] Error: Function not registered: 'mysql_log'

Konstantinos
05/12/2013, 03:36 PM
[18:55:20] Error: Function not registered: 'mysql_format'
[18:55:20] Error: Function not registered: 'mysql_tquery'
[18:55:20] Error: Function not registered: 'cache_insert_id'
[18:55:20] Error: Function not registered: 'cache_get_row_int'
[18:55:20] Error: Function not registered: 'cache_get_data'
[18:55:20] Error: Function not registered: 'cache_affected_rows'
[18:55:20] Error: Function not registered: 'cache_get_row'
[18:55:20] Error: Function not registered: 'cache_get_row_float'
[18:55:20] Error: Function not registered: 'cache_get_field_content'
[18:55:20] Error: Function not registered: 'cache_get_field_content_int'
[18:55:20] Error: Function not registered: 'mysql_connect'
[18:55:20] Error: Function not registered: 'mysql_log'
[18:55:20] Error: Function not registered: 'mysql_errno'

i'm using mysql r34 windows

cache_get_row was added in R7
cache_get_row_float was added in r14

so the plugin was for R6-

So I used the MySQL R7

Now it lessen the the problems


[19:29:16] Error: Function not registered: 'mysql_tquery'
[19:29:16] Error: Function not registered: 'cache_insert_id'
[19:29:16] Error: Function not registered: 'cache_get_row_int'
[19:29:16] Error: Function not registered: 'cache_affected_rows'
[19:29:16] Error: Function not registered: 'cache_get_row_float'
[19:29:16] Error: Function not registered: 'cache_get_field_content_int'
[19:29:16] Error: Function not registered: 'mysql_log'

mysql_tquery was renamed in r21

---

As you can see, changing the version of the plugin is not enough. You'll need to change the include too and re-name/change the functions to those are used in the current version you use.

but I wonder why the plugin did not match, I use the .dll that is also with .inc so its a pack.

Edit: can you please help me which is the correct plugin?

https://code.******.com/p/sa-mp-mysql-plugin/downloads/detail?name=mysql-r34-win.rar&can=2&q=

Replace a_mysql.inc mysql.dll and libmysql.dll

Then re-compile and it should be fine.

gotwarzone
05/12/2013, 03:49 PM
cache_get_row was added in R7
cache_get_row_float was added in r14

so the plugin was for R6-



mysql_tquery was renamed in r21

---

As you can see, changing the version of the plugin is not enough. You'll need to change the include too and re-name/change the functions to those are used in the current version you use.



https://code.******.com/p/sa-mp-mysql-plugin/downloads/detail?name=mysql-r34-win.rar&can=2&q=

Replace a_mysql.inc mysql.dll and libmysql.dll

Then re-compile and it should be fine.

what you mean re-name/change the functions to those are used in the current version you use? You mean by replacing a_mysql.inc mysql.dll and libmysql.dll?

Tried but still error also this MSVCP100.dll is missing came up

I'm using this gamemode http://forum.sa-mp.com/showthread.php?t=478324&page=3

Konstantinos
05/12/2013, 03:59 PM
It's one of them that you should install:

http://www.microsoft.com/en-us/download/details.aspx?id=5555

http://www.microsoft.com/en-us/download/details.aspx?id=8328

DeeJas
23/12/2013, 03:02 PM
delete.