Correcting access error for the Scriptcase database

Correcting access error for the Scriptcase database

Sometimes we encounter an error accessing the Scriptcase database itself, as shown in the image below:

Screenshot - 16_08_2016 , 00_58_38.jpg


This problem happens when we change the folder name of the scriptcase to another name, such as "sc".

Then, the error happens because the complete path to the scriptcase database has been changed.

Before it was C:/Program Files (x86)/NetMake/v9/wwwroot/scriptcase/devel/conf/scriptcase/nm_scriptcase.db

After changing the folder name, the full path to the base of the scriptcase is C:/Program Files(x86)/NetMake/v9/wwwroot/sc/devel/conf/scriptcase/nm_scriptcase.db

then we must change this path in the config.php file, so that the correct mapping is made to the scriptcase database.

To correct this error, it is not necessary to go back to the default name of the scriptcase, just follow the following steps:

1 - Change the name of the file config_.php to config.php in your scriptcase folder.


2 - After changing to config.php, access this file through the browser, with the folder name already changed, for example:


3 - In Server, change only the folder name of the scriptcase, being like this: C:/Program Files/NetMake/v9-php73/wwwroot/scriptcase/devel/conf/scriptcase/nm_scriptcase.db and then save.

    • Related Articles

    • 'No tables found in database access' error while trying to import Access data.

      This error occurs because it is necessary to have the Microsoft Access Database Engine installed, which contains a series of components that facilitate the transfer of information between files of Office for the other applications. For the ...
    • Error connecting MySQL 8 database

      In this tutorial, we will see how to connect to a MySQL database that prohibits access when you have PHP 7 with MySQL 8. First, you must follow the manual Creating a new MySQL User. 1- Once the creation of the new user has been done, you must go to ...
    • Connection error: error_profile_test_module

      When we deploy a project and we find this type of error: "Connection error: error_profile_test_module" This error normally occurs when you use a different production environment DBMS Type than the development environment. To solve this, access your ...
    • Fatal error: Array and string offset access syntax with curly braces is no longer supported

      You can come across this error when running a login application created by a security module generated before Scriptcase 9.8. This error occurs only in an environment with PHP 8 or superior because of a change in the array elements access, that now ...
    • Using the Database Builder

      The DataBase Builder is a Scriptcase 'DBMS' (Database Manager System), this tool allows you to create tables, modify the structure of your tables, generate ER diagrams (Entity x Relationships), perform the export of the tables among other things. ...