Raised This Month: $ Target: $400
 0% 

Weird mySql/Sqlite module problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kopi2
New Member
Join Date: Jul 2008
Old 07-18-2008 , 12:29   Weird mySql/Sqlite module problem
Reply With Quote #1

I have been investigating this now for a while, and it seems to me that in newest amxmodx 1.80 you cannot activate both, mysql and sqlite modules.

I have a plugin, what would need to fetch some info from remote mysql-server and also this same plugin uses sqlite to save some present information to local sqlite-database.

When I activate both modules from modules.ini server reports no errors, but when I execute the mysql query I got only -1 result (fail). Sqlite works. But the weirdest thing is that even if my plugin isn't doing anything with sqlite (I commented out everything related to sqlite), mysql results keep coming with -1 result. If I comment sqlite module out from modules.ini, then mysql queries works like a charm. Both db:s have own handle.

Do you have any idea how I could use both mysql and sqlite at the same time, to me it seems that there is nothing wrong with my plugin, it's more likely related to some kind of module conflict.

Thanks, Jari.
kopi2 is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 07-18-2008 , 15:26   Re: Weird mySql/Sqlite module problem
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?go=func&id=1113

see Notes
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode