フォトコンテスト管理画面作成
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[Zorg更新一覧]]
フォトコンテストを新規作成しようとするとエラー907が発生し...
この原因がzorgst.donotfree.comのst_uppict_photocon.phpに...
94 $result_pgrp_cnt = Func_mysql_exec($con, $que...
95 $rec = mysql_fetch_array($result_pgrp_cnt);
96 mysql_free_result($result_pgrp_cnt);
97 if ($rec['cnt'] <= 0) {
98 $dispmess = "不正アクセ...
99 include("./inc_mess_error.php...
100 Func_mysql_exit($con);
101 }
から、$rec['cnt']が0である事を途中にechoを挟む事で確認...
このcntを送っているのはどこだろうと考えた所、
zorg.donotfree.com/manage/testGroup/edit_photocon.php
であると考え検索を掛けた結果、以下が見つかりました。
137 //----------------------------------...
138 // フォトコン受賞作品数
139 //----------------------------------...
140
141 $isAward = false;
142
143 $query = "
144 SELECT count(*) cnt
145 FROM grpphotocon_award_photo
146 WHERE gid = " . $DC['gid'] . "
147 AND pcid = " . $DC['pcid'] . "
148 ";
149 $rec = Func_mysql_exec($con, $query);
150 if ($rec) {
151 $result = mysql_fetch_array(...
152 if ($result && 0 < $result['...
153 $isAward = true;
154 }
155 }
参考 http://q.hatena.ne.jp/1149560656~
試しにDBから検索をかけると
mysql> SELECT * FROM grpphotocon_award_photo;で、54行のラ...
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo;
+-----+
| cnt |
+-----+
| 54 |
+-----+
1 row in set (0.00 sec)
なので、ここから関連するものを検索します。
新しく作成したプレミアムグループの「TEST」はgid=1970
「SIGMA」はgid=1543です。
そこで、下記を試した。
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo ...
+-----+
| cnt |
+-----+
| 12 |
+-----+
1 row in set (0.00 sec)
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo ...
+-----+
| cnt |
+-----+
| 0 |
+-----+
1 row in set (0.00 sec)
以下の手順で無理矢理作成した。
mysql> insert into grpphotocon_award_photo(gid,pcid,pid,...
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM grpphotocon_award_photo where gid=1...
+-------+------+------+---------+-------+------------+--...
| keyid | gid | pcid | pid | cid | award_type | c...
+-------+------+------+---------+-------+------------+--...
| 422 | 1970 | 8 | 1327652 | 13221 | 3 | ...
+-------+------+------+---------+-------+------------+--...
1 row in set (0.00 sec)
そうすると、今度はエラー901が発生した。
901に関する調査を追ってする事になるだろう。
ここまで03/13の段階でしぼる事ができた。
参考になった資料をまた貼付けておきます。
- 作成しました。 -- [[yutaka]] &new{2012-03-13 (火) 22:37...
#comment
終了行:
[[Zorg更新一覧]]
フォトコンテストを新規作成しようとするとエラー907が発生し...
この原因がzorgst.donotfree.comのst_uppict_photocon.phpに...
94 $result_pgrp_cnt = Func_mysql_exec($con, $que...
95 $rec = mysql_fetch_array($result_pgrp_cnt);
96 mysql_free_result($result_pgrp_cnt);
97 if ($rec['cnt'] <= 0) {
98 $dispmess = "不正アクセ...
99 include("./inc_mess_error.php...
100 Func_mysql_exit($con);
101 }
から、$rec['cnt']が0である事を途中にechoを挟む事で確認...
このcntを送っているのはどこだろうと考えた所、
zorg.donotfree.com/manage/testGroup/edit_photocon.php
であると考え検索を掛けた結果、以下が見つかりました。
137 //----------------------------------...
138 // フォトコン受賞作品数
139 //----------------------------------...
140
141 $isAward = false;
142
143 $query = "
144 SELECT count(*) cnt
145 FROM grpphotocon_award_photo
146 WHERE gid = " . $DC['gid'] . "
147 AND pcid = " . $DC['pcid'] . "
148 ";
149 $rec = Func_mysql_exec($con, $query);
150 if ($rec) {
151 $result = mysql_fetch_array(...
152 if ($result && 0 < $result['...
153 $isAward = true;
154 }
155 }
参考 http://q.hatena.ne.jp/1149560656~
試しにDBから検索をかけると
mysql> SELECT * FROM grpphotocon_award_photo;で、54行のラ...
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo;
+-----+
| cnt |
+-----+
| 54 |
+-----+
1 row in set (0.00 sec)
なので、ここから関連するものを検索します。
新しく作成したプレミアムグループの「TEST」はgid=1970
「SIGMA」はgid=1543です。
そこで、下記を試した。
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo ...
+-----+
| cnt |
+-----+
| 12 |
+-----+
1 row in set (0.00 sec)
mysql> SELECT count(*) cnt FROM grpphotocon_award_photo ...
+-----+
| cnt |
+-----+
| 0 |
+-----+
1 row in set (0.00 sec)
以下の手順で無理矢理作成した。
mysql> insert into grpphotocon_award_photo(gid,pcid,pid,...
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM grpphotocon_award_photo where gid=1...
+-------+------+------+---------+-------+------------+--...
| keyid | gid | pcid | pid | cid | award_type | c...
+-------+------+------+---------+-------+------------+--...
| 422 | 1970 | 8 | 1327652 | 13221 | 3 | ...
+-------+------+------+---------+-------+------------+--...
1 row in set (0.00 sec)
そうすると、今度はエラー901が発生した。
901に関する調査を追ってする事になるだろう。
ここまで03/13の段階でしぼる事ができた。
参考になった資料をまた貼付けておきます。
- 作成しました。 -- [[yutaka]] &new{2012-03-13 (火) 22:37...
#comment
ページ名: