我想试试WordPress 3.0测试版1(单用户)
不幸的是,我遇到了d13slideshow的问题。我将插件配置为显示一个类别中的5个最新内容,在home.php中添加了<?php d13slideshow(); ?>
,但它失败了:
function.getimagesize: URL file-access is disabled in the server configuration in /<snip>/wp-content/plugins/d13slideshow/d13slideshow.php on line 538 Warning: getimagesize(http://<snip>/wp-content/uploads/2010/04/featured-2-580x386.jpg) function.getimagesize: failed to open stream: no suitable wrapper could be found in /<snip>/wp-content/plugins/d13slideshow/d13slideshow.php on line 538
这是php设置的问题,还是我可以通过插件或模板文件中的函数调用来使其正常工作?
http://wordpress.org/extend/plugins/d13slideshow/
发布于 2010-05-06 04:29:45
它看起来像是配置的东西...您必须编辑php.ini并将allow_url_include选项从Off更改为On。例如
# nano /etc/php5/apache2/php.ini
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = On
然后,您必须重新启动apache:
# /etc/init.d/apache2 restart
您必须为服务器使用正确的路径;)
告诉我这是否有效..。
发布于 2010-05-06 04:34:07
由于托管限制,您可能无法访问php.ini文件。请求您托管或检查该插件的更新。
https://stackoverflow.com/questions/2776522
复制相似问题