Joomla Update不可
アップデートしようとすると下記エラー。(Ver.3.2.?→3.2.3)
エラーが発生しました。
0 SQL=SELECT DISTINCT update_site_id, type, location, last_check_timestamp, extra_query FROM jos_update_sites WHERE enabled = 1
改善方法:エクステンション/エクステンション管理/データベース/修正ボタンを押すと改善
アップデートしようとすると下記エラー。(Ver.3.2.?→3.2.3)
エラーが発生しました。
0 SQL=SELECT DISTINCT update_site_id, type, location, last_check_timestamp, extra_query FROM jos_update_sites WHERE enabled = 1
改善方法:エクステンション/エクステンション管理/データベース/修正ボタンを押すと改善
CMS:Freo
header内にトラッキング コードを直書きするとエラー
エラー表記:
Fatal error: Smarty error: [in header.html line 27]: syntax error: unrecognized tag: i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments) (Smarty_Compiler.class.php, line 446) in /xxx/freo/libs/smarty/Smarty.class.php on line 1094
{literal}で囲んでエラー回避
CMS:Freo
サーバ:さくらインターネット(申込みサービスによってのサーバ環境は不明)
公式案内の.htaccess
DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php/$1 </IfModule>
→500エラー
下記へ書き換え(同サーバ内でmod_rewriteを使用しているためIfModuleは外しました。)
DirectoryIndex index.php RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteBase / RewriteRule .* index.php [L]
に変更で「index.php」無しでアクセス可へ
※ページパス調整プラグイン未使用のためその他トラブルが発生するかは未確認
→自身の環境では特に問題ないみたいです。
改善方法:php.iniに
max_execution_time = 120
を追記。
PHPのバージョンを上げるとアクセス不可
(PHP5.1?→PHP5.4.22)
以下アクセス時に表示されたエラー
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /www/xxx/freo/libs/freo/internals/default/default.php on line 117
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /www/xxx/freo/libs/freo/internals/default/default.php on line 118
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /www/xxx/freo/libs/freo/internals/default/default.php on line 260
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /www/xxx/freo/libs/freo/internals/default/default.php on line 261
◆改善方法(sakuraサーバの場合)
サーバコントロールパネル>アプリケーションの設定>PHP設定の編集>php.ini 設定ファイル編集
date.timezone = "Asia/Tokyo"
を追記にて改善
ここは一次創作(オリジナルJUNE)とサイト運営に関するメモを載せたサイトです。