私はこのページを作成しました。ローカル開発時には正常にロードされますが、サーバーでアクセスしようとするとエラー500が表示されます。エラー500、ローカルではなくサーバー上
私は私の.htaccessを消去してきた、ログに見て、私は
<?php
/**
* Template Name: Actus
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
*/
get_header('other'); ?>
<section id ="page-title" class="col-md-12">
<div class="container">
<div class="container">
<header class="row extra-bottom-padding">
<div class="section_title col-lg-12 col-sm-12 col-sm-12 top-buffer">
<h1 class="title">Actus</h1>
<hr class="divider_blue">
</div>
</header>
<?
$args = array("posts_per_page" => "12", "category_name" => "actus, cest-fait");
$the_query = new WP_Query ($args);
$x = 1;
foreach ($args as $arg)
if($x % 4 == 0) echo '<div class="row">';
while ($the_query->have_posts()) : $the_query->the_post();
?>
<div class="col-md-4 col-lg-4 col-sm-6 col-xs-12">
<div class="le_post_entier">
<? the_post_thumbnail('actus'); ?>
<div class="col-md-12 postbody">
<div class="col-md-12 post-title">
<? the_title(); ?>
</div>
</div>
<a class="cta" href="#" style='color:#39c8d8; font-weight:bold;'>DÉCOUVRIR →</a>
</div>
</div>
<?php
endwhile; ?><?
$x++;
if($x % 4 == 0) echo '</div>';
?>
</div>
</section>
をしてくださいするのに役立ちます私は
PHPを追加するために必要な
驚くほど簡単でしたあなたのFTPクライアントのファイルのユーザだけでなく、ファイルのアクセス許可をチェックしてください –
サーバのエラーログを確認してください –