wordpress create出來的資料庫tables, 各有其各自的功能, 而關於網站的相關設定都在wp-options這個table
所以網站設定要使用哪一個theme佈景主題, 請看此wp-options表格
目前的佈景主題是twenty seven, 所以有三個欄位包含theme name
1.template
2.stylesheet
3.current_theme
因此這三個欄位一定都跟背景主體theme有關, 下一篇繼續介紹 …
在安裝的時候就開宗明義的告訴使用者, 安裝程式會為使用者自動產生一個wp-config.php的設定檔案! 而使用者只需要step-by-step方式填入資料, wordpress預設安裝系統就能根據這些資訊產生該設定檔
就是需要這些資料:
1.資料庫名稱
2.資料庫使用者帳號
3.資料庫密碼
4.資料庫主機位址
5.資料表前綴(若您想要在單一資料庫內安裝多個 WordPress)
同時, 說明也很實在的告訴使用者:
wordpress安裝系統是根據wp-config-sample.php的格式來產生wp-config.php
所以一但真的安裝失敗無法產生wp-config.php, 你也可以手動修改wp-config-sample.php成wp-config.php
並手動加入設定
自動產生的wp-config.php :
(關於wp-config.php的說明: http://wptw.org/wp-config/)
<?php
/**
* WordPress 基本設定檔。
*
* 本檔案包含以下設定選項: MySQL 設定、資料表前綴、
* 私密金鑰、WordPress 語言設定以及 ABSPATH。如需更多資訊,請
* 前往 {@link http://codex.wordpress.org/Editing_wp-config.php 編輯
* wp-config.php} Codex 頁面。或者向您的空間提供商諮詢關於 MySQL 設定資訊。
*
* 這個檔案用於安裝程式自動生成 wp-config.php 設定檔。
* 您不需要將它用於您的網站,可以手動複製這個檔案,
* 並重新命名為 "wp-config.php",然後輸入相關訊息。
*
* @package WordPress
*/
// ** MySQL 設定 - 您可以從主機服務提供商獲取相關資訊。 ** //
/** WordPress 的資料庫名稱,請更改 "database_name_here" */
define('DB_NAME', 'xxxxxxxx');
/** MySQL 資料庫使用者名稱,請更改 "username_here" */
define('DB_USER', 'xxxxxxxx');
/** MySQL 資料庫密碼,請更改 "password_here" */
define('DB_PASSWORD', 'xxxxxxxx');
/** MySQL 主機位址 */
define('DB_HOST', 'localhost');
/** 建立資料表時預設的文字編碼 */
define('DB_CHARSET', 'utf8');
/** 資料庫對照型態。如果不確定請勿更改。 */
define('DB_COLLATE', 'utf8_unicode_ci');
/**#@+
* 認證唯一金鑰設定。
*
* 將這些更改為不同的唯一字串或符號。
* 您可以使用 {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org 私密金鑰服務} 來自動產生。
* 您可於任何時候修改這些字串讓 Cookies 失效。這將會強制所有使用者必須重新登入。
*
* @since 2.6.0
*/
define('AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('SECURE_AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('LOGGED_IN_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('NONCE_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('SECURE_AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('LOGGED_IN_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
define('NONCE_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxx');
/**#@-*/
/**
* WordPress 資料表前綴。
*
* 若您為每個 WordPress 設定不同的資料表前綴,則可在同個資料庫內安裝多個 WordPress。
* 前綴只能使用半型數字、字母和底線!
*/
$table_prefix = 'wp_';
/**
* WordPress 本地化語言設定。預設為正體中文。
*
* 舉例來說,要使用 WordPress 正體中文介面,只需要填入 'zh_TW'。
* 更改此設定將 WordPress 本地化。對應的 MO 檔案必須放置於 wp-content/languages 目錄下。
* 舉例來說,將 zh_TW.mo 放置於 wp-content/languages 內並將 WPLANG 設定為 'zh_TW' 將
* 使用正體中文介面。
*/
define ('WPLANG', 'zh_TW');
/**
* WordPress 自動儲存間隔
*
* 當您編輯文章時 WordPress 使用 Ajax 技術自動地定時幫您儲存文章草稿。
* 您可更改數值以延長或減少自動儲存的時間間隔。
* 預設儲存間隔為 60 秒。
*/
//define('AUTOSAVE_INTERVAL', 60 ); // 單位:秒
/**
* WordPress 文章版本設定
*
* WordPress 預設會幫您儲存舊版的文章與分頁,以便您之後可以回復到先前的版本。
* 這功能可關閉,或是指定最大版本數量。
* 預設為開啟,若要關閉請將它設為 false。
* 若您想指定指定最大版本數量,請設個整數。
*/
//define('WP_POST_REVISIONS', true );
/**
* 快取
*
* 若 WP_CACHE 值為 true,當它執行 wp-settings.php 時會把 wp-content/advanced-cache.php 一起執行。
* 許多快取外掛會要求您將這個值設為 true。
*/
//define('WP_CACHE', false);
/**
* 啟用多網誌站台與網誌網路功能
*
* 若 WP_ALLOW_MULTISITE 值為 true 可啟用多網誌站台功能。
*/
//define('WP_ALLOW_MULTISITE', false);
/**
* 開發人員用: WordPress 偵錯模式。
*
* 將此設定為 true 將可開啟開發時的通知顯示。
* 強烈建議外掛與佈景主題開發人員使用 WP_DEBUG
* 於他們的開發環境中。
*/
define('WP_DEBUG', false);
/* 設定完成,請儲存檔案。然後開始 Blogging 吧! */
/** WordPress 目錄的絕對路徑。 */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** 設定 WordPress 變數和包含的檔案。 */
require_once(ABSPATH . 'wp-settings.php');
進入wordpress目錄之後可以看見的檔案與目錄
wp-admin 為wordpress網站管理後台的目錄
wp-content 是wordpress前台網站顯示出來的目錄
wp-includes 是放重要的API定義, 提供wp-admin/wp-content以及其他檔案使用
用linux指令 tree
看一下有多少檔案與樹狀圖
wordpress-release/3.2.1/wordpress# tree
.
|– index.php
|– license.txt
|– readme.html
|– wp-activate.php
|– wp-admin
| |– admin-ajax.php
| |– admin-footer.php
| |– admin-functions.php
| |– admin-header.php
| |– admin.php
| |– admin-post.php
| |– async-upload.php
| |– comment.php
| |– credits.php
| |– css
| | |– colors-classic.css
| | |– colors-classic.dev.css
| | |– colors-classic-rtl.css
| | |– colors-classic-rtl.dev.css
| | |– colors-fresh.css
| | |– colors-fresh.dev.css
| | |– colors-fresh-rtl.css
| | |– colors-fresh-rtl.dev.css
| | |– dashboard.css
| | |– dashboard.dev.css
| | |– dashboard-rtl.css
| | |– dashboard-rtl.dev.css
| | |– farbtastic.css
| | |– farbtastic-rtl.css
| | |– global.css
| | |– global.dev.css
| | |– global-rtl.css
| | |– global-rtl.dev.css
| | |– ie.css
| | |– ie.dev.css
| | |– ie-rtl.css
| | |– ie-rtl.dev.css
| | |– install.css
| | |– install.dev.css
| | |– install-rtl.css
| | |– install-rtl.dev.css
| | |– login.css
| | |– login.dev.css
| | |– login-rtl.css
| | |– login-rtl.dev.css
| | |– media.css
| | |– media.dev.css
| | |– media-rtl.css
| | |– media-rtl.dev.css
| | |– ms.css
| | |– ms.dev.css
| | |– nav-menu.css
| | |– nav-menu.dev.css
| | |– nav-menu-rtl.css
| | |– nav-menu-rtl.dev.css
| | |– plugin-install.css
| | |– plugin-install.dev.css
| | |– plugin-install-rtl.css
| | |– plugin-install-rtl.dev.css
| | |– press-this.css
| | |– press-this.dev.css
| | |– press-this-rtl.css
| | |– press-this-rtl.dev.css
| | |– theme-editor.css
| | |– theme-editor.dev.css
| | |– theme-editor-rtl.css
| | |– theme-editor-rtl.dev.css
| | |– theme-install.css
| | |– theme-install.dev.css
| | |– theme-install-rtl.css
| | |– theme-install-rtl.dev.css
| | |– widgets.css
| | |– widgets.dev.css
| | |– widgets-rtl.css
| | |– widgets-rtl.dev.css
| | |– wp-admin.css
| | |– wp-admin.dev.css
| | |– wp-admin-rtl.css
| | `– wp-admin-rtl.dev.css
| |– custom-background.php
| |– custom-header.php
| |– edit-comments.php
| |– edit-form-advanced.php
| |– edit-form-comment.php
| |– edit-link-form.php
| |– edit.php
| |– edit-tag-form.php
| |– edit-tags.php
| |– export.php
| |– freedoms.php
| |– gears-manifest.php
| |– images
| | |– align-center.png
| | |– align-left.png
| | |– align-none.png
| | |– align-right.png
| | |– archive-link.png
| | |– arrows-dark.png
| | |– arrows-dark-vs.png
| | |– arrows.png
| | |– arrows-vs.png
| | |– blue-grad.png
| | |– bubble_bg.gif
| | |– bubble_bg-rtl.gif
| | |– button-grad-active.png
| | |– button-grad.png
| | |– comment-grey-bubble.png
| | |– date-button.gif
| | |– ed-bg.gif
| | |– ed-bg-vs.gif
| | |– fade-butt.png
| | |– fav-arrow.gif
| | |– fav-arrow-rtl.gif
| | |– fav.png
| | |– fav-vs.png
| | |– generic.png
| | |– gray-grad.png
| | |– gray-star.png
| | |– icons32.png
| | |– icons32-vs.png
| | |– imgedit-icons.png
| | |– list.png
| | |– loading.gif
| | |– loading-publish.gif
| | |– logo-ghost.png
| | |– logo.gif
| | |– logo-login.png
| | |– marker.png
| | |– mask.png
| | |– media-button-image.gif
| | |– media-button-music.gif
| | |– media-button-other.gif
| | |– media-button-video.gif
| | |– menu-arrow-frame.png
| | |– menu-arrow-frame-rtl.png
| | |– menu-arrows.gif
| | |– menu-bits.gif
| | |– menu-bits-rtl.gif
| | |– menu-bits-rtl-vs.gif
| | |– menu-bits-vs.gif
| | |– menu-dark.gif
| | |– menu-dark-rtl.gif
| | |– menu-dark-rtl-vs.gif
| | |– menu-dark-vs.gif
| | |– menu.png
| | |– menu-shadow.png
| | |– menu-shadow-rtl.png
| | |– menu-vs.png
| | |– no.png
| | |– press-this.png
| | |– required.gif
| | |– resize.gif
| | |– resize-rtl.gif
| | |– screen-options-toggle.gif
| | |– screen-options-toggle-vs.gif
| | |– se.png
| | |– sort.gif
| | |– star.png
| | |– toggle-arrow.gif
| | |– toggle-arrow-rtl.gif
| | |– upload-classic.png
| | |– upload-fresh.png
| | |– wheel.png
| | |– white-grad-active.png
| | |– white-grad.png
| | |– widgets-arrow.gif
| | |– widgets-arrow-vs.gif
| | |– wordpress-logo.png
| | |– wp-logo.png
| | |– wp-logo-vs.png
| | |– wpspin_dark.gif
| | |– wpspin_light.gif
| | |– xit.gif
| | `– yes.png
| |– import.php
| |– includes
| | |– admin.php
| | |– bookmark.php
| | |– class-ftp.php
| | |– class-ftp-pure.php
| | |– class-ftp-sockets.php
| | |– class-pclzip.php
| | |– class-wp-comments-list-table.php
| | |– class-wp-filesystem-base.php
| | |– class-wp-filesystem-direct.php
| | |– class-wp-filesystem-ftpext.php
| | |– class-wp-filesystem-ftpsockets.php
| | |– class-wp-filesystem-ssh2.php
| | |– class-wp-importer.php
| | |– class-wp-links-list-table.php
| | |– class-wp-list-table.php
| | |– class-wp-media-list-table.php
| | |– class-wp-ms-sites-list-table.php
| | |– class-wp-ms-themes-list-table.php
| | |– class-wp-ms-users-list-table.php
| | |– class-wp-plugin-install-list-table.php
| | |– class-wp-plugins-list-table.php
| | |– class-wp-posts-list-table.php
| | |– class-wp-terms-list-table.php
| | |– class-wp-theme-install-list-table.php
| | |– class-wp-themes-list-table.php
| | |– class-wp-upgrader.php
| | |– class-wp-users-list-table.php
| | |– comment.php
| | |– continents-cities.php
| | |– dashboard.php
| | |– deprecated.php
| | |– export.php
| | |– file.php
| | |– image-edit.php
| | |– image.php
| | |– import.php
| | |– internal-linking.php
| | |– list-table.php
| | |– manifest.php
| | |– media.php
| | |– menu.php
| | |– meta-boxes.php
| | |– misc.php
| | |– ms-deprecated.php
| | |– ms.php
| | |– nav-menu.php
| | |– plugin-install.php
| | |– plugin.php
| | |– post.php
| | |– schema.php
| | |– taxonomy.php
| | |– template.php
| | |– theme-install.php
| | |– theme.php
| | |– update-core.php
| | |– update.php
| | |– upgrade.php
| | |– user.php
| | `– widgets.php
| |– index-extra.php
| |– index.php
| |– install-helper.php
| |– install.php
| |– js
| | |– cat.dev.js
| | |– categories.dev.js
| | |– categories.js
| | |– cat.js
| | |– comment.dev.js
| | |– comment.js
| | |– common.dev.js
| | |– common.js
| | |– custom-background.dev.js
| | |– custom-background.js
| | |– custom-fields.dev.js
| | |– custom-fields.js
| | |– dashboard.dev.js
| | |– dashboard.js
| | |– edit-comments.dev.js
| | |– edit-comments.js
| | |– editor.dev.js
| | |– editor.js
| | |– farbtastic.js
| | |– gallery.dev.js
| | |– gallery.js
| | |– image-edit.dev.js
| | |– image-edit.js
| | |– inline-edit-post.dev.js
| | |– inline-edit-post.js
| | |– inline-edit-tax.dev.js
| | |– inline-edit-tax.js
| | |– link.dev.js
| | |– link.js
| | |– media.dev.js
| | |– media.js
| | |– media-upload.dev.js
| | |– media-upload.js
| | |– nav-menu.dev.js
| | |– nav-menu.js
| | |– password-strength-meter.dev.js
| | |– password-strength-meter.js
| | |– plugin-install.dev.js
| | |– plugin-install.js
| | |– postbox.dev.js
| | |– postbox.js
| | |– post.dev.js
| | |– post.js
| | |– revisions-js.php
| | |– set-post-thumbnail.dev.js
| | |– set-post-thumbnail.js
| | |– tags.dev.js
| | |– tags.js
| | |– theme.dev.js
| | |– theme.js
| | |– theme-preview.dev.js
| | |– theme-preview.js
| | |– user-profile.dev.js
| | |– user-profile.js
| | |– utils.dev.js
| | |– utils.js
| | |– widgets.dev.js
| | |– widgets.js
| | |– word-count.dev.js
| | |– word-count.js
| | |– wp-fullscreen.dev.js
| | |– wp-fullscreen.js
| | |– xfn.dev.js
| | `– xfn.js
| |– link-add.php
| |– link-manager.php
| |– link-parse-opml.php
| |– link.php
| |– load-scripts.php
| |– load-styles.php
| |– maint
| | `– repair.php
| |– media-new.php
| |– media.php
| |– media-upload.php
| |– menu-header.php
| |– menu.php
| |– moderation.php
| |– ms-admin.php
| |– ms-delete-site.php
| |– ms-edit.php
| |– ms-options.php
| |– ms-sites.php
| |– ms-themes.php
| |– ms-upgrade-network.php
| |– ms-users.php
| |– my-sites.php
| |– nav-menus.php
| |– network
| | |– admin.php
| | |– edit.php
| | |– index-extra.php
| | |– index.php
| | |– menu.php
| | |– plugin-editor.php
| | |– plugin-install.php
| | |– plugins.php
| | |– profile.php
| | |– settings.php
| | |– setup.php
| | |– site-info.php
| | |– site-new.php
| | |– site-settings.php
| | |– sites.php
| | |– site-themes.php
| | |– site-users.php
| | |– theme-editor.php
| | |– theme-install.php
| | |– themes.php
| | |– update-core.php
| | |– update.php
| | |– upgrade.php
| | |– user-edit.php
| | |– user-new.php
| | `– users.php
| |– network.php
| |– options-discussion.php
| |– options-general.php
| |– options-head.php
| |– options-media.php
| |– options-permalink.php
| |– options.php
| |– options-privacy.php
| |– options-reading.php
| |– options-writing.php
| |– plugin-editor.php
| |– plugin-install.php
| |– plugins.php
| |– post-new.php
| |– post.php
| |– press-this.php
| |– profile.php
| |– revision.php
| |– setup-config.php
| |– theme-editor.php
| |– theme-install.php
| |– themes.php
| |– tools.php
| |– update-core.php
| |– update.php
| |– upgrade-functions.php
| |– upgrade.php
| |– upload.php
| |– user
| | |– admin.php
| | |– index-extra.php
| | |– index.php
| | |– menu.php
| | |– profile.php
| | `– user-edit.php
| |– user-edit.php
| |– user-new.php
| |– users.php
| `– widgets.php
|– wp-app.php
|– wp-atom.php
|– wp-blog-header.php
|– wp-comments-post.php
|– wp-commentsrss2.php
|– wp-config-sample.php
|– wp-content
| |– index.php
| |– languages
| | |– ms-zh_TW.mo
| | |– ms-zh_TW.po
| | |– zh_TW.mo
| | `– zh_TW.po
| |– plugins
| | |– akismet
| | | |– admin.php
| | | |– akismet.css
| | | |– akismet.gif
| | | |– akismet.js
| | | |– akismet.php
| | | |– legacy.php
| | | |– readme.txt
| | | `– widget.php
| | |– hello.php
| | `– index.php
| `– themes
| |– index.php
| |– twentyeleven
| | |– 404.php
| | |– archive.php
| | |– author.php
| | |– category.php
| | |– colors
| | | `– dark.css
| | |– comments.php
| | |– content-aside.php
| | |– content-featured.php
| | |– content-gallery.php
| | |– content-image.php
| | |– content-intro.php
| | |– content-link.php
| | |– content-page.php
| | |– content.php
| | |– content-quote.php
| | |– content-single.php
| | |– content-status.php
| | |– editor-style.css
| | |– editor-style-rtl.css
| | |– footer.php
| | |– functions.php
| | |– header.php
| | |– image.php
| | |– images
| | | |– comment-arrow-bypostauthor-dark.png
| | | |– comment-arrow-bypostauthor-dark-rtl.png
| | | |– comment-arrow-bypostauthor.png
| | | |– comment-arrow-bypostauthor-rtl.png
| | | |– comment-arrow-dark.png
| | | |– comment-arrow-dark-rtl.png
| | | |– comment-arrow.png
| | | |– comment-arrow-rtl.png
| | | |– comment-bubble-dark.png
| | | |– comment-bubble-dark-rtl.png
| | | |– comment-bubble.png
| | | |– comment-bubble-rtl.png
| | | |– headers
| | | | |– chessboard.jpg
| | | | |– chessboard-thumbnail.jpg
| | | | |– hanoi.jpg
| | | | |– hanoi-thumbnail.jpg
| | | | |– lanterns.jpg
| | | | |– lanterns-thumbnail.jpg
| | | | |– pine-cone.jpg
| | | | |– pine-cone-thumbnail.jpg
| | | | |– shore.jpg
| | | | |– shore-thumbnail.jpg
| | | | |– trolley.jpg
| | | | |– trolley-thumbnail.jpg
| | | | |– wheel.jpg
| | | | |– wheel-thumbnail.jpg
| | | | |– willow.jpg
| | | | `– willow-thumbnail.jpg
| | | |– search.png
| | | `– wordpress.png
| | |– inc
| | | |– images
| | | | |– content.png
| | | | |– content-sidebar.png
| | | | |– dark.png
| | | | |– light.png
| | | | `– sidebar-content.png
| | | |– theme-options.css
| | | |– theme-options.js
| | | |– theme-options.php
| | | `– widgets.php
| | |– index.php
| | |– js
| | | |– html5.js
| | | `– showcase.js
| | |– languages
| | | |– twentyeleven.pot
| | | |– zh_TW.mo
| | | `– zh_TW.po
| | |– license.txt
| | |– page.php
| | |– readme.txt
| | |– rtl.css
| | |– screenshot.png
| | |– searchform.php
| | |– search.php
| | |– showcase.php
| | |– sidebar-footer.php
| | |– sidebar-page.php
| | |– sidebar.php
| | |– single.php
| | |– style.css
| | `– tag.php
| `– twentyten
| |– 404.php
| |– archive.php
| |– attachment.php
| |– author.php
| |– category.php
| |– comments.php
| |– editor-style.css
| |– editor-style-rtl.css
| |– footer.php
| |– functions.php
| |– header.php
| |– images
| | |– headers
| | | |– berries.jpg
| | | |– berries-thumbnail.jpg
| | | |– cherryblossoms.jpg
| | | |– cherryblossoms-thumbnail.jpg
| | | |– concave.jpg
| | | |– concave-thumbnail.jpg
| | | |– fern.jpg
| | | |– fern-thumbnail.jpg
| | | |– forestfloor.jpg
| | | |– forestfloor-thumbnail.jpg
| | | |– inkwell.jpg
| | | |– inkwell-thumbnail.jpg
| | | |– path.jpg
| | | |– path-thumbnail.jpg
| | | |– sunset.jpg
| | | `– sunset-thumbnail.jpg
| | `– wordpress.png
| |– index.php
| |– languages
| | |– twentyten.pot
| | |– zh_TW.mo
| | `– zh_TW.po
| |– license.txt
| |– loop-attachment.php
| |– loop-page.php
| |– loop.php
| |– loop-single.php
| |– onecolumn-page.php
| |– page.php
| |– rtl.css
| |– screenshot.png
| |– search.php
| |– sidebar-footer.php
| |– sidebar.php
| |– single.php
| |– style.css
| `– tag.php
|– wp-cron.php
|– wp-feed.php
|– wp-includes
| |– admin-bar.php
| |– atomlib.php
| |– author-template.php
| |– bookmark.php
| |– bookmark-template.php
| |– cache.php
| |– canonical.php
| |– capabilities.php
| |– category.php
| |– category-template.php
| |– class-feed.php
| |– class-http.php
| |– class-IXR.php
| |– class-json.php
| |– class-oembed.php
| |– class-phpass.php
| |– class-phpmailer.php
| |– class-pop3.php
| |– class-simplepie.php
| |– class-smtp.php
| |– class-snoopy.php
| |– class-wp-admin-bar.php
| |– class-wp-ajax-response.php
| |– class.wp-dependencies.php
| |– class-wp-error.php
| |– class-wp-http-ixr-client.php
| |– class-wp.php
| |– class.wp-scripts.php
| |– class.wp-styles.php
| |– class-wp-walker.php
| |– class-wp-xmlrpc-server.php
| |– comment.php
| |– comment-template.php
| |– compat.php
| |– cron.php
| |– css
| | |– admin-bar.css
| | |– admin-bar.dev.css
| | |– admin-bar-rtl.css
| | |– admin-bar-rtl.dev.css
| | |– jquery-ui-dialog.css
| | `– jquery-ui-dialog.dev.css
| |– default-constants.php
| |– default-filters.php
| |– default-widgets.php
| |– deprecated.php
| |– feed-atom-comments.php
| |– feed-atom.php
| |– feed.php
| |– feed-rdf.php
| |– feed-rss2-comments.php
| |– feed-rss2.php
| |– feed-rss.php
| |– formatting.php
| |– functions.php
| |– functions.wp-scripts.php
| |– functions.wp-styles.php
| |– general-template.php
| |– http.php
| |– images
| | |– admin-bar-sprite.png
| | |– admin-bar-sprite-rtl.png
| | |– blank.gif
| | |– crystal
| | | |– archive.png
| | | |– audio.png
| | | |– code.png
| | | |– default.png
| | | |– document.png
| | | |– interactive.png
| | | |– license.txt
| | | |– spreadsheet.png
| | | |– text.png
| | | `– video.png
| | |– rss.png
| | |– smilies
| | | |– icon_arrow.gif
| | | |– icon_biggrin.gif
| | | |– icon_confused.gif
| | | |– icon_cool.gif
| | | |– icon_cry.gif
| | | |– icon_eek.gif
| | | |– icon_evil.gif
| | | |– icon_exclaim.gif
| | | |– icon_idea.gif
| | | |– icon_lol.gif
| | | |– icon_mad.gif
| | | |– icon_mrgreen.gif
| | | |– icon_neutral.gif
| | | |– icon_question.gif
| | | |– icon_razz.gif
| | | |– icon_redface.gif
| | | |– icon_rolleyes.gif
| | | |– icon_sad.gif
| | | |– icon_smile.gif
| | | |– icon_surprised.gif
| | | |– icon_twisted.gif
| | | `– icon_wink.gif
| | |– upload.png
| | |– wlw
| | | |– wp-comments.png
| | | |– wp-icon.png
| | | `– wp-watermark.png
| | `– wpmini-blue.png
| |– js
| | |– admin-bar.dev.js
| | |– admin-bar.js
| | |– autosave.dev.js
| | |– autosave.js
| | |– colorpicker.dev.js
| | |– colorpicker.js
| | |– comment-reply.dev.js
| | |– comment-reply.js
| | |– crop
| | | |– cropper.css
| | | |– cropper.js
| | | |– marqueeHoriz.gif
| | | `– marqueeVert.gif
| | |– hoverIntent.dev.js
| | |– hoverIntent.js
| | |– imgareaselect
| | | |– border-anim-h.gif
| | | |– border-anim-v.gif
| | | |– imgareaselect.css
| | | |– jquery.imgareaselect.dev.js
| | | `– jquery.imgareaselect.js
| | |– jcrop
| | | |– Jcrop.gif
| | | |– jquery.Jcrop.css
| | | |– jquery.Jcrop.dev.js
| | | `– jquery.Jcrop.js
| | |– jquery
| | | |– jquery.color.dev.js
| | | |– jquery.color.js
| | | |– jquery.form.dev.js
| | | |– jquery.form.js
| | | |– jquery.hotkeys.dev.js
| | | |– jquery.hotkeys.js
| | | |– jquery.js
| | | |– jquery.query.js
| | | |– jquery.schedule.js
| | | |– jquery.serialize-object.js
| | | |– jquery.table-hotkeys.dev.js
| | | |– jquery.table-hotkeys.js
| | | |– suggest.dev.js
| | | |– suggest.js
| | | |– ui.button.js
| | | |– ui.core.js
| | | |– ui.dialog.js
| | | |– ui.draggable.js
| | | |– ui.droppable.js
| | | |– ui.mouse.js
| | | |– ui.position.js
| | | |– ui.resizable.js
| | | |– ui.selectable.js
| | | |– ui.sortable.js
| | | |– ui.tabs.js
| | | `– ui.widget.js
| | |– json2.dev.js
| | |– json2.js
| | |– l10n.dev.js
| | |– l10n.js
| | |– prototype.js
| | |– quicktags.dev.js
| | |– quicktags.js
| | |– scriptaculous
| | | |– builder.js
| | | |– controls.js
| | | |– dragdrop.js
| | | |– effects.js
| | | |– MIT-LICENSE
| | | |– scriptaculous.js
| | | |– slider.js
| | | |– sound.js
| | | |– unittest.js
| | | `– wp-scriptaculous.js
| | |– swfobject.js
| | |– swfupload
| | | |– handlers.dev.js
| | | |– handlers.js
| | | |– license.txt
| | | |– plugins
| | | | |– swfupload.cookies.js
| | | | |– swfupload.queue.js
| | | | |– swfupload.speed.js
| | | | `– swfupload.swfobject.js
| | | |– swfupload-all.js
| | | |– swfupload.js
| | | `– swfupload.swf
| | |– thickbox
| | | |– loadingAnimation.gif
| | | |– macFFBgHack.png
| | | |– tb-close.png
| | | |– thickbox.css
| | | `– thickbox.js
| | |– tinymce
| | | |– langs
| | | | |– wp-langs-en.js
| | | | `– wp-langs.php
| | | |– license.txt
| | | |– plugins
| | | | |– directionality
| | | | | `– editor_plugin.js
| | | | |– fullscreen
| | | | | |– editor_plugin.js
| | | | | `– fullscreen.htm
| | | | |– inlinepopups
| | | | | |– editor_plugin.js
| | | | | |– skins
| | | | | | `– clearlooks2
| | | | | | |– img
| | | | | | | |– alert.gif
| | | | | | | |– button.gif
| | | | | | | |– buttons.gif
| | | | | | | |– confirm.gif
| | | | | | | |– corners.gif
| | | | | | | |– drag.gif
| | | | | | | |– horizontal.gif
| | | | | | | `– vertical.gif
| | | | | | `– window.css
| | | | | `– template.htm
| | | | |– media
| | | | | |– css
| | | | | | `– media.css
| | | | | |– editor_plugin.js
| | | | | |– js
| | | | | | |– embed.js
| | | | | | `– media.js
| | | | | |– media.htm
| | | | | `– moxieplayer.swf
| | | | |– paste
| | | | | |– blank.htm
| | | | | |– editor_plugin.js
| | | | | |– js
| | | | | | |– pastetext.js
| | | | | | `– pasteword.js
| | | | | |– pastetext.htm
| | | | | `– pasteword.htm
| | | | |– spellchecker
| | | | | |– changelog.txt
| | | | | |– classes
| | | | | | |– EnchantSpell.php
| | | | | | |– GoogleSpell.php
| | | | | | |– PSpell.php
| | | | | | |– PSpellShell.php
| | | | | | |– SpellChecker.php
| | | | | | `– utils
| | | | | | |– JSON.php
| | | | | | `– Logger.php
| | | | | |– config.php
| | | | | |– css
| | | | | | `– content.css
| | | | | |– editor_plugin.js
| | | | | |– img
| | | | | | `– wline.gif
| | | | | |– includes
| | | | | | `– general.php
| | | | | `– rpc.php
| | | | |– tabfocus
| | | | | `– editor_plugin.js
| | | | |– wordpress
| | | | | |– css
| | | | | | `– content.css
| | | | | |– editor_plugin.dev.js
| | | | | |– editor_plugin.js
| | | | | `– img
| | | | | |– audio.gif
| | | | | |– embedded.png
| | | | | |– image.gif
| | | | | |– media.gif
| | | | | |– more_bug.gif
| | | | | |– page_bug.gif
| | | | | |– page.gif
| | | | | |– trans.gif
| | | | | `– video.gif
| | | | |– wpdialogs
| | | | | |– editor_plugin.dev.js
| | | | | |– editor_plugin.js
| | | | | `– js
| | | | | |– popup.dev.js
| | | | | |– popup.js
| | | | | |– wpdialog.dev.js
| | | | | `– wpdialog.js
| | | | |– wpeditimage
| | | | | |– css
| | | | | | |– editimage.css
| | | | | | `– editimage-rtl.css
| | | | | |– editimage.html
| | | | | |– editor_plugin.dev.js
| | | | | |– editor_plugin.js
| | | | | |– img
| | | | | | |– delete.png
| | | | | | `– image.png
| | | | | `– js
| | | | | |– editimage.dev.js
| | | | | `– editimage.js
| | | | |– wpfullscreen
| | | | | |– css
| | | | | | `– wp-fullscreen.css
| | | | | |– editor_plugin.dev.js
| | | | | `– editor_plugin.js
| | | | |– wpgallery
| | | | | |– editor_plugin.dev.js
| | | | | |– editor_plugin.js
| | | | | `– img
| | | | | |– delete.png
| | | | | |– edit.png
| | | | | |– gallery.png
| | | | | `– t.gif
| | | | `– wplink
| | | | |– css
| | | | | |– wplink.css
| | | | | |– wplink.dev.css
| | | | | |– wplink-rtl.css
| | | | | `– wplink-rtl.dev.css
| | | | |– editor_plugin.dev.js
| | | | |– editor_plugin.js
| | | | |– img
| | | | | `– toggle-arrow.png
| | | | `– js
| | | | |– wplink.dev.js
| | | | `– wplink.js
| | | |– themes
| | | | `– advanced
| | | | |– about.htm
| | | | |– anchor.htm
| | | | |– charmap.htm
| | | | |– color_picker.htm
| | | | |– editor_template.js
| | | | |– image.htm
| | | | |– img
| | | | | |– colorpicker.jpg
| | | | | |– flash.gif
| | | | | |– gotmoxie.png
| | | | | |– icons.gif
| | | | | |– iframe.gif
| | | | | |– pagebreak.gif
| | | | | |– quicktime.gif
| | | | | |– realmedia.gif
| | | | | |– shockwave.gif
| | | | | |– trans.gif
| | | | | |– video.gif
| | | | | |– windowsmedia.gif
| | | | | `– wpicons.png
| | | | |– js
| | | | | |– about.js
| | | | | |– anchor.js
| | | | | |– charmap.js
| | | | | |– color_picker.js
| | | | | |– image.js
| | | | | |– link.js
| | | | | `– source_editor.js
| | | | |– link.htm
| | | | |– shortcuts.htm
| | | | |– skins
| | | | | |– default
| | | | | | |– content.css
| | | | | | |– dialog.css
| | | | | | |– img
| | | | | | | |– buttons.png
| | | | | | | |– items.gif
| | | | | | | |– menu_arrow.gif
| | | | | | | |– menu_check.gif
| | | | | | | |– progress.gif
| | | | | | | `– tabs.gif
| | | | | | `– ui.css
| | | | | |– highcontrast
| | | | | | |– content.css
| | | | | | |– dialog.css
| | | | | | `– ui.css
| | | | | |– o2k7
| | | | | | |– content.css
| | | | | | |– dialog.css
| | | | | | |– img
| | | | | | | |– button_bg_black.png
| | | | | | | |– button_bg.png
| | | | | | | `– button_bg_silver.png
| | | | | | |– ui_black.css
| | | | | | |– ui.css
| | | | | | `– ui_silver.css
| | | | | `– wp_theme
| | | | | |– content.css
| | | | | |– dialog.css
| | | | | |– img
| | | | | | |– butt2.png
| | | | | | |– button_bg.png
| | | | | | |– down_arrow.gif
| | | | | | |– fade-butt.png
| | | | | | |– separator.gif
| | | | | | `– tabs.gif
| | | | | `– ui.css
| | | | `– source_editor.htm
| | | |– tiny_mce.js
| | | |– tiny_mce_popup.js
| | | |– utils
| | | | |– editable_selects.js
| | | | |– form_utils.js
| | | | |– mctabs.js
| | | | `– validate.js
| | | |– wp-mce-help.php
| | | |– wp-tinymce.js.gz
| | | `– wp-tinymce.php
| | |– tw-sack.dev.js
| | |– tw-sack.js
| | |– wp-ajax-response.dev.js
| | |– wp-ajax-response.js
| | |– wp-list-revisions.dev.js
| | |– wp-list-revisions.js
| | |– wp-lists.dev.js
| | `– wp-lists.js
| |– kses.php
| |– l10n.php
| |– link-template.php
| |– load.php
| |– locale.php
| |– media.php
| |– meta.php
| |– ms-blogs.php
| |– ms-default-constants.php
| |– ms-default-filters.php
| |– ms-deprecated.php
| |– ms-files.php
| |– ms-functions.php
| |– ms-load.php
| |– ms-settings.php
| |– nav-menu.php
| |– nav-menu-template.php
| |– pluggable-deprecated.php
| |– pluggable.php
| |– plugin.php
| |– pomo
| | |– entry.php
| | |– mo.php
| | |– po.php
| | |– streams.php
| | `– translations.php
| |– post.php
| |– post-template.php
| |– post-thumbnail-template.php
| |– query.php
| |– registration-functions.php
| |– registration.php
| |– rewrite.php
| |– rss-functions.php
| |– rss.php
| |– script-loader.php
| |– shortcodes.php
| |– taxonomy.php
| |– template-loader.php
| |– Text
| | |– Diff
| | | |– Engine
| | | | |– native.php
| | | | |– shell.php
| | | | |– string.php
| | | | `– xdiff.php
| | | |– Renderer
| | | | `– inline.php
| | | `– Renderer.php
| | `– Diff.php
| |– theme-compat
| | |– comments.php
| | |– comments-popup.php
| | |– footer.php
| | |– header.php
| | `– sidebar.php
| |– theme.php
| |– update.php
| |– user.php
| |– vars.php
| |– version.php
| |– widgets.php
| |– wlwmanifest.xml
| |– wp-db.php
| `– wp-diff.php
|– wp-links-opml.php
|– wp-load.php
|– wp-login.php
|– wp-mail.php
|– wp-pass.php
|– wp-rdf.php
|– wp-register.php
|– wp-rss2.php
|– wp-rss.php
|– wp-settings.php
|– wp-signup.php
|– wp-trackback.php
`– xmlrpc.php
97 directories, 956 files
安装apk發生錯誤的情形:
-adb install ***.apk
-205 KB/s (2783356 bytes in 13.248s)
pkg: ***.apk
-Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]:
另一方面看 logcat訊息:
Package com.*** requires unavailable shared library com.xxx.xxxxx
處理方式:
檢查設定lib的xml檔如下:
可能是com.xxxxxxxx打錯字了也有可能
一個典型的android build error, 因為系統可能漏掉該函式庫
只需要在Android.mk裡面加入 shared binder lib entry
但是要加入哪個函式庫呢?
其實是有步驟可以查詢的, 以 error: undefined reference to ‘android::ProcessState::self()’ 為例
第一步:
查詢error message關鍵字, 並找到定義的檔案
第二步:
依照該定義的檔案名稱, 去找函式庫名稱
“LOCAL_SHARED_LIBRARIES += libbinder”
最進安裝完SourceInsight新版之後, 出現an invalid source insight serial number was detected, 而我重新安裝好幾次但是也沒有解決, 於是猜想應該是系統內部註冊表沒有更改, 所以不論重新安裝幾次都會出現錯誤訊息
第一步: 在執行輸入: RegEdt32
第二歩: 找到相關位置進行修改
\HKEY_CURRENT_USER\Software\Source Dynamics\Source Insight