Open GoogleCodeExporter opened 9 years ago
换个干净的log
Original comment by fenggao...@gmail.com
on 4 Apr 2011 at 5:08
Attachments:
你的php空间是否有广告?
Original comment by lehui99
on 4 Apr 2011 at 5:36
又重新看了一下,不是因为php空间的问题。
你是不是运行了deploy,然后将php上传了,但是客户端没有使��
�deploy生成的配置文件?
或者运行了deploy,然后将php上传了,然后又运行了一次deploy��
�客户端用的是第二次生成的配置文件,php中的配置是上次depl
oy生成的?
每次运行deploy都会在php和客户端的配置文件中生成一些随机��
�成的内容,不是说重新运行deploy后填写的参数没有变化就不�
��要重新部署php。
你可以删除服务器上的php,重新使用deploy从头部署,php中的��
�置和客户端的配置都是用重新配置后的,保证统一。
重新部署时创建表可能会失败(因为前一次部署已经创建过��
�),但是不要紧。
Original comment by lehui99
on 4 Apr 2011 at 5:44
还有,你这里客户端的配置文件使用的不是deploy生成的吧?de
ploy生成的配置文件中的secretkey至少有4000个字节,而你这里使
用的secretkey很短。
Original comment by lehui99
on 4 Apr 2011 at 5:50
我第一次是先直接复制socks5.php过去,然后手工修改的配置.我��
�是这个地方出问题.我根据你上面的说法重新生成了一遍socks5
.php.这次已经可以了,这次可以访问一部分网站,但是经常出现�
��页下载一半的情况.我用的firefox
socks和http代理都出先这种情况.我的php环境是xampp在自己的电��
�不会出现php不支持的情况.根据java端的日志看
应该是mysql数据插入出错,Mon, 04 Apr 2011 13:54:16 +0800.mysql_query
INSERT error
Original comment by fenggao...@gmail.com
on 4 Apr 2011 at 6:07
Attachments:
MySQL中表的设计出了自增长的主键意外没有任何其他唯一键,
所以正常情况下不会出现MySQL执行INSERT出错的情况。
并且从服务器端的log来看,不仅INSERT出错,甚至连SELECT也出��
�了。SELECT出错并不是说没有数据,而是MySQL直接返回错误。��
�有数据SELECT会返回空数据而不是出错。
MySQL数据库操作出错当然会导致phpsocks5不正常。
所以,从现象来看,应该是你的MySQL有问题。不知道你能不能
用一个新的PHP小程序测试一下你的MySQL呢?
Original comment by lehui99
on 4 Apr 2011 at 6:14
确实是我的MYSQL有问题,没有正确创建表导致的问题.现在已经�
��常工作了.
Original comment by fenggao...@gmail.com
on 4 Apr 2011 at 6:58
Original issue reported on code.google.com by
fenggao...@gmail.com
on 4 Apr 2011 at 5:05Attachments: