MySQLのscuttleデータベース中のsc_tagsテーブルにある、
tagフィールドをvarchar(32)からvarchar(64)とかに変更する。
-------------------------------------------
config.inc.phpの
$nofollow = false;
-------------------------------------------
.hpacssessファイルに追加
php_value mbstring.internal_encoding UTF-8
php_value mbstring.http_output pass
php_value mbstring.http_input pass
php_flag mbstring.encoding_translation Off
includes/db/mysql4.phpに以下を追加。
function sql_connect{}内の
45 46 47 48 49 50 |
if (@mysql_select_db($this->dbname)) { mysql_query('SET NAMES utf8', $this->db_connect_id);//add return $this->db_connect_id; } } |
------------------------
templates/をカスタマイズ。
Scuttleの見栄えを変更する - にたまごほうれん草を参考
http://wp.foliz.net/archives/72
Add UPC numbers, SKUs, ISBN/ISSN, etc
http://www.oscommerce.com/community/contributions,126
This example uses prodct UPC. you can change it to use SKU, ISBN, or whatever you choose.
You can adjust the length of the number of characters in the varchar from 12 to whatever you choose.
If you use something other than UPC, you will also have to alter the "insert" statement and replace UPC with whatever.
Add_ISBN_UPC_SKU_v1.zip
Firefox javaアプレットが表示されない。固まる。フリーズする。
対策
コンパネのJAVA設定のネットワーク設定で、ネットワークプロキシ設定項目を
「ブラウザの設定を使用」 から
「直接接続」に変更。
1.ダウンロード
http://www.microsoft.com/japan/windows/windowsmedia/download/
2.ダウンロードした wmp11-windowsxp-x86-ja.exe をlhaplusにて解凍する。
3] 解凍してできた wmfdist11.exe を実行し、Windows Media Format 11 Runtime をインストールする。
[4] 再起動する。
[5] 今度は wmp11.exe を実行し、Windows Media Player 11 本体のインストールを完了する。
[5] (必要であれば)指示に従って再起動する。
[6] Windows Media Playerのショートカットを実行し、WMP11のインストール作業を完了する。
[7] 問題があったら[3]に戻ってやりなおし。
参照先
SYSTEM REQUIREMENTS
Ensure your server/hosting account meets the following
1.FFMPEG
2.LAME MP3
3.FFMPEG-PHP
4.FLVTOOL2
5.MPLAYER
6.MENCODER
7.ALL PHP requirements setout here
なので、
まずFFMPEGのインストール
livnaのレポジトリを追加
# wget http://livna-dl.reloumirrors.net/fedora/7/i386/livna-release-7-2.noarch.rpm
# rpm -Uvh livna-release-7-2.noarch.rpm
yumのデフォルトで有効にならないように設定
# vi /etc/yum.repos.d/livna.repo
enabled = 1
↓
enabled = 0
ffmpegのインストール
# yum --enablerepo=livna install ffmpeg
Running Transaction
Installing: libogg
Installing: libvorbis
Installing: libtheora
Installing: libid3tag
Installing: xvidcore
Installing: giflib
Installing: imlib2
Installing: faad2
Installing: a52dec
Installing: gsm
Installing: lame-libs
Installing: SDL
Installing: x264
Installing: libmp4v2
Installing: faac
Installing: libdca
Installing: ffmpeg-libs
Installing: ffmpeg
次にlameのインストール
# yum --enablerepo=livna install lame
Running Transaction
Installing: lame
ffmpeg-phpのインストール
# yum -y install php-devel
# wget http://jaist.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.1.tbz2
# tar jxvf ffmpeg-php-0.5.1.tbz2
# cd ffmpeg-php-0.5.1
# phpize
# ./configure
ffmpegが?enable-sharedでコンパイルされていないのでエラー
subversionでコンパイルしなおす。
# svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
# cd ffmpeg
# ./configure ?enable-shared
# make
# make install
再度configure
# cd ffmpeg-php-0.5.1
# phpize
# ./configure
# make
# make install
php.ini に extension=ffmpeg.so を追加
Apache再起動
FLVTOOL2のインストール
rubyが必要なのでインストール
# yum -y install ruby
Running Transaction
Installing: ruby-libs
Installing: ruby
FreshrpmsにFedora7用があるのでインストール
# wget ftp://rpmfind.net/linux/freshrpms/fedora/linux/7/flvtool2/flvtool2-1.0.6-1.fc7.noarch.rpm
# rpm -Uvh flvtool2-1.0.6-1.fc7.noarch.rpm
MPLAYERのインストール
# yum --enablerepo=livna install mplayer
Running Transaction
Installing: libXv
Installing: libXvMC
Installing: mesa-libGLU
Installing: freeglut
Installing: libcaca
Installing: libXxf86dga
Installing: cdparanoia-libs
Installing: speex
Installing: libdv
Installing: lirc
Installing: libdvdnav
Installing: fribidi
Installing: enca
Installing: libdvdread
Installing: libmpcdec
Installing: aalib
Installing: lzo
Installing: mplayer
MENCODERのインストール
# yum --enablerepo=livna install mencoder
Running Transaction
Installing: libsndfile
Installing: twolame
Installing: mencoder
ひと通りインストール完了なのでアップロード&chmodの設定
MySQLデータベースを作成
classes/config.inc.phpを設定
とりあえずはデータベースの設定だけ
siteadmin/tester.phpを実行
すべてOKが出てる
siteadmin/setup.phpを実行
各種設定
日本語が文字化けするのでtemplateのhtmファイルのヘッダをUTF-8に書き換える
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
管理ページも文字化けするみたいなのでsiteadminのhtmファイルすべてのヘッダを書き換える
参照先
http://kawayan.zeta-blog.com/4.html
hotmailから
The original message was received at Thu, 29 Nov 2007 23:07:49 +0900
from xxx.xxx.jp [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<xxx@hotmail.co.jp>
(reason: 550 OU-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be re...l/network admins, please visit http://postmaster.live.com for email delivery information and support)
----- Transcript of session follows -----
... while talking to mx4.hotmail.com.:
>>> MAIL From:<xxx@xxx.jp> SIZE=345
<<< 550 OU-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support
554 5.0.0 Service unavailable
--------------------------------------
goo メールから不達連絡
**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************
The original message was received at Thu, 29 Nov 2007 16:17:49 +0900
from localhost.localdomain [127.0.0.1]
----- Transcript of session follows -----
451 4.4.1 reply: read error from mx01.mail.goo.ne.jp.
<xxx@mail.goo.ne.jp>... Deferred: Connection reset by mx01.mail.goo.ne.jp.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
---------------------------------------
http://www.spamhaus.org/query/bl?ip=xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx is listed in the XBL, because it appears in:
CBL
----------------------------
参考サイト
http://www.bluemooninc.biz/~xoops/modules/pukiwiki/?Mailserver%A4%CE%C0%DF%C4%EA
[error] server reached MaxClients setting, consider raising the MaxClients setting
256設定中なのに、不明
<VirtualHost *:80>
DocumentRoot /home/hoge/public_html
ServerName hoge.net
ServerAlias *.hoge.net
RewriteEngine On
# RewriteBase /
RewriteCond %{HTTP_HOST} ([^\.]+).*
# RewriteRule ^/$ /in.php?no=%1 [L]
RewriteRule ^/$ /%1.html [L]
</VirtualHost>
------------------------------------
Problem Description: ![]()
同じマシンに対する DNS A レコード を使って、このマシンに virtualhosts なしでユーザ名のホームページに対して www.username.host.domain.com を提供したいとします。
Problem Solution: ![]()
HTTP/1.0 リクエストに対しては解決法がありませんが、HTTP/1.1 に対するリクエストは Host を含んでいます: HTTP ヘッダは http://www.username.host.com/anypath を内部的に /home/username/anypath に rewrite するルールセットを使います: ![]()
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.[^.]+\.host\.com$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^www\.([^.]+)\.host\.com(.*) /home/$1$2 |
10月22日より、一ヶ月以上更新をされていないブログサイトへ広告を
表示させていただきます。一ヶ月以内に更新されているサイトには表示されません。
表示された場合、新規投稿していただければ、すぐに削除