![]() |
HJB 10/10/2017 |
... so, you would need to search within the web server root folder of the remote/local directory whether or not the relevant .SQL file is in existence ..., and if not, you would need to copy same to that place where the PHPRunner horse is starting its work. Since PHPRunner is NOT mainly focusing on SQLITE operations, but MySQL/MariaDB, requiring that MySQL/MariaDB is running, SQLITE is a file based database where, in simple terms, strings are saved unto the hard disk and recalled once needed. So, in this case, you need to manually copy the .SQL database file to the right root or subdirectory then. When you start to build the project, PHPRUNNER asks for the .SQL database location to get a connection before generating the code. If at that time, the .SQL database is OUTSIDE the final directory, the "... cannot open the DB file ..." is the logical result. By the way, I tested such things under SQLITE with a RAMDISK and need to tell you this: Fasten your seat belts ..., as the acceleration is breath-taking. HTH |
![]() |
Admin 10/10/2017 |
Show us a screenshot of your connection settings in PHPRunner. |
J
|
justmelat author 10/11/2017 |
Show us a screenshot of your connection settings in PHPRunner.
|
![]() |
Admin 10/11/2017 |
I don't need to see any code or any video. Just a full size screenshot of your connection settings in PHPRunner. |
![]() |
HJB 10/12/2017 |
... redo the project, connecting to the "sql_test_db" seen inside the WWW directory of the already project project this time (rather than to use same sql db outside the web area), that's all. |
J
|
justmelat author 10/14/2017 |
... redo the project, connecting to the "sql_test_db" seen inside the WWW directory of the already project project this time (rather than to use same sql db outside the web area), that's all.
|
![]() |
HJB 10/14/2017 |
Could you look at the walk-thru video here: " Video PHP Runner Standalone Desktop App" the issue is - the www folder is not there until after u compile the application. I don't want the user to have to move a file, just download, execute and use.
|
![]() |
Admin 10/17/2017 |
Once your project is ready proceed to 'Output directory' screen and create a new Server Database Connection. Put the following code there: $dbname=getabspath("sqllite_users_db.db");
|
J
|
justmelat author 10/19/2017 |
Once your project is ready proceed to 'Output directory' screen and create a new Server Database Connection. Put the following code there: $dbname=getabspath("sqllite_users_db.db");
|
J
|
justmelat author 10/27/2017 |
Wow, that string suggestion is excellent. Note: the reason i posted the excruciatingly long (6 min) video is after posting the initial connection string image, or what I thought was being requested, i had more questions, so I thought it would be easier to see all the steps in my process so it could be determined where I was going wrong. again, thanks for the string getabspath suggestion
|