Tag Archives: bug

php5中的basename函数问题

因为phpbb3中上传中文文件的时候会产生文件名丢失的问题,经过一番搜索后,发现是PHP5的问题。 phpbbchina给出了解决方案。 PHP5中的相关BUG见BUG。 看样子,要在PHP6中才能解决此问题。

Posted in Program | Tagged , , , | Leave a comment

发现一个PHPBB RC5的BUG

已经报告到给官方了。 是local_upload的问题,估计之前没有人使用这个函数,所以一直没发现。 调用的时候会报这个错误: Notice: in file /includes/functions_upload.php on line 580: mime_content_type() [function.mime-content-type]: can only process string or stream arguments 一直跟踪下来,发现这个$filename是一个空变量,应该是用$source_file这个变量。

Posted in phpbb | Tagged , | Leave a comment

升级postgresql-8.1的问题

升级的时候提示: 正在设置 postgresql-common (48ubuntu2) … dpkg:处理 postgresql-common (–configure)时出错: 子进程·post-installation script·返回了错误号·1 不知道是什么问题,搜索到ubuntu的BUG: https://launchpad.net/distros/ubuntu/+source/postgresql-common/+bug/36921/+index 才知道是因为DAPPER修改了版本号导致了此问题。 临时的解决方法: sudo apt-get install postgresql-client-common sudo nano /usr/share/postgresql-common/supported-versions # and change 6.04 to 6.06 sudo apt-get install postgresql-common # install other postgres packages as needed. # or … Continue reading

Posted in Linux | Tagged , , | Leave a comment

openoffice 2.0的一个BUG

若演示文件中含有在WINDOWS的OLE图片,比如VISIO图片,在浏览缩略图的时候会导致系统crash,严重时会导致X crash。 把openoffice的各个版本装了好几遍,才发现问题的所在,郁闷。

Posted in Linux | Tagged , | 1 Comment