doujianwei8217 2010-02-11 08:13
浏览 55
已采纳

奇怪的,不起眼的错误[处理此指令时发生错误]

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

  • 写回答

1条回答 默认 最新

  • dongzhanyan3667 2010-02-11 11:55
    关注

    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?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?