Bug Error after update to 1.1.2

Status
Not open for further replies.

RedWS600

Customer
I'm receiving this error
Fatal error: Cannot redeclare class DBSEO_Rewrite_CMSHome in /***/***/****/solent-renegades.co.uk/httpdocs/dbtech/dbseo/includes/library/cms.php on line 21

Only just realised, it was fine for a bit after the upgrades, probably still stuff in cache.
Cleared all cache.

I guess it must be defined somewhere else. I did an upgrade from 1.1.1 to 1.1.2

Can someone help? I could revert back to the old one, but i guess if I have this bug, then maybe others may get it too, so its best to find out why. :)
 
I went to the class it complains about, although its not the correct fix, but by commenting out this Class, the website is working again. I noticed it is also listed in CMS.php in /includes/rewrite/ but when I commented out that one another error appeared.

/*class DBSEO_Rewrite_CMSHome
{
public static $format = 'CMS_CMSHome';
public static $structure = 'content.php';
*/
/**
* Creates a SEO'd URL based on the URL fed
*
* @param string $url
* @param array $data
*
* @return string
*/
/* public static function resolveUrl($urlInfo = array(), $structure = NULL)
{
return (is_null($structure) ? self::$structure : $structure);
}
*/
/**
* Creates a SEO'd URL based on the URL fed
*
* @param string $url
* @param array $data
*
* @return string
*/
/* public static function createUrl($data = array(), $format = NULL)
{
if (!count(DBSEO::$cache['rawurls']))
{
// Ensure we got this kickstarted
DBSEO::initUrlCache();
}

// Prepare the regexp format
$format = explode('_', (is_null($format) ? self::$format : $format), 2);
$rawFormat = DBSEO::$cache['rawurls'][strtolower($format[0])][$format[1]];

// Handle the replacements
$newUrl = $rawFormat;
*/
/*DBTECH_PRO_START*/
/* if (DBSEO::$config['dbtech_dbseo_custom_cms'] AND strpos($newUrl, '://') === false)
{
// Use a custom cms domain
$newUrl = DBSEO::$config['dbtech_dbseo_custom_cms'] . $newUrl;
}
*/ /*DBTECH_PRO_END*/

//if (strpos($newUrl, '%') !== false)
//{
// We should not return true if any single URL remains
//return '';
//}

// Return the new URL
/* return $newUrl;
}
}*/

Atleast the forum / website is all working smoothly once again. :)
 
When was that fixed? I re-downloaded this like 13 mins ago.

Although the error looks similar, it is a different error and different line number.
 
sorry - my bad - I was just editing my response. It was a different problem we've had earlier today. I'm running this redownloaded 1.1.2 without a problem but I'm not using CMS...
 
Status
Not open for further replies.

Similar threads

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,173
Customer rating
5.00 star(s) 1 ratings
Top