Couldn't load resource PolyZone: Couldn't parse URI.
R4ndGuy opened this issue · 6 comments
Hello,
when I run PolyZone while connected I get kicked from the server with this error "Couldn't load resource PolyZone: Couldn't parse URI.", and I couldn't connect.
I first thought of an error in the file tree but yet all the paths seem correct.
Do you have an idea ?
sorry for the rough translation
I certainly have not seen this before. Did you change anything about the resource after downloading it? What fxserver version are you running and what operating system are you using? Also, does your server console have any errors relating to PolyZone when you start the server?
Hello,
The server is running on version v1.0.0.5562 on linux and not any server error, only a client error and the inability to reconnect to the server.
I didn't touch the script, just copy paste and try to start it.
Hmm yeah this may be a linux vs windows thing. I've never run fxserver or FiveM on linux and am not sure what possible changes there may be.
Can you show me the whole path of the resource, up to the resources folder? Also, can you try removing the lines for the creation scripts in your fxmanifest.lua (line 13 and 17 in the screenshot above).
Hi ! i've already tried to remove these lines but it isn't work. I have checked all path, they are all goods
I've been using PolyZone on Linux for a year now. If you are receiving an error like that, it's most likely due to the case sensitivity in Linux. Ensure that if you manually recreated ANY files in the resource that any references to those are also matching case. Everywhere from the server.cfg, fxmanifest and anything that requires PolyZone (dependency 'PolyZone')
It could also be an issue with your distro (I use CentOS and have never experienced this issue) that does not like the globbing in fxmanifest (server/*.lua, client/*.lua); try manually adding each file into the fxmanifest and remove the wildcard glob reference.