テーマ |
8.9.x |
Twig |
Twig で 月末日を算出する方法 |
テーマ |
8.3x |
Core |
Twig開発用の設定 |
Migrate |
9.x |
drush config |
Upgrade source(環境) を 変更したときにやるべきこと |
言語 |
6.22 |
|
URLエイリアスを使った場合に、翻訳したページで同じURLエイリアスが使えないという不具合 |
ユーザ |
7.23 |
PHP |
user_load_multiple()の復帰値 |
サイトの環境設定 |
7.38 |
Views Bulk Operation |
VBO(Views Bulk Operation)で指定したアクションが表示されない |
コンテンツの管理 |
7,51 |
Views Data Export |
Views Data ExportでCSVデータが欠けてしまう |
フォーム |
8.9.x |
Views |
Views exposed filterのフォームに#default_valueを仕込む方法 |
Views Exposed Filter |
8.4x |
hook_views_pre_view |
Views Exposed Formの複数単語入力(textfield)をフォーム上だけ複数行入力(textarea)にする方法 |
コンテンツの作成 |
7.26 |
CKEditor Views |
Viewsでティザーを一覧するとページのレイアウトが崩れることがある |
ダウンロード |
6.x |
Views Bonus Pack |
Viewsで表示した内容をCSVダウンロード |
サイトの構築 |
7.22 |
Views Devel |
Viewsの設定ページが変に? |
Views |
8.4x |
hook_views_query_alter |
Viewsクエリに多くの条件を追加する方法 |
Views |
8.4x |
hook_views_query_alter |
Viewsクエリの条件式にサブクエリを追加する方法 |
排他 |
7.26 |
lock |
Viewsモジュールの設定ページのような排他機能 |
フォーム |
7.38 |
Views |
Views一覧の絞り込み検索フォームで複数フィールドを対象にしたい |
言語 |
7.28 |
vim |
vimで全角が化けてしまう |
css |
7.38 |
Webform |
Webfomの送信内容確認ページで表示が崩れる |
フォーム |
7.15 |
Webform |
Webform - 確認ページの多言語化 |
Japanese mail |
7.15 |
Webform, Mail System, Mime Mail, Japanese Mail Helper |
Webformから文字化けしないメール送信を行うには |
コメント
非自動(手動で入力した)のURLエイリアスがクリアされた。
パーマリンク Submitted by actbrain on 2012/10/22 22:01.
非自動(手動で入力した)のURLエイリアスがクリアされた。
・自動エイリアスになってしまった。
・Webformコンテンツ。
※その他のノードは未確認。
※Webformは保存しなおすと強制自動エイリアス化されてしまう問題があるので、
その関係かも。
とりあえずコンテンツを再保存する事で対策。
パーマリンク Submitted by actbrain on 2012/10/22 22:01.
とりあえずコンテンツを再保存する事で対策。
※今度なったら、コンテンツ管理からのBulk(公開)等で試してみる。
(自動化チェックは外れていたので、そのまま一斉保存して結果を見てみる)
2012年7月18日現在 問題が解消された模様
パーマリンク Submitted by actbrain on 2012/10/22 22:01.
2012年7月18日現在 問題が解消された模様
Backup and Migrateで問題発生
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
Backup and Migrateで問題発生
ホーム » 管理 » 環境設定 » システム
バックアップと移動
/admin/config/system/backup_migrate
[今すぐバックアップ]
Notice: Undefined index: name backup_migrate_destination_db_mysql->_get_tables() (/ドキュメントルート/sites/all/modules/backup_migrate/includes/destinations.db.mysql.inc ファイル 186行).
/**
* Get a list of tables in the db.
*/
function _get_tables() {
$out = array();
// get auto_increment values and names of all tables
$tables = $this->query("show table status", array(), array('fetch' => PDO::FETCH_ASSOC));
foreach ($tables as $table) {
$out[$table['name']] = $table; ← ココ
}
return $out;
}
$tables = $this->query("show
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
$tables = $this->query("show table status", array(), array('fetch' => PDO::FETCH_ASSOC));
の結果、
foreach ($tables as $table) {
の$tableが
Name (String, 7 characters ) actions
Engine (String, 6 characters ) InnoDB
~
のようになっており、'name'で取得しているためエラーが出てしまう。
backup_migrate/includes
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
backup_migrate/includes/destinations.db.mysql.inc: 185~
foreach ($tables as $table) {
out[$table['name']] = $table;
}
を以下のように変更する事で対策。
// - actbrain
// - foreach ($tables as $table) {
// - $out[$table['name']] = $table;
// - }
// + actbrain
/* + */ foreach ($tables as $i => $table) {
/* + */ foreach ($table as $j => $v) {
/* + */ $out[$i][strtolower($j)] = $v;
/* + */ }
/* + */ }
同時に、
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
同時に、
sites/all/modules/backup_migrate/includes/destinations.db.mysql.inc: 205行目
$out .= strtr($create['create table'], array("\n" => ' ', '"' => '`'));
でも同様のエラー! 以下のように変更することにより対策。
// - actbrain
// $out .= strtr($create['create table'], array("\n" => ' ', '"' => '`'));
// + actbrain
/* + */ $out .= strtr($create['Create Table'], array("\n" => ' ', '"' => '`'));
直接的な原因は、
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
直接的な原因は、
http://drupal.org/node/1558424
- Fixed DB Case Sensitivity: Allow BINARY attribute in MySQL.
(固定DBの大文字と小文字の区別:MySQLのBINARY属性を許可します)
でした。
2012年7月18日 version = "7.x-2.4
パーマリンク Submitted by actbrain on 2012/10/22 22:02.
2012年7月18日 version = "7.x-2.4" では解消済み。
ページ