奇怪的、难以描述的错误[处理此指令时发生错误]

发布于 2024-08-21 06:12:16 字数 863 浏览 9 评论 0原文

我一直在将客户的网站从 Bluehost 帐户迁移到我自己的 cPanel/WHM 设置。我使用cPanel“备份向导”创建导出.tar(由主目录和mysql文件组成,还有其他一些东西......)我想这可能就是问题所在,只是我没有使用向导来导入信息,我刚刚上传了 tar.gz 并通过 SSH 解压。

每当尝试访问任何 php 文件时,以下不伦不类的错误都会打印到 php 文件中,这是文件源:

<!-- SHTML Wrapper - 500 Server Error -->
[an error occurred while processing this directive]

我已经看到很多错误。然而,8年来,我从未见过这个错误。我花了几个小时试图终止该进程,重新上传文件,重新启动所有服务。我的办公室里也没有人看到这个错误。

这是日志错误:(从错误中删除了一些信息,例如 php 地址和远程路径)

[Thu Feb 11 02:58:23 2010] [error] [client 00.000.0.0] SoftException in Application.cpp:367: Mismatch between target UID (535) and UID (534) of file "/home/site/public_html/index.php"

同样的问题在这里没有得到解答: http://forums.serverbeach.com/showthread.php?t=7906

I have been migrating a client's website from a Bluehost account to my own cPanel/WHM setup. I used the cPanel 'Backup Wizard' to create the export .tar (composed of home directory and mysql files, amoung some other things...) I suppose it's possible this is the problem, except that I didn't use the wizard to import the information, I just uploaded the tar.gz and untarred via SSH.

Whenever trying to access any php file, the following nondescript error prints into the php file, here's the file source:

<!-- SHTML Wrapper - 500 Server Error -->
[an error occurred while processing this directive]

I have seen ALOT of errors. However, in 8 years, I have never seen this error. I've spent hours trying to kill the process, re-upload the files, restarting all services. Nobody in my office has seen this error either.

Here's the log error: (some information removed from error, such as php address and remote pathing)

[Thu Feb 11 02:58:23 2010] [error] [client 00.000.0.0] SoftException in Application.cpp:367: Mismatch between target UID (535) and UID (534) of file "/home/site/public_html/index.php"

This same problem went unanswered here:
http://forums.serverbeach.com/showthread.php?t=7906

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

豆芽 2024-08-28 06:12:16

SSI 或其他指令时,这不是 Apache 的错误消息页面内部出了问题? “SHTML Wrapper”也指出了这一点。

您是否有一个 .htaccess 文件或一个 PHP 自动启动机制,可以将 PHP 脚本嵌入到周围的 (S)HTML 文件中?如果是这种情况,则周围文件和 PHP 文件似乎具有不同的用户 ID。

您可以发布完整的 PHP 和/或 HTML 文件,或者您的项目结构吗?

Isn't this Apache's error message when a SSI or other directive inside the page goes wrong? The "SHTML Wrapper" points to that as well.

Could it be that you have a .htaccess file or a PHP autostart mechanism that embeds the PHP script into a surrounding (S)HTML file? If this is the case, it seems as if the surrounding file and the PHP file have different user IDs.

Can you post the full PHP and/or HTML file, or alternatively your project structure?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文