SA-MP Forums Archive
Y_Ini Only saving on LocalHost - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Y_Ini Only saving on LocalHost (/showthread.php?tid=552640)



Y_Ini Only saving on LocalHost - Lynn - 25.12.2014

When I create a new account, and log out the player file is created i.e TestPlayer.cfg
However no data is saved to the file, it's just empty.
But on LocalHost it stores everything accordingly how it should and works perfect.
What's the problem? I'm using all the same Includes, etc. On my Host as I am localhost.


Re: Y_Ini Only saving on LocalHost - AndySedeyn - 25.12.2014

I am experiencing the same problem.


Re: Y_Ini Only saving on LocalHost - TheSnaKe - 25.12.2014

Does it says that all the plugins are running correctly?


Re: Y_Ini Only saving on LocalHost - AndySedeyn - 25.12.2014

Yes, my plugins are up-to-date and they run just fine on both my host and my localhost.
I have tried with a different gamemode (Just the login/register system) and it still occurs.


Re: Y_Ini Only saving on LocalHost - Lynn - 25.12.2014

All plugins are loading correctly, although if they weren't it'd throw a Runtime 19 error.
Also Y_INI is file based, not plugin based.


Re: Y_Ini Only saving on LocalHost - gtakillerIV - 25.12.2014

Check your directory permissions.


Re : Y_Ini Only saving on LocalHost - Vukilore - 25.12.2014

Are you running on Linux ? Does it has all right to write/modify ?


Re: Y_Ini Only saving on LocalHost - Lynn - 25.12.2014

Quote:
Originally Posted by gtakillerIV
Посмотреть сообщение
Check your directory permissions.
Not sure how to do that.
Quote:
Originally Posted by Vukilore
Посмотреть сообщение
Are you running on Linux ? Does it has all right to write/modify ?
Windows, on both.
And not sure how to edit that. I don't use FTP Often.


Re: Y_Ini Only saving on LocalHost - AndySedeyn - 25.12.2014

As for me: I CHMOD'ed the entire directory and it still occurs.

EDIT:

Quote:
Originally Posted by Lynn
Посмотреть сообщение
Not sure how to do that.
Windows, on both.
And not sure how to edit that. I don't use FTP Often.
Right click the folder > File Permissions (Last option), as far as I know.


Re: Y_Ini Only saving on LocalHost - Lynn - 26.12.2014

When I set permissions, then select okay, I open permissions back up and it's all reset again.
It's not saving my permissions to 'write'