织梦DeDecms无法自动提取缩略图的两種解决方法适用于虚拟主机
更多精彩就在: 51免费论文网|www.jxszl.com
缩略图的方法供大家学习.
方法I.:
php虚拟主机禁用fsockopen()函数导致,将fsockopen()函数替换成stream_socket_client()函数
文本编辑器打开文件目录:/include/dedehttpdown.class.php
查找:
$this->m_fp=@fsockopen($this->m_host,$this->m_port,$errno,$errstr,I.0);
修改为:
$this->m_fp=@stream_socket_client($this->m_host.‘:’.$this->m_port,$errno,$errstr,I.0);
方法II:
文本编辑器打开文件目录:/include/c.php
查找:
imtypes=array
修改为:
imgtypes=array
注:以上方法没有先后,***种方法是由于环境问题导致无法提取缩放图,第II种是由于代码问题无法提取.站长需要根据自身问题来选择合适的方法.
原文链接:http://www.jxszl.com/biancheng/dedecms/75403.html
热门阅读