CI4 App unable to locate helper on the cloud |
Hi,
I developed an app using version 4.1.8. I tested my app locally in my PC with Xampp and it worked fine. When i tested the same app using my hosting provider i get the following odd results and the app broke: (1) I set the URL as follows: Code: CI_ENVIRONMENT = development I got the error stating the app is unable to locate the first helper function when the helper exists: Code: Error (2) Change the Base URL back to my local pc "http://localhost/MyDevelop/ci4admin-access" it appears to work only problem was it was running the code from my local PC which should not happen. I tried the test using different PCs and Browers and all resulted in the same error. Am i defining something wrong in the env file? http://localhost/MyDevelop/ci4adminx-model/
Hi,
Please ignore this post. I resolved the issue. It was a case-sensitive issue again. I my windows PC, the helper Common_helper as defined as 'common' in the BaseController. This worked fine for windows but did not work well for Linux installs. The helper had to be defined exactly with case format. Thank you to all who were trying to look at this problem.
Good to hear.
Case-sensitive issue is a common problem on Windows and macOS. I recommend to use always exact the same case letters. |
Welcome Guest, Not a member yet? Register Sign In |