Recent Topics

1 Sep 30, 2007 23:40    

My b2evolution Version: Not Entered

I tryed to search in forum this error in forum but no sucess.

Anyone got this error in _subscription.php yet?

When I click in subscription I got this error.

Notice: Undefined variable: DB in /var/www/html/intranet/blog3/skins/_subscriptions.php on line 122

Fatal error: Call to a member function get_results() on a non-object in /var/www/html/intranet/blog3/skins/_subscriptions.php on line 122

Thanks all

PS: Im using 2.0.1 beta version

2 Oct 11, 2007 19:31

Hi Stackover

I don't have a solution, I'm afraid, but I do have exactly the same problem.

I'm running Chicago v2.0.0 under PHP version 4.4.7.

The URL for the blog is www.kickski.co.uk/blog/

I'll also post this as a possible bug in the 2.x bug forum.

Sorry I can't help, but at least you're not alone...

Darren

3 Oct 11, 2007 19:35

Crack open inc/skins/_skin.funcs.php and add $DB to this piece off code ( approx line 170+ )

/**
 * Template tag. Include a sub-template at the current position
 *
 * @todo plugin hook to handle a special disp
 */
function skin_include( $template_name, $params = array() )
{
	global $skins_path, $ads_current_skin_path, $disp;

	// Globals that may be needed by the template:
	global $Blog, $MainList, $Item;
	// add the following line
	global $DB;

¥


Form is loading...