News:

Support the VirtueMart project and become a member

Main Menu

Pagination Error on Categories - WSOD

Started by WinKilleD, June 26, 2015, 07:12:58 AM

Previous topic - Next topic

WinKilleD

PHP: 5.3.14
Joomla: 2.5.28
Template: JV-Framework
VM: 3.0.9
Error: Fatal error: Cannot redeclare class JPaginationObject in /administrator/components/com_virtuemart/helpers/vmpagination.php on line 820

In Virtuemart I get a white screen without any code in it when I call categories or subcategories in Frontend.

**
* Pagination object representing a particular item in the pagination lists.
* @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @package     Joomla.Platform
* @subpackage  HTML
* @since       11.1
*/
class JPaginationObject extends JObject
{
/**
* @var    string  The link text.
* @since  11.1
*/
public $text;

/**
* @var    integer  The number of rows as a base offset.
* @since  11.1
*/
public $base;

/**
* @var    string  The link URL.
* @since  11.1
*/
public $link;

/**
* @var    integer  The prefix used for request variables.
* @since  11.1
*/
public $prefix;

/**
* Class constructor.
*
* @param   string   $text    The link text.
* @param   integer  $prefix  The prefix used for request variables.
* @param   integer  $base    The number of rows as a base offset.
* @param   string   $link    The link URL.
*
* @since   11.1
*/
public function __construct($text, $prefix = '', $base = null, $link = null)
{
$this->text = $text;
$this->prefix = $prefix;
$this->base = $base;
$this->link = $link;
}
}


(Last line is number 820)
When I comment this out, Frontend works fine but in the Backend I can't administrate categories & products anymore. Template changing causes the same Error.