Raised This Month: $ Target: $400
 0% 

Mistake in log system


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 06-30-2018 , 15:20   Re: Mistake in log system
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
That is wrong. The function requires the full filepath relative to the root of the server. So, having slashes in there is correct for any file that is not at the root.
That's what I was saying - slashes are for separating directories (to define the path to the file), but he was trying to use slashes in the name of the file itself, not just the path to it. Unless of course the intention was to have a log named according to current year in a directory named after the current day which is in another directory named after the current month. This, however, makes no sense, at least not in that order, and AFAIK, you'd need to separately create each directory before you can create files in it.

EDIT:
This reminds me: PurposeLessx, have you created the directory "addons/amxmodx/purpo_attack_log/" ?
Other than that, I'm afraid I'm all out of ideas, at least until you answer the questions fysiks asked you.

Last edited by Kushfield; 06-30-2018 at 15:29.
Kushfield is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode