JoeGandy / ShareX-Custom-Upload

A little PHP script created for uploading custom sharex files to your own webserver
MIT License
166 stars 50 forks source link

You may not upload without the key parameter, see full config #77

Closed DestruktorGitHub closed 4 years ago

DestruktorGitHub commented 4 years ago

Hi,I have a little problem with this shareX script. Every Time I want to upload screenshot I got this communicate.

"You may not upload without the key parameter, see full config: https://github.com/JoeGandy/ShareX-Custom-Upload/blob/master/README.md#automatic-setup"

ss1

dotziph commented 4 years ago

Yeah it's above the output URL

DestruktorGitHub commented 4 years ago

I know, but whatever I wrote there I always had the same message.

dotziph commented 4 years ago

If you could contact me on discord so I can help you that would be great. :)

DestruktorGitHub commented 4 years ago

Sure, Destruktor#2020 that's my nickname with tag.

JoeGandy commented 4 years ago

Did you have any luck, would be worth noting the issue down so we can start creating a known issues page or address the problems.

DestruktorGitHub commented 4 years ago

No, sorry but I still waiting for conversation with @crsncc

dotziph commented 4 years ago

@JoeGandy Maybe you could start a support discord and if people have problems you or someone with some the knowledge can help. If you need help with setting up one I am more than happy to.

DestruktorGitHub commented 4 years ago

I know only that the problem is because my SSL protocol. When I copied my script into my other domain without SSL, everything starts work fine.

JoeGandy commented 4 years ago

It seems to work fine on my own site with https, so not sure what causes it on your end, im using letsencrypt for the cert

DJkikisa commented 4 years ago

I'm using Cloudflare ssl and have 0 problems.

JoeGandy commented 4 years ago

I know only that the problem is because my SSL protocol. When I copied my script into my other domain without SSL, everything starts work fine.

Do you have any more info that may help us, is it apache2, nginx, a shared host? Where is your SSL Cert from?

DestruktorGitHub commented 4 years ago

Do you have any more info that may help us, is it apache2, nginx, a shared host? Where is your SSL Cert from?

Yeah, I found the solution, the problem was in the ssl as I wrote, on my serwer I had setup force redirect. I came with the solution, you have to disabled it or use specificly this link where ssl is redirecting it. I was had to add www, example of what I wrote in sharex custom uploader settings "https://www.destruktor.me/sharex/upload.php". I wrote there without www and I didn't remember about my redirection. In my panel this option is named as "Force SSL redirection".

theaquarium commented 4 years ago

My friend also told me that he was having problems with accessing upload.php through SSL, but I'm not really sure what the details are and it seems like in this case, it was just a configuration error. I'm closing this for now.

About a support Discord, I love the idea, but I'm not sure if this project has that kind of scale yet where that's necessary :) However, maybe we'll make one in the future.