[英]Site throwing error on live server with language class while works on Xampp: Codeigniter
I have my language script running absolutely fine in Xampp... It translates to other languages.. 我的语言脚本在Xampp中运行得非常好...它可以翻译成其他语言。
I just happened to upload it to live server and I can't seem to fix an error which was never their in Xampp. 我只是偶然将其上传到实时服务器,而似乎无法修复在Xampp中从未出现过的错误。
Unable to load the requested language file: language/italian/homepage_italian_lang.php
无法加载请求的语言文件:language / italian / homepage_italian_lang.php
It keeps throwing that error. 它不断抛出该错误。 I have checked that language files are in place.
我检查了语言文件是否到位。 This is happening for all languages.
所有语言都在发生这种情况。
I have to delete cookies and then come back to homepage because of session.. 我必须删除Cookie,然后由于会话而返回首页。
Works fine on Xampp though,, 尽管在Xampp上工作正常,
Just a wild guess, but I would check if XAMPP and the online PHP are both the same version. 只是一个疯狂的猜测,但是我将检查XAMPP和联机PHP是否都是同一版本。 Different versions can cause unexpected problems that are hard to figure out.
不同版本可能会导致难以解决的意外问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.