I will try to explain my problem the best I can:
I was given a working site and asked for a replication to another hosting. My first thought was that it was too simple. So first I tried to make it work via XAMPP:
- Downloaded all the site from the hosting via FTP
- Changed the values of the database connection (The site was created with CodeIgniter)
After this I opened it on my browser and it worked perfect! (localhost/mysite)
So, now it worked, I tried connecting to my hosting phpmyadmin:
- Exported the database from actual phpmyadmin and imported to the new phpmyadmin.
- Changed the values of the database connection to the new phpmyadmin
And here is where i got stuck. The site stopped working and I can't figured out why. The database was imported with a new name, but on my database connection i put the values correct (copy-paste to avoid troubles) but the site won't open. The problem I have with this site is that has some sort of configuration (i assume javascript) where the site gets stuck on "loading" until it connects to the database. So i don't know where to use mysqli functions to get an error and try to know where is my mistake.
I think thats all. I hope someone can help me with this!