Within a project that has been working perfectly for more than a year (with a single database connection), I had to add another database connection; Databases are perfectly connected and with sql builder I can do all the queries that work fine with both databases.
However, if I create an application with the second database and run it, it does not work and the browser reports an error 500 (obviously the application is correctly configured with the correct SELECT and more …). The log tells me that the application stops at the line 86 of the “index.php” file inside the folder with the name of the application (the start file) where there is the variable:
var $ nm_db_Radio Radio;
var $ nm_con_Radio Radio = array ();
where Radio Radio is not the name of the connection chosen (which is AdnKronos) but the name of the other connection… and this is just a clue.
Applications with the other connection (Radio Radio) work properly.
Obviously I tried to create a new project and one connection (the one that interests me - AdnKronos - and that in the other does not work) and here it works perfectly; so the problem is not in the connection and even in the database.
Solutions???
Thank you.
Fabio Duranti
CEO - Radio Radio Network