我尝试在Wordpress 4.1上安装civiCRM,当我点击左侧菜单栏中的CiviCRM链接时,管理页面显示为空白。
我收到的错误消息(在浏览器中,在控制台屏幕上单击F12)是:
Uncaught TypeError:CRM.url不是函数(匿名函数)@ admin.php?page = CiviCRM:44
admin.php?page = CiviCRM:61 GET https://checkout.google.com/seller/gsc/v2/cart.js?mid=987654321012345
load-scripts.php?c = 0& load [] = hoverIntent,common,admin-bar,jquery-ui-core,jquery-ui-datepicker,jquery ...:1 Uncaught TypeError:无法读取属性&#39 ; FN'未定义的
这是代码段:
<script type="text/javascript">
var CRM = {"config":{"userFramework":"WordPress","resourceBase":"\/wp-content\/plugins\/civicrm\/civicrm\/","lcMessages":"en_US"}};
</script>
<script type="text/javascript">
CRM.url('init', '/wp-admin/admin.php?page=CiviCRM&q=civicrm/example&placeholder');
CRM.formatMoney('init', "$ 1234.56");
</script>
有人能帮助我吗?
CiviCRM version: 4.4
CMS version: Wordpress 4.1
MySQL version: 5.6.24
PHP version: 5.3.26