AccountLabPlus

by kusakari 1. 1月 2010 18:36

■ 事前準備

 

■ ダウンロード先
下記のURLからダウンロードします。
http://sourceforge.net/projects/accountlabplus/files/accountlab_plus.tgz/download

 

 

■ 設定
1. ダウンロードしたファイルを解凍して、「c:\inetpub\wwwroot」フォルダにフォルダ名をソフト名に変更して保存します。

2.下記のコマンドを入力し、MySQLに空DBを作成します。

create database accountlabplus default character set UTF8;

 

3.下記のコマンドで権限を与えます。

icacls elements /grant "Authenticated Users":(OI)(CI)(M)
icacls system /grant "Authenticated Users":(OI)(CI)(M)

 

4.サブドメインをきって新規にサイトを作成し「/install.php」にアクセスします。

 

5.セットアップ終了後、install.phpを削除して、「elements\default\sysvar」にあるdb.phpを読み取り専用にします。

 

■ 結果

 

 

Tags:

Billing

phpCoin

by kusakari 28. 12月 2009 21:17

■ 事前準備

 

■ ダウンロード先
下記のURLからダウンロードします。
http://phpcoin.com/mod.php?mod=downloads

 

 

■ 設定
1. ダウンロードしたファイルを解凍して、「c:\inetpub\wwwroot」フォルダにフォルダ名をソフト名に変更して保存します。

2.下記のコマンドを入力し、MySQLに空DBを作成します。

create database phpCoin default character set UTF8;

 

3.php.configを開いて下記のMySQL情報を入力します。

# Database Configuration Array
$_DBCFG['dbms']		= "mysql";	// Database System (type)
$_DBCFG['dbhost']	= "localhost";	// Database Host
$_DBCFG['dbuname']	= "username";	// User
$_DBCFG['dbpass'] 	= "password";	// Password
$_DBCFG['dbname'] 	= "database";	// Database Name
$_DBCFG['table_prefix']	= "phpcoin_";	// Database table prefix

 

4.coin_setup\setup.php をエディタで開き、下記に記載してある335~441行目のElseの処理を、同じif文の321〜332行目のTrueの処理に書き換えます。

# Create Login Form
	$_cstr .= '<table style="width: 100%;" border="0">'.$_nl;
	$_cstr .= ''.$_nl;
	$_cstr .= ''.$_nl;

# Build result string
	IF (!$_GPV['read_license'] && $_GPV['stage'] == 1) {
		$_cstr .= 'License Acceptance:
'.$_nl; $_cstr .= '  - License Not Accepted: Aborting .............
'.$_nl; $_cstr .= '
'.$_nl; } IF ($_GPV['password'] != $_DBCFG['dbpass'] && $_GPV['stage'] == 1) { $_cstr .= 'Login Results:
'.$_nl; $_cstr .= '  - Login Failed: Aborting .............
'.$_nl; $_cstr .= '
'.$_nl; } # Show read and agree to license IF ($DBVersion == $FileVersion) {$_button = 're-install';} ELSEIF ($DBVersion) {$_button = ' upgrade';} ELSE {$_button = ' install';} $_cstr .= '

License Agreement:
'.$_nl; $_cstr .= '[Your user agent does not support frames or is currently configured not to display frames. However, you may view the <a href="../coin_docs/license.txt" mce_href="../coin_docs/license.txt">license terms</a> by clicking the link]
'.$_nl; $_cstr .= '  - Check this box to indicate that you have read and agree with the license terms.
'.$_nl; $_cstr .= '  - phpCOIN will not '.$_button.' if not checked.
'.$_nl; $_cstr .= ''.$_nl; $_cstr .= ' I Agree With The License'.$_nl; $_cstr .= '

'.$_nl; # Set db backup options if upgrading IF ($InstalledVersion || $Warn == 1) { $_checked = ''; $_cstr .= '

Backup Existing Data:
'.$_nl; IF ($Warn == 1) { $_cstr .= '  - This version of phpCOIN is allready installed.
'; $_cstr .= '  - ALL EXISTING DATA WILL BE DELETED AND NEW DATA WILL BE INSTALLED
'; $_checked = ' checked'; } $_cstr .= '  - Check this box to backup existing data first by copying the tables into identical _bak tables
'; $_cstr .= ''.$_nl; $_cstr .= ' Perform Backup

'; } $_cstr .= '

Database Password:
'.$_nl; $_cstr .= '  - Enter your database password to '; IF ($Resuming) {$_cstr .= 'resume';} ELSE {$_cstr .= 'complete';} IF ($DBVersion == $FileVersion) {$_cstr .= ' re-install';} ELSEIF ($DBVersion) {$_cstr .= ' upgrade';} ELSE {$_cstr .= ' installation';} $_cstr .= '
  - '; IF ($DBVersion == $FileVersion) {$_cstr .= 'Re-Install';} ELSEIF ($DBVersion) {$_cstr .= 'Upgrade';} ELSE {$_cstr .= 'Installation';} $_cstr .= ' will begin when you click '; IF ($DBVersion == $FileVersion) {$_cstr .= '[Re-Install]';} ELSEIF ($DBVersion) {$_cstr .= '[Upgrade]';} ELSE {$_cstr .= '[Install]';} $_cstr .= ' ~ there will be NO additional prompts
'.$_nl; $_cstr .= 'Password: 

'.$_nl; $_cstr .= ''.$_nl; $_cstr .= ''.$_nl; $_cstr .= ''.$_nl; # Output data $_out = '
'.$_nl; $_out .= do_install_block_it('Log In', $_cstr, ''); $_cstr = ''; $_mstr = ''; echo $_out;





これはサイトにアクセスして、「Database Password」を入力して「install」ボタンを押しても下記のメッセージが表示される対処です。

Login Results:
  - Login Failed: Aborting .............

 

5.IISマネージャーからサイトを作成してアクセスします。

 

6.デフォルトのユーザー名は下記の通りです。パスワードはインストール中に入力したものになります。

ユーザー名:webmaster

 

Tags:

Billing

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

動作環境について

Month List

タクシーサイト

Page List