Recent Topics

1 Apr 24, 2006 23:11    

Just curious if I have something set up wrong. But when trying to do a request for abuse update, I get the following error:

Fatal error: Call to a member function on a non-object in /www/blog-location/evocore/_misc.funcs.php on line 693

Could this be a permissions issue on that file or something wrong on line 693..

Any one seen this..?

thanks
~t

3 Apr 27, 2006 04:19

Edited that line and ran the update again and received this one..?

Is this something that or is being addressed..?
I know I installed the alpha..

Is there a forum or bug list or something I can just make sure the devs know about these things..?
thanks

Fatal error: Call to a member function on a non-object in /www/t/tazdogcom/htdocs/lib/_xmlrpc.php on line 2125

4 Apr 27, 2006 22:53

It should be addressed/fixed, but I have not looked. I guess it's quite the same issue.

Can you copy'n'paste the function around this line?

I'm one of the devs, btw.. :)

5 May 06, 2006 04:21

Sorry for the delay, had a family death... :(

here is the code


function php_xmlrpc_decode($xmlrpc_val)
	{
		$kind = $xmlrpc_val->kindOf();

		if($kind == 'scalar')
		{
			return $xmlrpc_val->scalarval();
		}
		elseif($kind == 'array')
		{
			$size = $xmlrpc_val->arraysize();
			$arr = array();

			for($i = 0; $i < $size; $i++)
			{
				$arr[] = php_xmlrpc_decode($xmlrpc_val->arraymem($i));
			}
			return $arr;
		}
		elseif($kind == 'struct')
		{
			$xmlrpc_val->structreset();
			$arr = array();

			while(list($key,$value)=$xmlrpc_val->structeach())
			{
				$arr[$key] = php_xmlrpc_decode($value);
				// echo $key, '=>', $arr[$key], '<br />';
			}
			return $arr;
		}
	}

	if(function_exists('xmlrpc_decode'))
	{
		define('XMLRPC_EPI_ENABLED','1');
	}
	else
	{
		define('XMLRPC_EPI_ENABLED','0');
		function xmlrpc_decode($xmlrpc_val)
		{
			$kind = $xmlrpc_val->kindOf();

			if($kind == 'scalar')
			{
				return $xmlrpc_val->scalarval();
			}
			elseif($kind == 'array')
			{
				$size = $xmlrpc_val->arraysize();
				$arr = array();

				for($i = 0; $i < $size; $i++)
				{
					$arr[]=xmlrpc_decode($xmlrpc_val->arraymem($i));
				}
				return $arr;
			}
			elseif($kind == 'struct')
			{
				$xmlrpc_val->structreset();
				$arr = array();

				while(list($key,$value)=$xmlrpc_val->structeach())
				{
					$arr[$key] = xmlrpc_decode($value);
				}
				return $arr;
			}
		}
	}

6 May 06, 2006 08:24

Sorry for the delay, had a family death... :(

Sorry about that.

About your code snippet: there are no source code file lines attached and so I just hope that it's been fixed in CVS. I have the strong feeling, that I'm wrong, but I'm too much apart from debugging it currently.. :p[/quote]

7 May 07, 2006 05:01

Well tried it again - with this link - domain.com/admin/antispam.php?action=poll

Following error: Fatal error: Call to a member function on a non-object in /www/t/tazdogcom/htdocs/lib/_xmlrpc.php on line 2125

Which was the same as before..

Is there anything else I can provide to you or ...?

8 May 07, 2006 05:09

No - alright. It seems to be fixed in CVS.

9 May 07, 2006 05:20

Still same error on my side..

It was just so nice to have this on the previous version.

Let me know if I should continue to test this, or if your too busy to debug this thats cool, cause I know you are all super busy for this great blog engine...

thanks for the hard work

10 May 07, 2006 18:22

The error is caused, because the blacklist is not available currently: it should add a error message about this, but exits with a fatal error instead.

There's nothing we can do about it. Even if you would use the fixed version from CVS, the blacklist would not work: it would just display an error instead of exiting with a fatal error.


Form is loading...