WEB-Memo

エントリー

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

 

改善方法:エクステンション/エクステンション管理/データベース/修正ボタンを押すと改善

参考サイト(http://omgili.com)

 

Freo+Google analytics(js追記時)

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}で囲んでエラー回避

参考サイト(Freo wiki)

 

 

Freo-URLの簡略化(mod_rewrite)

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」無しでアクセス可へ

※ページパス調整プラグイン未使用のためその他トラブルが発生するかは未確認

→自身の環境では特に問題ないみたいです。

便利アドオンメモ

FireFox

  • Wappalyzer 解析ツール

 

Chorome

  • Chrome Sniffer 解析ツール
  • Ghostery トラッキングチェック
  • IP Address and Domain Information 調査ツール

 

共通

  • Google アナリティクス オプトアウト アドオン 無効にするアドオン

Joomla!-PHPメモ

  • CMS:joomla!
  • トラブル:エクステンションのインストール不可(webからインストール、パッケージファイルのアップロード共に不可)
  • 表示
  •  
    • サーバ側エラー表記:Fatal error: Maximum execution time of 30 seconds exceeded in /www/xxx/libraries/joomla/archive/tar.php on line 169
    • XAMPP: 停止(ホワイトアウト)

改善方法:php.iniに

max_execution_time = 120

を追記。

  • XAMPPでも有効(変更後Apacheの更新が必要。)
  • サイズの大きいエクステンションのインストール時に有効っぽい

Freo-PHPメモ

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"


を追記にて改善

 

 

 

 

エントリーページ移動

Notice

ここは一次創作(オリジナルJUNE)とサイト運営に関するメモを載せたサイトです。

Recent Posts

<<2024年04月>>

S M T W T F S
- 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 - - - -

tag-cloud

Feed