N3MTV / gcphone

Téléphone pour FiveM
104 stars 225 forks source link

Picture issue #158

Open michael86 opened 5 years ago

michael86 commented 5 years ago

If you take a picture with the message app, it freezes you and displays this error in the F8 console:

error during NUI callback takePhoto: citizen:/scripting/lua/scheduler.lua:762: No such export requestScreenshotUpload in resource screenshot-basic

We are running the latest version of screenshot-basic.

Gannon001 commented 5 years ago

https://github.com/N3MTV/gcphone/blob/9139bc922967875ebdf4fa03fec632691993e8c0/src_htmlPhone/static/config/config.json#L36

michael86 commented 5 years ago

We've got the latest version of screenshot basic, mentioned that in the original post.

ghost commented 5 years ago

I got this working again. Make sure you have webpack + yarn started before screenshot-basic and let those scripts build themselves first.

michael86 commented 5 years ago

Are you running this on a Linux or windows server? I've looked into it more and our yarn isn't starting. Bit of searching suggested yarn is currently broke on Linux servers

On Fri, 10 May 2019, 22:42 daniel96rk, notifications@github.com wrote:

I got this working again. Make sure you have webpack + yarn started before screenshot-basic and let those scripts build themselves first.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/N3MTV/gcphone/issues/158#issuecomment-491438638, or mute the thread https://github.com/notifications/unsubscribe-auth/AF6NQUIZXCMKK4ZZB6PXEZLPUXT4JANCNFSM4HK3FB2Q .

ghost commented 5 years ago

I'm running my server on windows.

Gannon001 commented 5 years ago

Try to add this folder into screenshot-basic\dist.... dist.zip

TheRealCrappyGamer commented 4 years ago

Anyone have a fix for this? The upload site used before is no longer available and no source code was provided to be able to recreate the script on our own servers for uploading.

When attempting to send a screenshot from inside the phone, the hud closes for a second then reopens and gives a console error TypeError: failed to fetch

My assumption is it just because the storage URL is down, but without having the source code for the site I don't know. Is there source code anywhere?

Patrickstek121 commented 4 years ago

Is this fixed because i dont get it fixed for gcphone

Canocles commented 4 years ago

First, you have to update your screenshot-basic to the last version and go to the screenshot-basic folder in your resources and finllay execute npn install.

I hope it helps you.

meyervp commented 4 years ago

image @Canocles

ChromeNine commented 2 years ago

Hey, I have the same issue, no idea what goes wrong and where