SA-MP Forums Archive
[HELP] Can't write into scriptfiles? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [HELP] Can't write into scriptfiles? (/showthread.php?tid=176669)



[HELP] Can't write into scriptfiles? - RoCK'N'Rolla - 14.09.2010

hi, i can't save my stats to scriptfiles. It can read saved files, but cant write into scriptfiles, crashes the server.

NOTE: I was using windows when i create that gm, but now i have a linux hosting.

How to fix?


Re: [HELP] Can't write into scriptfiles? - Woet - 14.09.2010

Use case sensitive paths (Accounts, accounts and ACCOUNTS are the same on Windows, not on Linux)


Re: [HELP] Can't write into scriptfiles? - Double-O-Seven - 14.09.2010

If you are not allowed to edit files on the server, server crashes, you have to change server properties or rights or whatever.


Re: [HELP] Can't write into scriptfiles? - RoCK'N'Rolla - 14.09.2010

ohh, ok, ill try and write here.


Re: [HELP] Can't write into scriptfiles? - RoCK'N'Rolla - 14.09.2010

well, there is nothing wrong with it. But i tried to change my files from filezilla, and wanted to start from control panel, took there errors:


Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/control.gta-multi.com/httpsdocs/Modules/SA-MP/config.php on line 272
.
(same fwrite error like 30 times)
.
.
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/control.gta-multi.com/httpsdocs/Modules/SA-MP/config.php on line 300
(fclose error 1 times)

Any help?


Re: [HELP] Can't write into scriptfiles? - DarrenReeder - 14.09.2010

Sorry this is not helping your question, but just a Tip for you, it is a good idea to try to use mysql if you can... Mysql is amazing really...

Sorry i cant help with scriptfiles, i used them once when i played around with Godfather about 2 years ago but i never got into it because it was very annoying...