无法在CodeIgniter中加载助手

时间:2022-05-28 04:42:39

I am moving an application from a Windows server to a Linux server. It works well on the Windows server, but on the Linux server I get this message:

我正在将应用程序从Windows服务器移动到Linux服务器。它在Windows服务器上运行良好,但在Linux服务器上我得到以下消息:

unable to load requested file:
helpers/fusioncharts_helper.php

I understand that Linux servers are case-sensitive, and I factored that in. What else could it be?

我知道Linux服务器区分大小写,我将其考虑在内。它还能做什么?

1 个解决方案

#1


0  

Perhaps try creating a new file on the linux system and cutting and pasting the code from the old file into the new? Permissions errors in a linux environment can be frustrating to new-ish linux users and rather than trying to chmod your way out, sometimes its just easier to make a new file and copy the code over? I had a permissions error once where I was logged in as super user admin on my laptop, made some files and did some coding, then when I zipped the project, emailed it to myself and loaded it on my desktop, I could view/edit the code, but when I attempted to execute it on my desktop I was getting weird errors even when logged in as super user. Turned out to be a permissions problem related to two different systems, and even though I was logged in as super user, the system wasn't allowing access to those files since they were generated on an outside system... The solution was to just cut and paste the code out into a fresh file.

也许尝试在linux系统上创建一个新文件,并将旧文件中的代码剪切并粘贴到新文件中? Linux环境中的权限错误对于新用户来说是令人沮丧的,而不是试图解决你的出路问题,有时它更容易制作新文件并复制代码?我曾经在我的笔记本电脑上以超级用户管理员身份登录,制作了一些文件并进行了编码,然后当我压缩项目时,通过电子邮件发送给自己并将其加载到我的桌​​面上,我可以查看/编辑代码,但当我试图在我的桌面上执行它时,即使以超级用户身份登录,我也会遇到奇怪的错误。原来是与两个不同系统相关的权限问题,即使我以超级用户身份登录,系统也不允许访问这些文件,因为它们是在外部系统上生成的...解决方案只是为了将代码剪切并粘贴到一个新文件中。

#1


0  

Perhaps try creating a new file on the linux system and cutting and pasting the code from the old file into the new? Permissions errors in a linux environment can be frustrating to new-ish linux users and rather than trying to chmod your way out, sometimes its just easier to make a new file and copy the code over? I had a permissions error once where I was logged in as super user admin on my laptop, made some files and did some coding, then when I zipped the project, emailed it to myself and loaded it on my desktop, I could view/edit the code, but when I attempted to execute it on my desktop I was getting weird errors even when logged in as super user. Turned out to be a permissions problem related to two different systems, and even though I was logged in as super user, the system wasn't allowing access to those files since they were generated on an outside system... The solution was to just cut and paste the code out into a fresh file.

也许尝试在linux系统上创建一个新文件,并将旧文件中的代码剪切并粘贴到新文件中? Linux环境中的权限错误对于新用户来说是令人沮丧的,而不是试图解决你的出路问题,有时它更容易制作新文件并复制代码?我曾经在我的笔记本电脑上以超级用户管理员身份登录,制作了一些文件并进行了编码,然后当我压缩项目时,通过电子邮件发送给自己并将其加载到我的桌​​面上,我可以查看/编辑代码,但当我试图在我的桌面上执行它时,即使以超级用户身份登录,我也会遇到奇怪的错误。原来是与两个不同系统相关的权限问题,即使我以超级用户身份登录,系统也不允许访问这些文件,因为它们是在外部系统上生成的...解决方案只是为了将代码剪切并粘贴到一个新文件中。