YINI issue
#1

Hello I was running a script on my local host and it was working perfectly and now I uploaded my script to a hosted server that is also running windows but now when I logout the file where my stats supposed to save is empty and I don't know what is the problem I made sure to upload all the plugins I need I updated to 0.3z I recompiled my script and everything.I hope you can tell me what is the problem and help me solve it.Thanks.
Reply
#2

Quote:
Originally Posted by mirou123
Посмотреть сообщение
Hello I was running a script on my local host and it was working perfectly and now I uploaded my script to a hosted server that is also running windows but now when I logout the file where my stats supposed to save is empty and I don't know what is the problem I made sure to upload all the plugins I need I updated to 0.3z I recompiled my script and everything.I hope you can tell me what is the problem and help me solve it.Thanks.
Make sure that every folder or w.e is the same as the Y_INI loading destination.

For an example, if it's:
pawn Код:
#define PATH "/Users/%s.ini"
Then the script folder should be:

scriptfiles/Users/

It can't be:
scriptfiles/users/
scriptfiles/uSerS/
etc.
It must be scriptfiles/Users/
Reply
#3

make the directory in your scriptfiles folder else they wont save
Reply
#4

Yeah I already done that.If that was the problem the serer will crash but my problem is that it creates an empty .INI file
Reply
#5

Please post the code or give the name of the tutorial you followed (probably you did the second one)

Help us help you.
Reply
#6

Sorry.I found out that it's the server's problem.Thank you for trying to help guys I +rep'ed all of you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)