vanilla2export mistake.

Hi, sorry i very bad speak english! I want to migrate with xenforo to vanilla, but importer say: Error: (2) call_user_func() expects parameter 1 to be a valid callback, function 'long2ipf' not found or invalid function name (porter version 2.1.2). How to fix it.?

Comments

  • You most likely need to upgrade your php version to at least 5.3

    What version are you on?

  • I use php 5.5 but if i use php 5.3 mistake continue

  • and if i use php 5.2 then see this: Parse error: syntax error, unexpected T_FUNCTION on line 5785

  • PHP 5.5 would be fine. This is a bug, not a PHP issue.

    Add this at the very end of the file, but before the closing ?> tag:

    function long2ipf($Value) {
       if (!$Value)
          return NULL;
       return long2ip($Value);
    }
    
  • @Linc said:
    PHP 5.5 would be fine. This is a bug, not a PHP issue.

    Add this at the very end of the file, but before the closing ?> tag:

    function long2ipf($Value) {
       if (!$Value)
          return NULL;
       return long2ip($Value);
    }
    

    Bug is continued(((

  • OOO yes thanks for all

Sign In or Register to comment.