Jump to content

Boardoo VBLink Fatal Error using php 5.3


spamtrawler

Recommended Posts

After upgrading php to 5.3.9 we ran into the following issue:

"Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in"

 

The error is found in:

"/modules/admin/vb_link/includes/class_vbulletin_api.php" line 112

 

You will find the following code:

// Assign the built-in XML object if one isn't specified
	if (!$command_array)
	{
		$command_array = $this->query_array;
	}

 

Relace with:

// Assign the built-in XML object if one isn't specified
	if (!$command_array)
	{
		$command_array = $this->query_array;

           //fix unserialization bug on login/logout
           if(isset($command_array["query_xml"]))
           {
           unset($command_array["query_xml"]);
           }
	}

 

This also fixes a bug where the logout from VBulletin is not processed properly.

 

Hope this is helpful for somebody.

 

Note:

You need the "Developer Edition" of this mod in order to have access to the Source Code...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated