cron ジョブを使用してファイルを実行しようとすると、次のようになります
Parse error: syntax error, unexpected T_STRING in /home/joshand2/public_html/application/models/model_posting.php on line 1787
1787 の行はgoto endofloop;
、この行に構文関連の問題があるかどうかはわかりませんが、endofloop
参照先です。
エンドオブループ:
if (file_exists("cookies/".$this->job_id."_job_".$this->site_id."_site.txt")) {
echo "The file cookies/".$this->job_id."_job_".$this->site_id."_site.txt exists";
unlink("cookies/".$this->job_id."_job_".$this->site_id."_site.txt");
}
このエラーを修正するのを手伝ってくれる人はいますか?