Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 不支持引导和paypal问题_Php_Joomla_Paypal_Joomla2.5_Paypal Ipn - Fatal编程技术网

Php 不支持引导和paypal问题

Php 不支持引导和paypal问题,php,joomla,paypal,joomla2.5,paypal-ipn,Php,Joomla,Paypal,Joomla2.5,Paypal Ipn,我已经为joomla 2.5版本创建了我的主题,并将美德超市用于购物车。一切正常。用户在paypal支付网关的帮助下从网站购买,并确认付款返还。但是当他们启用IPN通知URL时,Paypal会发送一封邮件,如 Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing: /php?option=com

我已经为joomla 2.5版本创建了我的主题,并将美德超市用于购物车。一切正常。用户在paypal支付网关的帮助下从网站购买,并确认付款返还。但是当他们启用IPN通知URL时,Paypal会发送一封邮件,如

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
/php?option=com\u virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

/php?option=com\u virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

当我点击这个链接,它就会显示出来

500 - JHtml: :bootstrap not supported. File not found.

这是一个错误。我刚刚为joomla 2.5创建了模板。具体问题是什么。请让我知道

您似乎在尝试为Joomla 3设计模板,而不是为Joomla 2.5设计模板。 仅供参考,JHTML::bootstrap仅在Joomla 3上受支持,但您说您正在为Joomla 2.5创建模板。 在这种情况下,您需要从代码中删除JHTML::bootstrap;如果您想使用引导,您需要以另一种方式使用它

将引导添加到Joomla:

<?php
$document = JFactory::getDocument();

// Adding bootstrap css
$document->addStyleSheet($url_to_css);

// Adding bootstrap javascript
$document->addScript($url_to_javascript);
?>

看起来virtuemart有一个向后兼容性错误,因为JHtml::bootstrap库是在Joomla 3中引入的。或者你安装了Joomla 3而不是2.5的版本?