评论列表
挽歌 2017-12-05 18:22:17 回复
sh syncsvn.sh
2017-12-05 18:04:03 begin repo 1
svn: '/var/svn/nbhf' is not a working copy
2017-12-05 18:04:03 start from revision 0
svn: '/var/svn/nbhf' is not a working copy
Some error occers:
The command is /usr/bin/svn --non-interactive --username hui --password hui123 --no-auth-cache log -r 0:HEAD -v --xml /var/svn/nbhf
the svn logs is <?xml version="1.0"?>
<log>
这个是什么问题呀
回复
zentao/tmp/svn/1 删除这个路径下的文件试一下。(如果有多个版本库,将1换成对应版本库的id)
注意之前版本库中同步过的版本不要删除后重新同步。
Jeffrey Zhang 2017-11-16 14:21:43 回复
点击View 时候 提示 not found, 是怎么解决呢?
Not Found

The requested URL /svn-cat-aHR0cHM6Ly8xOTIuMTY4LjMyLjI5Ojg0NDMvc3ZuL1N1bWFvQVRHL2JyYW5jaGVzL3VhdC9kZXBsb3kv5aGR6LS4572RLeWPkeeJiOa1geeoi+S.oeaBr+i3n+i4quihqC54bHN4-20434.html was not found on this server.
回复
可以添加一下页面上放QQ,邀请进群后,截图具体的保存页面咨询一下。
jorchen 2017-11-14 11:12:22 回复
svn 集成后,查看svn view,报403错误,实际上查看日志是文件名太长了(超过255), 这个怎么解决??
svn-cat-aHR0cDovL3N2bi5zendpc2RvbS5jbi9zendpc2RvbS9GT1NTX1BST0pFQ1Qvc291cmNlL2Zvc3NfZnNjZy9mb3NzLWZzY2ctZ3NyZWctYWRhcHRlci9zcmMvbWFpbi9qYXZhL2NvbS9zendpc2RvbS9mb3NzL2Zsb3dkaXNwYXRjaGVyL2FkYXB0ZXIvZ3NyZWcvd2ViL0dzcmVnQWRhcHRlckNvbnRyb2xsZXIuamF2YQ==-11949.html


回复
已经记录bug,谢谢反馈。这个需要相关同事研究一下如何处理,解决后会在后续版本中进行发布,具体可以查看:http://pms.zentao.net/bug-view-1274.html
老王 2017-10-11 23:17:47 回复
SVN里有多个项目,怎么在提交代码的时候可以比较智能关联到相关的代码。谢谢
回复
按照当前文档进行配置即可。
回复
svn与禅道集成成功后,在提交代码时添加注释:
开发者在提交svn的时候,需要在备注里面注明此次修改相关的需求,或者任务,或者bug的id。比如下面的格式:
bug#123,234, 1234,也可以是bug:123,234 1234,id列表之间,用逗号和空格都可以。
story#123 task#123
bug, story, task是必须标注的。:)
张萌萌 2017-09-08 11:40:53 回复
[root@localhost bin]# ./syncsvn.sh

Parse error: syntax error, unexpected 'if' (T_IF) in /opt/zbox/app/zentao/module/svn/model.php on line 392

11:38:55 syntax error, unexpected 'if' (T_IF) in <strong>/opt/zbox/app/zentao/module/svn/model.php</strong> on line <strong>392</strong> when visiting <strong>svn-run</strong>

执行syncsvn.sh报以上错误,是什么原因
回复
打开/opt/zbox/app/zentao/module/svn/model.php 在 391行最后加上英文分号;
qsyygug 2017-08-21 17:53:49 回复
SVN的路径中有中文,执行syncsvn.sh时报错Parse error: syntax error, unexpected '';' (T_CONSTANT_ENCAPSED_STRING) in /opt/zbox/app/zentao/module/svn/config.php on line 24
回复
路径不允许有中文或空格
flame 2017-07-26 11:36:45 回复
我在执行syncsvn.sh脚本的时候,报了一个错

PHP Fatal error: Class 'PDO' not found in /opt/zbox/app/zentao/framework/base/router.class.php on line 1863
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/zbox/app/zentao/framework/base/router.class.php on line 1974
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/zbox/app/zentao/framework/base/router.class.php on line 1987
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/zbox/app/zentao/framework/base/router.class.php on line 1974
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/zbox/app/zentao/framework/base/router.class.php on line 1987

03:29:30 Class 'PDO' not found in <strong>/opt/zbox/app/zentao/framework/base/router.class.php</strong> on line <strong>1863</strong> when visiting <strong></strong>
回复
当前这个禅道包下载的网址麻烦提供一下。检查一下禅道的mysql服务启动了吗?
test 2017-06-07 17:04:21 回复
syncsvn.sh 可以不从第一个版本开始吗,
2017-06-07 17:03:47 begin repo 2
2017-06-07 17:03:47 start from revision 0

直接内存溢出了:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/zentao/module/svn/model.php on line 311
回复
修改php.ini 中 memory_limit 参数的值改成 512M,重启服务器后生效。同步svn可以修改 zentao/tmp/svn/ 对应编号的文件里面记录了上次同步到的版本号,可以直接修改一下。
王政 2017-06-07 10:45:47 回复
hi ,上面我提到的bug view diff显示空白的情况是我的配置问题还是有其他什么原因呢?
王政 2017-06-07 09:38:06 回复
hi , 刚才url改成zentaopms/www/后报错是没有了 ,但是点击bug view diff的时候显示的view是空白的就只显示了http://192.168.20.43/svn/repo1/svn/repo1/tt/t@40 没有具体的差异报告,这是什么情况?
回复
zentao(pro/pms)/config/my.php 中debug的值改成true 重新操作一下 看日志文件 zentao(pms/pro)/tmp/log/php开头的今天的文件有什么报错。