User File(Warning: ...
 
Notifications
Clear all

User File(Warning: count():....)

5 Posts
2 Users
0 Reactions
696 Views
(@danilletov)
Posts: 13
Eminent Member
Topic starter
 

Hello.

I upload a user file to the server from the game script.
On the server I receive a warning(screenshot in the attached file)
if you click on it then the file is deleted.
If the same file to load through the admin panel that this warning is not present.

What is the problem, how to download the file correctly?
(it happens the same way when loading a screenshot in the demo scene)

 
Posted : 26/12/2018 1:32 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

I’ll check it and eventually fix for the next update, thanks.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/12/2018 1:47 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

At line 857 of /admin/users.php try to replace the line with:

$fileCustomData = json_decode($file->CustomData, TRUE);

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 26/12/2018 9:33 pm
(@danilletov)
Posts: 13
Eminent Member
Topic starter
 

It helped, thanks a lot!

 
Posted : 28/12/2018 4:41 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Ok this fix will be added to the next update, thanks for the report.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 28/12/2018 4:50 pm
Share: