Home > 整站程序 > ecms远程保存图片的bug

ecms远程保存图片的bug

使用ecms到现在,唯独它的远程保存图片有问题,粘贴的好好的,不管图片多少,总是有内容页为空的现象出现,而其他的字段都有,今天没事找了一下原因,在config.php中的一行有这样一个全局变量,默认是1,将它改为0,无论多少图片我都可以保存。这究竟算不算bug不好说。

$saveurlimgclearurl=0; //远程保存图片自动去除图片的链接(0为保留,1为去除)

再高明的程序员也有问题,dz以前遇到一个字符串转义的bug,自己出于对dz的信任,没有改,后来一个朋友告诉我了原因,cache问题就没有错了。

下面是mysql5下ecms常出现的错误
在采集的时候 MySQL server has gone away
怎么解决啊~~

mysql 5.0的`~~

以前用mysql4.0没出现过问题.. 

MySQL server has gone away

insert into phome_enewsfile(filename,filesize,adduser,path,filetime,classid,no,type,id,cjid,onclick) values(’04f1ab9ab9fcc04da6658f1c63f9b987.jpg’,61377,’ozchinese’,’2008-05-08′,’2008-05-08 12:17:33′,34,’[URL]04f1ab9ab9fcc04da6658f1c63f9b987.jpg’,1,0,6168,0);

尝试过把max_allowed_packet改到16MB都没用~~~wait_time_out也加大数了.都没办法.
这个可能和这个有关系

Categories: 整站程序 Tags:
  1. deripaul
    October 24th, 2008 at 14:19 | #1

    经测试还是不能完全远程保存下来。

  2. humker
    October 25th, 2008 at 12:35 | #2

    感觉还是ecms的资源占用有问题,正则表达式太过冗长。

  3. goodmancn
    May 27th, 2009 at 16:27 | #3

    帝国的编辑器能改吗,开源了呀

  4. humker
    May 30th, 2009 at 10:15 | #4

    可以改,现在还是有问题。
    帝国不好养,在linux下跑有时还会有问题。

  5. 极品蜗牛
    June 21st, 2009 at 17:13 | #5

    谢谢啊,这个问题困扰我很久了…

  1. No trackbacks yet.

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).