Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using ShareX Config Results in Error

FoggyMtnDrifter opened this issue · comments

I am using the following open-source PHP solution for ShareX uploads, however it doesn't appear to be working in sharenix: https://github.com/JoeGandy/ShareX-Custom-Upload

The script generates the ShareX config file for me, so I just pasted it in the sharenix config file as noted in another issue here in your GitHub and can't get it working.

{
      "Name": "FileUploads Site",
      "Version": "13.3.0",
      "DestinationType": "ImageUploader, FileUploader, TextUploader",
      "RequestMethod": "PUT",
      "RequestURL": "https://i.mydomain.com/upload.php",
      "Body": "MultipartFormData",
      "FileFormName": "fileupload",
      "Arguments": {
        "key": "superSecretPass!",
        "name": "%h.%mi.%s-%d.%mo.%yy"
      }
}

When I run the sharenix command, I get the following output:

(sharenix:28932): Gtk-WARNING **: 00:35:15.726: Failed to set text from markup due to error parsing markup: Error on line 74: Entity name “(MISSING)#34” is not known

Never mind, found out that by removing the MultiPartFormData section, it now works. :)