Jump to content

[solved] Verify error again


vcal

Recommended Posts

I had this error yet again and below is what I changed to stop it. kAcars now logs in to my site.

Change this part of the module

$postText = file_get_contents('php://input');

$encoding = mb_detect_encoding($postText);

$rec_xml = trim(iconv($encoding, "UTF-8", $postText));

$xml = simplexml_load_string($rec_xml);

to this

$postText = file_get_contents('php://input');

//$encoding = mb_detect_encoding($postText);

//$rec_xml = trim(iconv($encoding, "UTF-8", $postText));

//$xml = simplexml_load_string($rec_xml);

$xml = simplexml_load_string($postText);

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.   Restore formatting

  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.

Loading...
×
×
  • Create New...