久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

有些用戶無法購買主題。

1729 5 0提示:支持鍵盤翻頁<-左 右-> 安徽大叔 發表于 2024-3-30 12:47 帖子模式

Discuz! System ErrorTime: 2024-03-30 12:28:53 +0800 IP: 114.101.49.196 BackTraceID: 29036c4f0a3755191c26ce5d47e309bdCannot access offset of type string on string PHP Debug No.FileLineCode1forum.php71r ... 查看全文

    組圖打開中,請稍候......

評論5個評論

安徽大叔發表于  2024-4-2 17:52:28
湖中沉 發表于 2024-3-30 14:06
不要用點評,因為點評功能無法回復。

你肯定是X3.4升級的,因為X3.5新裝的話是有默認值的,而以前X3.4等 ...

經過我多次試驗發現默認100的情況有的可以,有的主題確實不行。價格都是一樣的也不行。我把默認的單主題收入限制改成不限制就好了
湖中沉發表于  2024-3-30 14:06:42

不要用點評,因為點評功能無法回復。

你肯定是X3.4升級的,因為X3.5新裝的話是有默認值的,而以前X3.4等因為當時時代原因(PHP8以前對類型是弱限制),沒有必填嚴格限制
安徽大叔發表于  2024-3-30 13:14:26
湖中沉 發表于 2024-3-30 12:59
把你的\source\module\forum\forum_misc.php發上來看看,從最新標注程序來看,應該是你后臺沒有設置單主題 ...

        } else {

                $updateauthor = true;
                $authorEarn = $thread['netprice'];
                if($_G['setting']['maxincperthread'] > 0) {
                        $extcredit = 'extcredits'.$_G['setting']['creditstransextra'][1];
                        $log = C::t('common_credit_log')->count_credit_by_uid_operation_relatedid($thread['authorid'], 'STC', $_G['tid'], $_G['setting']['creditstransextra'][1]);
                        if($log >= $_G['setting']['maxincperthread']) {
                                $updateauthor = false;
                        } else {
                                $authorEarn = min($_G['setting']['maxincperthread'] - $log['credit'], $thread['netprice']);
                        }
                }
                if($updateauthor) {
                        updatemembercount($thread['authorid'], array($_G['setting']['creditstransextra'][1] => $authorEarn), 1, 'STC', $_G['tid']);
                }
                updatemembercount($_G['uid'], array($_G['setting']['creditstransextra'][1] => -$thread['price']), 1, 'BTC', $_G['tid']);

                showmessage('thread_pay_succeed', "forum.php?mod=viewthread&tid={$_G['tid']}".($_GET['from'] ? '&from='.$_GET['from'] : ''));

        }

} elseif($_GET['action']

我這是官方文件。這個文件沒有修改過。因為我不會修改。
湖中沉發表于  2024-3-30 12:59:23
把你的\source\module\forum\forum_misc.php發上來看看,從最新標注程序來看,應該是你后臺沒有設置單主題附件最大收益這個設置項
非常感謝。確實如此。。。這官方程序也沒有一個提示。就前臺點了沒有反應。 
發表于 2024-3-30 13:20
  • 關注公眾號
  • 有償服務微信
  • 有償服務QQ

手機版|小黑屋|Discuz! 官方交流社區 ( 皖ICP備16010102號 |皖公網安備34010302002376號 )|網站地圖|star

GMT+8, 2025-9-20 07:46 , Processed in 0.067988 second(s), 33 queries .

Powered by Discuz! W1.0 Licensed

Copyright © 2001-2025 Discuz! Team.

關燈 在本版發帖
有償服務QQ
有償服務微信
返回頂部
快速回復 返回頂部 返回列表