PEAK XOOPS - Re: Request for pico in englishin japanese

Re: Request for pico

List posts in the topic

none Re: Request for pico

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/2 5:15
GIJOE  先任軍曹   Posts: 4110
starckさん、こんにちは。
Quote:

追記:念のため別サーバで確認したところ、問題なく動作したようなので、もう一度確認後ご報告させてください。
サーバ次第で動作が違いますか?
include/transact_functions.php の上書き忘れをチェックして、ちゃんと上書きされているのに、古い動作のままだとしたら、そのサーバが、SQLのコメントアウトを無視する、なんて設定になっているかもしれませんね。
(MySQLにそんな設定があるのかどうかは知りませんが、SQL Injection対策としては意味がある)

539行目
	if( ! $db->query( "UPDATE ".$db->prefix($mydirname."_contents")." SET body_waiting='',subject_waiting='',htmlheader_waiting='' /*,`modified_time`=UNIX_TIMESTAMP(),modifier_uid='$uid',modifier_ip='".mysql_real_escape_string(@$_SERVER['REMOTE_ADDR'])."'*/ ,body_cached='' WHERE content_id=$content_id" ) ) die( _MD_PICO_ERR_SQL.__LINE__ ) ;
を試してください。
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!