ALLOW GUEST VOTING ERRor
-----
| Author | Message | |
|---|---|---|
|
dkaleky |
||
| Tue Jan 23, 2007 12:35 pm Post subject: ALLOW GUEST VOTING ERRor | ||
|
Latest ver of phpbb
the mod in admin_forumauth.php /* if ( $forum_auth_fields[$i] == 'auth_vote' ) { if ( $HTTP_POST_VARS['auth_vote'] == AUTH_ALL ) { $value = AUTH_REG; } } /* gives me this error in admin left panel Parse error: parse error in /home/atlanticcity.com/html/forum/admin/admin_forumauth.php on line 122 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 139 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 145 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 146 |
||
|
Thoul |
||
| Tue Jan 23, 2007 6:19 pm Post subject: Re: ALLOW GUEST VOTING ERRor | ||
|
Make sure you didn't accidentally delete or overwrite any code. There's nothing wrong in the snippet you posted, but you might have overwritten part of a line before it by accident.
|
||
|
dkaleky |
||
| Tue Jan 23, 2007 6:41 pm Post subject: | ||
|
thanks for quik reply--
but I just redid all 4 files--- with same results But i pulled the mod out of admin_forumauth.php no error, and it seems to work..... what happens since the mod is not in admin_forumauth.php?? Parse error: parse error in /home/atlanticcity.com/html/forum/admin/admin_forumauth.php on line 122 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 139 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 145 Warning: Cannot modify header information - headers already sent by (output started at /home/atlanticcity.com/html/forum/admin/admin_forumauth.php:122) in /home/atlanticcity.com/html/forum/admin/page_header_admin.php on line 146 |
||
|
Thoul |
||
| Tue Jan 23, 2007 8:58 pm Post subject: Re: ALLOW GUEST VOTING ERRor | ||
|
Without the edits in admin_forumauth.php, you can't set a forum's permissions to allow all users to vote. Can you save a copy of your edited admin_forumauth.php as a txt file, upload that somewhere, and post a link to it please? I can't take a look at it and try to figure out what's going wrong with it.
|
||
|
dkaleky |
||
| Tue Jan 23, 2007 10:01 pm Post subject: | ||
|
Thoul |
||
| Wed Jan 24, 2007 3:07 am Post subject: Re: ALLOW GUEST VOTING ERRor | ||
|
Ah, I see. You're adding /* both before and after the existing code. You need to add */ after it instead, like so:
/* if ( $forum_auth_fields[$i] == 'auth_vote' ) { if ( $HTTP_POST_VARS['auth_vote'] == AUTH_ALL ) { $value = AUTH_REG; } } */ |
||
Page 1 of 1