根据Wiris指南。
755。此文件夹中的所有文件:754775:→但是,在尝试打开Wiris "Math弹出“时,我会收到以下警告,并且没有正确地打开。
警告: is_file():有效的open_basedir限制。File(/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/../../../../../../../../lib/moodlelib.php)不在第39行/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php中允许的路径(/home/my_user_name:/usr/lib/php:/tmp)内,警告: is_file():open_basedir限制生效。File(/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/../../../../../../lib/moodlelib.php)不在第39行/home/my_user_name/public_html/ckeditor/plugins/ckeditor_wiris/integration/bootstrap.php中允许的路径内:(/home/my_user_name:/usr/lib/php:/tmp)
我的权限正确吗?这些警告是否与文件/文件夹权限有关?我正在使用www.serversfree.com网站托管来测试这个问题。
发布于 2014-03-25 10:02:49
看起来你的安装有问题。请检查插件测试页面:<url>/ckeditor/plugins/ckeditor_wiris/integration/test.php。不应该有任何错误。请查看http://www.wiris.com/plugins/docs/ckeditor的安装说明。
发布于 2014-03-24 09:55:02
你的权限是正确的。这些警告与/integration/bootstrap.php文件中的额外检查有关,它检查工作目录以上几个级别的目录,由于服务器中的open_basedir限制,因此不允许这样做。这个问题将在我们的下一个插件版本中解决。要压制警告,只需对整个bootstrap.php文件进行注释,或者在<?php之后添加一个return true;。
编辑:此问题目前已修复在我们的最新版本。
发布于 2014-03-24 20:36:02
谢谢,上面的答案在第一步就起了作用。但是,现在当我在Wiris窗口中键入一个等式并“接受”时,等效的图像不会在CKEditor中显示。发送回CKEditor窗口的公式URL似乎存在“问题”。下面是指向CKEditor中图像的链接(否则CKEditor部件是正确的)
/ckeditor//plugins/ckeditor_wiris/integration/showimage.php? formula=392b9defa8cb3eaf2f8fec0cf3993738.png**<!-- www.serversfree.com Analytics Code --><script src="http://www.serversfree.com"></script><noscript><a title="Free hosting servers" href="http://www.serversfree.com">Free servers</a><a title="Free websites hosting server" href="http://www.serversfree.com">Free websites hosting server</a><a title="Free hosting server features" href="http://www.serversfree.com/server-features/">Free server features</a><a title="Free hosting" href="http://www.bugs3.com">Free hosting</a><a title="Page rank" href="http://www.1pagerank.com">Page rank</a></noscript><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-24425628-3']); _gaq.push(['_setDomainName', window.location.host]); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script><script type="text/javascript" src="http://www.bugs3.com/ganalytics.js"></script><!-- End Of Analytics Code -->https://stackoverflow.com/questions/22584146
复制相似问题