Knowledgebase: Miva Empresa VM
Fatal Error: Unresolved call to external function
Posted by - NA -, Last modified by Jim McCormick on 08 June 2011 09:48 AM
Symptom
---------
Fatal Error: Unresolved call to external function 'crypto_md5_file'
Fatal Error: Unresolved call to external function 'file_create'
Fatal Error: Unresolved call to external function 'file_fexists'
Fatal Error: Unresolved call to external function 'miva_template_compile'
Fatal Error: Unresolved call to external function 'miva_openlog'
Fatal Error: Unresolved call to external function 'miva_struct_members'


Cause
-------
The problem is a missing or mis-configured Miva Builtin Library. The builtin either does not exist or there is no configuration variable included for it in Empresa's configuration file.


Solution
----------
Once you find your Empresa configuration file you'll see the builtin configurations and you can then find if the files exist by following the path to the builtin. If you're running Empresa on Windows you need to open IIS, go to the site's properties, click on the MIVA VM tab and then on Libraries. You'll see the builtins. You can then copy and paste the path to the BUILTINS folder.

Here is the full list of builtins in Miva Merchant Empresa v5.12:

crypto.so
system.so
file.so
math.so
string.so
time.so
archive.so
template.so
logging.so (new in v5.07)
mvlibgd.so (new in v5.07)

If Empresa is configured (on linux) using a mivavm.conf configuration file your builtin variables should look something like this:

builtindir=/path/to/builtins

The path to the folder will vary depending on your setup.

If Empresa is configured in the apache configuration file or some Include file your builtin variable will look like this:

SetEnv MvCONFIG_DIR_BUILTIN /mivavm-v5.12/lib/builtins

Since there is only one variable for the entire builtins folder you most likely are missing the file.












(548 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?