Database functions fail on standalone
Posted: Tue Mar 10, 2015 2:28 am
Some more stange behavior:
I have been working on a simple app that connects to a mysql database and makes some queries. Well and good. Works fine from the IDE using most recent version of the community edition 7.03
If I save the application as a standalone, database functions fail. Here are the debug errors I get:
Type: Function: error in function handler
Object: button 'Close' of card 'database' of stack '/path/to/mystandalone/database'
Line: put revOpenDatabases() into connectList
Line Num: 13
Hint: revOpenDatabases
and another one:
Type: Function: error in function handler
Object: button 'Connect' of card 'database' of stack '/path/to/my/standalone/database'
Line: put revOpenDatabase('MySQL', tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult
Line Num: 53
Hint: revOpenDatabase
Previously I was having issues with the standalone not adding the mysql drivers, but I finally resolved that only to find my db functions were still not working.
If I create the exact same application using Livecode 4.6.4, which I have a license for, then the standalone works fine.
Has anyone experienced similar behaivor? I would love to use the more recent version.
I have been working on a simple app that connects to a mysql database and makes some queries. Well and good. Works fine from the IDE using most recent version of the community edition 7.03
If I save the application as a standalone, database functions fail. Here are the debug errors I get:
Type: Function: error in function handler
Object: button 'Close' of card 'database' of stack '/path/to/mystandalone/database'
Line: put revOpenDatabases() into connectList
Line Num: 13
Hint: revOpenDatabases
and another one:
Type: Function: error in function handler
Object: button 'Connect' of card 'database' of stack '/path/to/my/standalone/database'
Line: put revOpenDatabase('MySQL', tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult
Line Num: 53
Hint: revOpenDatabase
Previously I was having issues with the standalone not adding the mysql drivers, but I finally resolved that only to find my db functions were still not working.
If I create the exact same application using Livecode 4.6.4, which I have a license for, then the standalone works fine.
Has anyone experienced similar behaivor? I would love to use the more recent version.