Menu Content

Currencies Accepted


Shopping Cart

cart
Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More

 

Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate
2Checkout.com is a worldwide leader in payment services
Home » Forum

Welcome, Guest

Plug Master User and jFusion/vBulletin
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Plug Master User and jFusion/vBulletin

Plug Master User and jFusion/vBulletin 1 year, 2 months ago #44

  • Phil H
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
The plugin is conflicting with vBulletin login. causes HTTP 500 error.

From the error log:

PHP Fatal error: Class 'JVersion' not found in /home/xxxxxxxx/public_html/plugins/authentication/masteruser.php on line 33

Re: Plug Master User and jFusion/vBulletin 1 year, 2 months ago #45

This doesn't look like the cause of the error is due to the plugin.

The class JVersion is defined in the Joomla library file

libraries/joomla/version.php

It is a utility class that Joomla uses so that it know which version it is. It is automatically included in the Joomla framework.

Possibly there is a problem with this file being missing from your Joomla libarary - occasionally I have come across cases where people remove part of the joomla library thinking that they don't really need it. Yes it is needed, so don't remove it.

It is possible also that the vBulletin login plugin does not include the Joomla framework correctly, therefore JVersion would not be defined. The master user plugin should work with all plugins that support the Joomla authentication plugin framework, but there is no reason why it would work with some arbitrary plugin that just happens to log you into Joomla. It sounds as if the most likely explanation is a defect of this sort with the vBulletin plugin.

It may be possible to get around this. JVersion is just used to detect which version of Joomla is being used. Obviously you know which version you are using, so you can remove that part of the programming logic, and just use the code that applies to your site, eg change

        $version = new JVersion();
if($version->RELEASE == '1.5')
{
jimport('joomla.event.plugin');
$this->_plugin = JPluginHelper::getPlugin('authentication','masteruser');
$this->_params = new JParameter($this->_plugin->params);
}
else
{
jimport('joomla.plugin.plugin');
$this->_params =& $this->params;
}
 


to

 
jimport('joomla.event.plugin');
$this->_plugin = JPluginHelper::getPlugin('authentication','masteruser');
$this->_params = new JParameter($this->_plugin->params);
 
 


if you are using Joomla 1.5

 
jimport('joomla.plugin.plugin');
$this->_params =& $this->params;
 
 
 
 


if you are using 1.6
  • Page:
  • 1
Time to create page: 0.57 seconds
 
 

VirtueMart Featured Products Grid

Switch View

A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.

£12.00


This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£14.00


This module can be used as a replacement for the Virtuemart featured products, top products, random products or recent products modules. It displays product images as a 3 Dimensional Flash slideshow.

£15.00


This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00