我有magento与第三个API连接,我收到来自api的webhook通知响应,但它无法处理任何文件并生成有关某些访问权限的 403 Forbidden 错误。 我已将magento文件夹更改为读写访问权限但问题仍然相同。
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /magento1.9/app/code/local/Ns/Thorleif/Helper/Data.php
on this server.</p>
答案 0 :(得分:0)
问题是public void atualizaStatusAtendimentoContratacao(String formulariouuid,String statusGravar) {
final String query = "UPDATE adminformulariocontratacao "
+ "SET statusatual = ? "
+ "WHERE (formulariouuid = ?)";
try {
jdbcTemplate.update(query, new Object[] {statusGravar,formulariouuid});
} catch (DataAccessException e) {
logger.log(Level.ERROR,
"##ERRO ao Gravar atualização de status do atendimento contratacao:" + e.getLocalizedMessage());
}
}
中的 .htaccess 的值全部拒绝