Viewsプログラミング |
8.4x |
Views |
drupal8におけるViewsプログラミング |
Viewsプログラミング |
8.6.x |
Views |
Drupal8 Viewsの動的キャッシュをクリアする方法 |
Views Exposed Filter |
8.4x |
hook_views_pre_view |
Views Exposed Formの複数単語入力(textfield)をフォーム上だけ複数行入力(textarea)にする方法 |
Views |
8.4x |
hook_views_query_alter |
現在のViewsクエリを保存・再現する方法 |
Views |
8.4x |
hook_views_query_alter |
Viewsクエリの条件式にサブクエリを追加する方法 |
Views |
8.4x |
hook_views_query_alter |
Viewsクエリに多くの条件を追加する方法 |
video |
8.4x |
video map |
動画上にクリッカブルマップを作成する方法 |
Token |
8.4x |
Token |
カスタムモジュールからtokenを提供する方法(drupal8版) |
token |
7.34 |
token |
オリジナルモジュールからtokenを提供する方法を教えて下さい。 |
SSH |
7.50 |
ProxyCommand |
SSH IP制限を1コマンドで通過する |
SFTP |
8.4x |
SFTP RSA |
SFTP(RSA)でファイル転送(送信)する方法 |
SESSION |
8.9.x |
api |
$_SESION操作のAPI |
Proxy |
7.59 |
Proxy Apache settings.php |
リバースプロキシ(Apache)+バックグランドWeb(Drupal 7 )でログインセッションを維持する方法 |
PhpStorm |
7.50 |
LocalForward |
PhpStormから踏み台を使う |
PHP-FPM |
8.9.x |
PHP |
PHP-FPM 環境で .htaccess に php_value を 書いてもダメ |
PHP |
8.3x |
PHP |
drupa8でhook_init()する方法 |
PHP |
7.22 |
PHP |
ノードに付いたコメントを好きな場所に表示する |
PHP |
8.9.x |
PHP |
YamlをPHP配列にする方法 |
PHP |
8.9.x |
drush |
drush sql:cli < が機能しない場合の対処 |
PCRE |
7.50 |
|
preg_match()がおかしい |
コメント
非自動(手動で入力した)の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" では解消済み。
ページ