| ( ! ) Warning: include(/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php): failed to open stream: No such file or directory in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 0.6658 | 58525896 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:102 |
| 20 | 0.6658 | 58526536 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 0.6686 | 58852104 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |
| ( ! ) Warning: include(/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php): failed to open stream: No such file or directory in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 0.6658 | 58525896 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:102 |
| 20 | 0.6658 | 58526536 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 0.6686 | 58852104 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |
| ( ! ) Warning: include(): Failed opening '/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php' for inclusion (include_path='.:/usr/local/php/5.6/lib/php') in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 0.6658 | 58525896 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:102 |
| 20 | 0.6658 | 58526536 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 0.6686 | 58852104 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |
独自ドメインの設定
管理画面にアクセス、ブログの修正が出来ない。誰もが一度は通過するトラブルでしょう。わたしも経験をして大慌てしました。それは WordPress がバージョン 2.8 の頃で、意味を逆に取り違えたのでした。それから比べると日本語化も随分と進みましたが、間違えやすい表現はまだまだ残っていますね。
初心者にかぎらずわかりにくいところがあって、フォーラムに立ち寄ると『どこがわからないのか』。初心者の失敗に改めて気付かされるところが多い。
WordPress は自分自身で管理できるブログ・システム。最低でも HTML で静的サイトを作り更新出来ていることがスキルとしての前提となっています。だから、わたしと同様に意味を取り違えなければディレクトリ構造については理解されているでしょう。
静的 HTML サイトをドメインルートにして WordPress はブログにするケースが理想でしょうから、サブディレクトリにインストールしておくのが管理しやすい。
そのままでブログとして更新すればいいのですが、サブドメインで運用するのも‐Facebookと連動させるなど‐何かと便利な面もありますね。
サブドメインのルートに WordPress をインストールしてもいいけど、セキュリティの面ではルートに展開しておかないほうが良い。そこで、WordPress 自体はサブディレクトリにおいてサブドメインでサイトをアクセスさせる方法。
ドメインと、WordPressをインストールしたアドレスの関係はどうなっていますか。
ダッシュボード>設定>一般で次のようになっていると仮定します。
変更前
- WordPress アドレス (URL)
- http://独自ドメイン/wordpress
- サイトアドレス (URL)
- http://独自ドメイン/wordpress
これは次のように理解する。WordPressをドメインでアクセスできるようにする場合、サイトアドレスの方だけルートドメインにします。間違いやすいのですが反対に WordPress アドレスを変更すると全くアクセスできなくなります。
変更後
- WordPress (がインストールされているURL)
- http://(独自ドメイン)/wordpress/
- サイトアドレス
- http://(独自ドメイン)
変更して『変更を保存』したまま、設定後は他のページに遷移したりしないでそのまま設定のページを表示したままでいてください。もし、その後の手順を間違うとサイトは表示されても管理画面にログインできなくなります。
に設定で指定して下さい。間違いやすいのですが反対にすると管理画面に入れなくなります。
ftps でファイルの移動、あるいはコピー
そして、
- http://(独自ドメイン)/wordpress/index.php
- http://(独自ドメイン)/wordpress/.htaccess
の2つを、http://(独自ドメイン)の直下にコピー。
- http://(独自ドメイン)/index.php
- http://(独自ドメイン)/.htaccess
index.php の書き換え
コピーした方の index.php のみを変更します。
require(‘./wp-blog-header.php’);
とある部分を
require(‘./wordpress/wp-blog-header.php’);
とします。
|
1 2 |
/** Loads the WordPress Environment and Template */ require('./wordpress/wp-blog-header.php'); |
独自ドメインがあるディレクトリが異なる場合は、同じにはなりませんが wp-blog-header.php までの相対アドレスを辿って下さい。
パーマネントリンクの再設定
.htaccess の内容は、初期のまま変更されていないようならパーマネントリンクの設定を再設定します。
サイトの確認
変更を保存している状態のブラウザと違うブラウザで、ドメインを直打ちでアクセスして確認します。
http://(独自ドメイン)
で WordPress のサイトが表示されれば完了です。
インデックスファイルと .htaccess ファイルは大切
インデックスファイルがない場合、ドメインでアクセスするとサーバー内のファイルがインターネット全体に公開されてしまいます。
フォーラムにトピックされた相談への返事を整理しなおしました。
- WordPress > フォーラム » 使い方全般
- サーバークイーンで独自ドメインを設定
| ( ! ) Warning: include(/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php): failed to open stream: No such file or directory in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 3.4929 | 62030160 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:107 |
| 20 | 3.4930 | 62030600 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 3.4940 | 62047840 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |
| ( ! ) Warning: include(/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php): failed to open stream: No such file or directory in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 3.4929 | 62030160 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:107 |
| 20 | 3.4930 | 62030600 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 3.4940 | 62047840 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |
| ( ! ) Warning: include(): Failed opening '/home/sites/heteml/cfusers0/a/m/a/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/template/category/template.php' for inclusion (include_path='.:/usr/local/php/5.6/lib/php') in /home/users/0/amadeusrecord/web/isuite/wp-content/plugins/amazon-auto-links/include/class/unit/AmazonAutoLinks_Unit.php on line 377 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 220944 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 223776 | require( '/home/users/0/amadeusrecord/web/isuite/wp-blog-header.php' ) | .../index.php:17 |
| 3 | 0.5771 | 57712184 | require_once( '/home/users/0/amadeusrecord/web/isuite/wp-includes/template-loader.php' ) | .../wp-blog-header.php:16 |
| 4 | 0.5850 | 57788312 | include( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/archive.php' ) | .../template-loader.php:74 |
| 5 | 0.6442 | 58353424 | get_template_part( ) | .../archive.php:38 |
| 6 | 0.6442 | 58354112 | locate_template( ) | .../general-template.php:179 |
| 7 | 0.6442 | 58354256 | load_template( ) | .../template.php:477 |
| 8 | 0.6443 | 58370968 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/loop.php' ) | .../template.php:503 |
| 9 | 0.6447 | 58384208 | get_template_part( ) | .../loop.php:18 |
| 10 | 0.6447 | 58384904 | locate_template( ) | .../general-template.php:179 |
| 11 | 0.6447 | 58385048 | load_template( ) | .../template.php:477 |
| 12 | 0.6449 | 58408336 | require( '/home/users/0/amadeusrecord/web/isuite/wp-content/themes/portal/content.php' ) | .../template.php:503 |
| 13 | 0.6530 | 58428152 | the_content( ) | .../content.php:29 |
| 14 | 0.6531 | 58435104 | apply_filters( ) | .../post-template.php:222 |
| 15 | 0.6654 | 58479584 | call_user_func_array:{/home/users/0/amadeusrecord/web/isuite/wp-includes/plugin.php:214} ( ) | .../plugin.php:214 |
| 16 | 0.6654 | 58479800 | callback_filter_the_content ( ) | .../plugin.php:214 |
| 17 | 0.6654 | 58480272 | AmazonAutoLinks_AutoInsert_->__call( ) | .../plugin.php:214 |
| 18 | 0.6654 | 58480600 | AmazonAutoLinks_AutoInsert_->doFilter( ) | .../AmazonAutoLinks_AutoInsert_.php:64 |
| 19 | 3.4929 | 62030160 | AmazonAutoLinks_Units_->getOutput( ) | .../AmazonAutoLinks_AutoInsert_.php:107 |
| 20 | 3.4930 | 62030600 | AmazonAutoLinks_Units_->getOutputByID( ) | .../AmazonAutoLinks_Units_.php:46 |
| 21 | 3.4940 | 62047840 | AmazonAutoLinks_Unit->getOutput( ) | .../AmazonAutoLinks_Units_.php:70 |



