Jump to content

Call to undefined function


Benny

Recommended Posts

Hi all,

After installing the latest release of phpvms, Version 2.1.946, I got this error message in kACARS:

Call to undefined function iconv() ... (see attatchment).

I'm using php version 5.2.9

before update of phpvms following was used in kACARS_Free.php:

$rec_xml = trim(utf8_encode(file_get_contents('php://input')));

after update following was used in kACARS_Free.php:

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

Anybody else having this problem?

I fixed it by reinserting the line from an older kACARS_Free.php, $rec_xml = trim(utf8_encode(file_get_contents('php://input')));

/BR

Benny

post-1224-058084500 1293733196_thumb.png

Link to comment
Share on other sites

  • Moderators

Umm, what kACARS version were you using. Becasue what I find with the new kACARS module does not work with the older kACARS, only works with 1.0.0.9 though.

Maybe try using kACARS 1.0.0.8 if you don't want to change mostly and use the old module.

But let's try the new kACARS 1.0.0.9 with the new kACARS module

Link to comment
Share on other sites

I have tested with 1.0.0.8 and 1.0.0.9 but no difference.

The problem is use of the function iconv() which is causing the problem on my server.

My version of PHP (5.2.9) is not having the function iconv() compiled into it.

I havan't compiled my php version myself, it is a distributed version of PHP.

Is it possible to do samething without using iconv()?

/BR

Benny

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