Pergunta

I foram migrando o site de um cliente de uma conta Bluehost à minha própria configuração cPanel / WHM. Eu costumava 'Backup Wizard' do cPanel para criar o .tar exportação (composto de diretório home e arquivos de mysql, amoung outras coisas ...) Acho que é possível que este é o problema, exceto que eu não usar o assistente para importar as informações, eu só enviou o tar.gz e untarred via SSH.

Sempre que tentar acessar qualquer arquivo php, os seguintes indescritíveis impressões de erro no arquivo php, aqui está a origem do arquivo:

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

Eu vi MUITO de erros. No entanto, em 8 anos, eu nunca vi esse erro. Eu gastei horas tentando matar o processo, re-enviar os arquivos, reiniciar todos os serviços. Ninguém no meu escritório tem visto esse erro também.

Aqui está o erro de registo: (algumas informações removido do erro, como endereço de php e pathing remoto)

[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"

Este mesmo problema ficou sem resposta aqui: http://forums.serverbeach.com/showthread.php?t=7906

Foi útil?

Solução

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?

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top