简体   繁体   中英

Moving CodeIgniter To Another Server

I am attempting to move a clients website to a new server, this website was built long before I started at my company by someone who has left. It is built using CodeIgniter which is something I have no experience with.

I transferred everything yesterday (Files and Mysql Database) and thought everything had gone well. Until today when I have noticed that trying to update any information in the database leads to Undefined Index Errors.

I have now changed back to the old server which has had no changes other than being linked to the database on the new server. But this is now having the same issues, even after setting it back to the original database as well.

Could this be something to do with the database?

It turns out that the mode had somehow changed from "production" to "development" within the root index.php file. Updating this value corrected my issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM