Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[freddy再次测试成功!]贴子买卖 for 2.5F AND SP1 (简体)[3.28更新]

[复制链接]
wendy823 发表于 2005-8-25 10:59:29 | 显示全部楼层
补充一下~~
本来我的买卖帖子很奇怪, 点击付费之后会返回错误讯息:

undefined_action

我刚刚自己找到问题了...

在include/discuzcode.php这里面, 有一句语法多了一个空格而导致错误讯息undefined_action

语法如下:

<a href=\"postpay.php?action=pay&tid=$tid&pid=$post[pid]&sellcount =$post_sellcount&money=$price&page=$page\">

要改成这个:
<a href=\"postpay.php?action=pay&tid=$tid&pid=$post[pid]&sellcount=$post_sellcount&money=$price&page=$page\">

因为&sellcount和=之间多了一个空格.去掉之后就正常了.
回复

使用道具 举报

fhg007 发表于 2005-8-25 13:43:04 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

hcmcdj 发表于 2005-8-29 10:17:27 | 显示全部楼层
按「立即付費」的時候出現



Warning: main(/home/member/123.com/yes_bbs/./forumdata/templates/1_postpay_submit.tpl.php): failed to open stream: No such file or directory in /home/member/123.com/yes_bbs/postpay.php on line 34

Warning: main(/home/member/123.com/yes_bbs/./forumdata/templates/1_postpay_submit.tpl.php): failed to open stream: No such file or directory in /home/member/123.com/yes_bbs/postpay.php on line 34

Warning: main(): Failed opening '/home/member/123.com/yes_bbs/./forumdata/templates/1_postpay_submit.tpl.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/member/123.com/yes_bbs/postpay.php on line 34

求救
回复

使用道具 举报

yoyoyan 发表于 2005-8-29 20:58:16 | 显示全部楼层
哈哈~
已安装成功~
谢谢楼主的录象~~~~~~~~~~~~~
回复

使用道具 举报

hotcy小炎 发表于 2005-8-30 17:26:45 | 显示全部楼层
一直使用很正常,再次支持一下!
回复

使用道具 举报

2930282 发表于 2005-9-4 06:04:58 | 显示全部楼层
include/discuzcode.php
中的
global $credit, $tid, $discuz_uid, $codehtml, $post_codecount, $thisbg, $highlight, $table_posts, $db, $searcharray, $replacearray, $ismoderator,$phpcodehtml,$post_phpcodecount;

$post_codecount = $post_phpcodecount = -1;

代码不在一个地方。是分开放的。


attachment.php
找不到下列的代码。

  CODE: [Copy to clipboard]   
showimgmessage('attachment_forum_nopermission');
        }


怎么办?数据库已升级,我只装了完美银行2.1和广告3.0
回复

使用道具 举报

oimmnet 发表于 2005-9-4 11:06:14 | 显示全部楼层
我改了后不付费也可以看啊。。晕了

http://oimm.net/hn/viewthread.ph ... ge=1&sid=uAK0VR
回复

使用道具 举报

windbaby 发表于 2005-9-6 12:34:45 | 显示全部楼层
|        DISCUZ_SELL_1        | ……
我这里也出现了这个问题
回复

使用道具 举报

epin 发表于 2005-9-13 09:52:07 | 显示全部楼层
修改 include/common.php (如安装银行插件时已修改此部份便不用再修改)



m.uid AS discuz_uid,
在后面插入


m.bank as userbank,m.money as usermoney

注意:
m.bank as userbank,m.money as usermoney,
(这里少个逗号,差点害死我了)
回复

使用道具 举报

goolai 发表于 2005-9-22 22:35:29 | 显示全部楼层

怎么装了,之后就比可以了?

Discuz! info: MySQL Query Error

Time: 2005-9-22 10:31pm
Script: /index.php

SQL: SELECT s.sid, s.styleid, s.groupid='6' AS ipbanned, m.uid AS discuz_uid,m.bank as userbank,m.money as usermoney m.username AS discuz_user, m.password AS discuz_pw, m.adminid, m.groupid, m.email, m.timeoffset,m.tpp, m.ppp, m.credit, m.timeformat, m.dateformat, m.signature, m.invisible, m.lastvisit, m.lastactivity as user_lastactivity, m.lastpost, m.newpm, m.accessmasks, m.regdate FROM cdb_sessions s, cdb_members m WHERE m.uid=s.uid AND s.sid='TKf3SF' AND CONCAT_WS('.',s.ip1,s.ip2,s.ip3,s.ip4)='202.156.193.147' AND m.uid='1' AND m.password='6c16514655cada7d9f2cd3c757b4a703' AND m.secques='030310db'
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm.username AS discuz_user, m.password AS discuz_pw, m.adminid, m
Errno.: 1064

Similar error report has beed dispatched to administrator before.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-3 02:06 , Processed in 0.111018 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表