Page 1 of 1

Stats page trouble AGAIN....

PostPosted: Wed Aug 02, 2006 10:28 am
Author: gcomfx.com
http://100mphclub.com/community/statistics.php

Any thoughts?

Parse error: syntax error, unexpected $end, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/paul/public_html/community/stats_mod/includes/template.php on line 293

Re: Stats page trouble AGAIN....

PostPosted: Wed Aug 02, 2006 9:28 pm
Author: Teelk
I'd reupload a fresh template.php file. If you've added anything to that file recently, it's possible that there was a mistake made. Recheck any edits you may have done. Uploading a fresh one is the easiest way though.

PostPosted: Wed Aug 02, 2006 10:24 pm
Author: gcomfx.com
Actually I haven't touched anything. Today my main page was WHITE. I updated some permissions and repaired my database. Now the stats page is like it is.

I've yet to upgrade to the .21 version. Should I do that, or try to fix this first?

PostPosted: Fri Aug 11, 2006 9:51 am
Author: gcomfx.com
Reuploaded the file from base install.... Got new errors... had to modify the base file on line 757 to chmod 0666 instead of 0644. Works great now.

Is this a security risk?

PostPosted: Mon Aug 14, 2006 1:36 pm
Author: gcomfx.com
Anyone else notice the stats page says:

Top posting users this week [Mon - Mon]

Should it be like SUN - MON??? <img>

PostPosted: Mon Aug 14, 2006 2:12 pm
Author: Adrian Rea
I think it depends on which day of the week you set as the first day of the week and it would go to Mon-Sun <img>

A

PostPosted: Mon Aug 14, 2006 2:30 pm
Author: gcomfx.com
Did you notice it does the same thing here? LOL

BTW - I have mine set to SUN. So not really sure where the MON is coming from.

PostPosted: Tue Aug 15, 2006 4:58 am
Author: Adrian Rea
Yes I did, and I suspect it is hard coded. I suspect if the stats are all produced in real-time there is a possibility this could be coded to use the board default. But that is way above me <img>

A