Author Topic: Getting error on setup  (Read 23187 times)

0 Members and 1 Guest are viewing this topic.

Reply #15June 06, 2016, 03:14:18 PM

Asentrix

  • Newbie

  • Offline
  • *

  • 10
  • Reputation:
    0
    • View Profile
Re: Getting error on setup
« Reply #15 on: June 06, 2016, 03:14:18 PM »
Thanks for the reply!
upload_max_filesize: 256M
max file upload on cloudflare: 100Mb (Unable to change unless on enterprise)

Tried uploading a .exe file from system 32 again, same file , got this error:

Code: [Select]
VM112:3 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

This is the code that appears to be causing the issue
Code: [Select]
else if (file.vendor.toLowerCase().indexOf("rootkit") != -1 || file.vendor.toLowerCase().indexOf("trojan") != -1)

Hope that helps you guys!

Reply #16June 10, 2016, 09:52:06 AM

Tigzy

  • Administrator
  • Hero Member

  • Offline
  • *****

  • 957
  • Reputation:
    91
  • Personal Text
    Owner, Adlice Software
    • View Profile
    • Adlice Software
Re: Getting error on setup
« Reply #16 on: June 10, 2016, 09:52:06 AM »
Hey, sorry for late answer, I'll take a look.

EDIT: Ok, to me the error you're pointing is a consequence, not the cause.
Cause it that the file isn't uploaded, so the returned json is missing some fields.

Is it possible that you give me temp access to the FTP? (or to a test folder where MRF is deployed)
« Last Edit: June 10, 2016, 10:09:12 AM by Tigzy »