lundi 25 février 2019

UFO problems.... meaby misconfiguration... but do not understad

I have been working 7 day in this issue....In a PHP (zend frameworks 2) I try to read one database but it redirects me to another database.

I have an MAIN aplication in my subdomain http://sigi.zzzzzz.com using the user: AAAAAAAA and password Bbbbbbbbb$. The MAIN aplication is working ok

And i am working on a TEST version of the same application http://pruebasigi.zzzzzz.com/ using the same User and pasword.

In MAIN aplication sigi.zzzzzz.com has defined open the database 'DataBase_sigi' only in this files (

/.../sigi.zzzzzz.com/config/autoload/local.php /.../sigi.zzzzzz.com/config/autoload/global.php )

and in TEST Aplication pruebasigi.zzzzzz.com has defined open only the database TEST 'DataBase_prusigi' only in this files (

/.../pruebasigi.zzzzzz.com/config/autoload/local.php /.../pruebasigi.zzzzzz.com/config/autoload/global.php )

Only in these two files is defined the working database of this application as you know in ZF2.

The test database (DataBase_pruebasigi) was made as a copy of the original (DataBase_sigi).

why working with the TEST application reads the MAIN database and not the TEST database???

But when I write / update information in the TEST database (DataBase_pruebasigi ) write in the TEST database, but still reading from the MAIN Database (DataBase_sigi) ??

When i delete the MAIN Database (DataBase_sigi) and use the TEST Aplication give me a big error.....

Thanks your help...

Aucun commentaire:

Enregistrer un commentaire