随笔分类 -  destoon

摘要:/module/sell/sell.class.php $keyword = $item['title'].','.$TYPE[$item['typeid']].','.strip_tags(cat_pos(get_cat($item['catid']), ',')); 改成 $keyword = 阅读全文
posted @ 2018-12-07 14:05 小丫的小破孩 阅读(581) 评论(0) 推荐(0)
摘要:module\mall\global.func.php function get_coupons($username, $seller) { $lists = array(); $result = DB::query("SELECt * FROM ".DT_PRE."finance_coupon W 阅读全文
posted @ 2018-12-07 14:05 小丫的小破孩 阅读(245) 评论(0) 推荐(0)
摘要:前台调用自定义字段地区字段的写法 前台调用自定义字段地区字段的写法,模板中用 {area_pos($diqu, ' ')} 前台调用自定义字段地区字段的写法,模板中用 {area_pos($diqu, ' ')} 阅读全文
posted @ 2018-12-07 14:03 小丫的小破孩 阅读(747) 评论(0) 推荐(0)
摘要:template/mobile/header.htm 改为 阅读全文
posted @ 2018-12-06 13:57 小丫的小破孩 阅读(268) 评论(0) 推荐(0)
摘要:这类模板消息可以利用系统的计划任务,定时执行通知 如下,是一个会员到期30天的计划任务 阅读全文
posted @ 2018-12-06 13:49 小丫的小破孩 阅读(780) 评论(2) 推荐(0)
摘要:301重定向: 123.com重定向到www.123.com, Iis:首先要删除原有站点的.123.com,也就是一个站只能对应一个网站, 新添加一个网站为301.123.com,主机头为123.com,路径为网站www.123.com的根目录 阅读全文
posted @ 2018-12-06 13:48 小丫的小破孩 阅读(115) 评论(0) 推荐(0)
摘要:如图; 添加上 include DT_ROOT.'/mobile/api/contact.inc.php'; 如图; 添加上 include DT_ROOT.'/mobile/api/contact.inc.php'; 阅读全文
posted @ 2018-12-05 21:32 小丫的小破孩 阅读(198) 评论(0) 推荐(0)
摘要:检查伪静态是否开启,服务器伪静态是否有配置,配置了是否正确,比如IIS服务器实现伪静态的方法多样,需要检查伪静态是否正常生效,伪静态文件是否正确 阅读全文
posted @ 2018-12-05 21:32 小丫的小破孩 阅读(298) 评论(0) 推荐(0)
摘要:开启远程ftp后会员头像上传不显示,别的模块图片都正常显示只有头像不显示,这个有可能是权限问题,网站目录所属帐号不对,比如一般linux默认是www而现在这个是所属为root导致的,修改成www就可以了 开启远程ftp后会员头像上传不显示,别的模块图片都正常显示只有头像不显示,这个有可能是权限问题, 阅读全文
posted @ 2018-12-05 11:55 小丫的小破孩 阅读(367) 评论(0) 推荐(0)
摘要:模板中添加替换注意一下css和对应的链接地址 阅读全文
posted @ 2018-12-05 10:29 小丫的小破孩 阅读(336) 评论(0) 推荐(0)
摘要:实现代码如下 <?php $shuxing = $t[itemid]; $b = $db->get_one("select value from destoon_category_value where itemid='$shuxing'"); echo $b[value]; ?> 使用时,注意表前 阅读全文
posted @ 2018-12-05 10:27 小丫的小破孩 阅读(892) 评论(1) 推荐(0)
摘要:会员公司主页扫描二维码手机上显示空白,查看源码扫描的二维码后面多了:88端口号,可以修改page.js中function Dqrcode()的 DTPath+'api/qrcode.png.php?auth='+encodeURIComponent(url) 为 DTPath+'api/qrcode 阅读全文
posted @ 2018-12-04 10:20 小丫的小破孩 阅读(375) 评论(1) 推荐(0)
摘要:在list-sell.htm中添加的 <?php $a = $t[itemid]; $b = $db->get_one("select value from destoon_category_value where itemid='$a'"); echo $b[value]; ?> 阅读全文
posted @ 2018-12-04 10:20 小丫的小破孩 阅读(669) 评论(1) 推荐(0)
摘要:如图: 检查之后发现模板内容中没有调用 需要在内容模板中添加上 {if $MOD[show_np]} <div class="np"> <ul> <li><strong>下一篇:</strong><!--{tag("moduleid=$moduleid&condition=status=3 and 阅读全文
posted @ 2018-12-03 11:10 小丫的小破孩 阅读(1117) 评论(1) 推荐(0)
摘要:使用手机号码注册会员名提示“会员登录名已经被注册”的限制去掉 修改module/member/member.class.php文件 if(is_mobile($username)) return true;注释掉这行代码就可以了。 阅读全文
posted @ 2018-12-02 10:58 小丫的小破孩 阅读(660) 评论(0) 推荐(0)
摘要:48001错误代码是没有权限的意思,检查看看是不是操作的接口功能在微信平台没有使用的权限 阅读全文
posted @ 2018-12-02 10:58 小丫的小破孩 阅读(211) 评论(0) 推荐(0)
摘要:7.0手机版腾讯视频不显示 比如原视频地址是 http://imgcache.qq.com/tencentvideo_v1/playerv3/TPout.swf?max_age=86400&v=20161117&vid=u0393p7ss6l&auto=0 需要修改成这样 http://static 阅读全文
posted @ 2018-11-30 10:06 小丫的小破孩 阅读(297) 评论(0) 推荐(0)
摘要:match URL into $ with ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ if matched then set URL = /404.php endif match URL into $ with ^(.*)/(admin| 阅读全文
posted @ 2018-11-29 15:27 小丫的小破孩 阅读(172) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="destoon_rewrite_0"> <match url="^(.*)\.(asp|as 阅读全文
posted @ 2018-11-29 15:27 小丫的小破孩 阅读(370) 评论(0) 推荐(0)
摘要:MySQL Query:UPDATE [pre]mall_16 SET orders=orders-1,sales=sales-1,amount=amount+1 WHERe itemid=2 MySQL Error:BIGINT UNSIGNED value is out of range in 阅读全文
posted @ 2018-11-28 10:38 小丫的小破孩 阅读(360) 评论(0) 推荐(0)