write down,forget
adidas eqt support ultra primeknit vintage white coming soon adidas eqt support ultra boost primeknit adidas eqt support ultra pk vintage white available now adidas eqt support ultra primeknit vintage white sz adidas eqt support ultra boost primeknit adidas eqt adv support primeknit adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red adidas eqt support ultra whiteturbo adidas eqt support ultra boost off white more images adidas eqt support ultra boost white tactile green adidas eqt support ultra boost beige adidas eqt support ultra boost beige adidas eqt support refined camo drop adidas eqt support refined camo drop adidas eqt support refined running whitecamo adidas eqt support 93 primeknit og colorway ba7506 adidas eqt running support 93 adidas eqt support 93

关于phpcms首页缩略图显示不了的bug

<Category: 问题> 查看评论

前几天碰到phpcms的一个bug,主要问题是当文章缩略图来源为网络图片而非本地图片时,显示警告造成首页幻灯片显示不正常,错误提示如下:

Warning: getimagesize(x:/Hosting/xxx/html/x.cn/http://www.xxx.com/upimg/allimg/090508/1148140.png) [function.getimagesize]: failed to open stream: Invalid argument in x:\Hosting\xxx\html\x.cn\include\global.func. on line 768
screenshot1
解决办法,修改include\globa.func.php的764行左右,修改下这个函数,如下:

global.func.php下载

本文来自: 关于phpcms首页缩略图显示不了的bug