Raised This Month: $51 Target: $400
 12% 

[Resolved]Question About make cronjob for sync the bans on hlstatsx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sakretsos
Member
Join Date: Feb 2013
Old 04-01-2013 , 12:56   [Resolved]Question About make cronjob for sync the bans on hlstatsx
Reply With Quote #1

hello there , i just need some help to setup the cronjob on cpanel.. i add this to sync every 5 mins.. tell me if that is correct :

Code:
*/5	*	*	*	*	php /home/hellenic/public_html/stats/ban_sync/sync_the_bans.php >/dev/null 2>&1
when i monitor crond i see this problem

PHP: syntax error, unexpected '=' in /usr/local/lib/php.ini on line 1135
X-Powered-By: PHP/5.3.22
Content-type: text/html

[+] Successfully connected to SourceBans database. Retrieving bans now.
[+] Retrieved 31 banned and 60 unbanned players from SourceBans.
[+] Successfully connected to HLstatsX database server. Updating players...
[-] hellenic_stats: No player changed.
__________________

Hellenic SF Gameservers To Do List

Last edited by Sakretsos; 04-01-2013 at 14:07.
Sakretsos is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-01-2013 , 13:21   Re: [Question] About make cronjob for sync the bans on hlstatsx
Reply With Quote #2

That is an error with your php.ini (aka your php settings) on or near line 1135
__________________
Mavrick4283 is offline
Sakretsos
Member
Join Date: Feb 2013
Old 04-01-2013 , 13:29   Re: [Question] About make cronjob for sync the bans on hlstatsx
Reply With Quote #3

on line 1135 is the

Code:
suhosin.session.max_id_length = 128extension="ixed.5.3.lin"
can you give me more info about what i can do ?
__________________

Hellenic SF Gameservers To Do List

Last edited by Sakretsos; 04-01-2013 at 13:29.
Sakretsos is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-01-2013 , 13:41   Re: [Question] About make cronjob for sync the bans on hlstatsx
Reply With Quote #4

You need a space or return between those two lines, like this

Code:
suhosin.session.max_id_length = 128
extension="ixed.5.3.lin"
__________________

Last edited by Mavrick4283; 04-01-2013 at 13:41.
Mavrick4283 is offline
Sakretsos
Member
Join Date: Feb 2013
Old 04-01-2013 , 14:02   Re: [Question] About make cronjob for sync the bans on hlstatsx
Reply With Quote #5

now i think all works... thnx for all mavrick


Code:
X-Powered-By: PHP/5.3.22
Content-type: text/html

[+] Successfully connected to SourceBans database. Retrieving bans now.
[+] Retrieved 31 banned and 60 unbanned players from SourceBans.
[+] Successfully connected to HLstatsX database server. Updating players...
[-] hellenic_stats: No player changed.
__________________

Hellenic SF Gameservers To Do List

Last edited by Sakretsos; 04-01-2013 at 14:07.
Sakretsos is offline
Reply



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 10:15.


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