简体   繁体   English

PHP的Joomla问题

[英]Joomla issue with php

I'm getting this issue with my joomla site: 我的joomla网站出现此问题:

Fatal error: Class 'Browser' not found in /home/heidivision/pmbrandvold.com/templates/js_wright/wright/doctypes/default.php on line 66

I'm running the JS Wright template by Joomlashack on Joomla 2.5 - I did update a few extensions, but I honestly can't remember which ones...I didn't think the template was updated at all, but that's when it broke. 我正在Joomla 2.5上运行Joomlashack的JS Wright模板-我确实更新了一些扩展,但是老实说我不记得是哪个扩展...我根本不认为模板已更新,但是那是在它​​崩溃的时候。

I'll write this as an answer so other can easily see it's the solutions. 我将其写为答案,以便其他人可以轻松地看到它是解决方案。

Browser is not a default class that belongs to Joomla, but JBrowser is. Browser不是属于Joomla的默认类,但JBrowser是。 So assuming that template developer was trying to utilize this, find the line where the error is coming from and replace Browser with JBrowser . 因此,假设模板开发人员正在尝试利用此功能,请找到错误所在的行,然后用JBrowser替换Browser

I'd also suggest telling the developer of the template so they can fix it in their next update. 我还建议将模板告诉开发人员,以便他们可以在下一个更新中对其进行修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM