Can't change settings. Keeps asking me to login

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 7:01 pm

I can login with an admin account/password and get in fine and access ACP just fine.
I can move around in the ACP, change/add forums, permissions, but whenever I make a change in administrative settings (Attachment Settings for example) and hit a submit button there, I get "To administer the board you must re-authenticate yourself" window
I can login back to the ACP but there is no change and it continues in the loop like that.

My domain is paid-hosting WordPress based website with forum linked to it.

Cookie settings
Cookie domain: teensatsalvation.com
Cookie name: phpbb3_cwk44
Cookie path: /
Cookie secure: Disabled

I would really appreciate any help please
Last edited by Noxwizard on Sun Mar 20, 2011 5:39 pm, edited 1 time in total.
Reason: Changed topic icon

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 7:05 pm

Cookie domain should be
.teensatsalvation.com
note the leading dot.

If you lose ACP access use the Support Toolkit to gain access and change the cookie domain setting.

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 7:25 pm

Well, the problem is that when I try to change it and submit the change it takes me to login page again and changes are not saved

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 7:28 pm

Pit$Bull wrote:If you lose ACP access use the Support Toolkit to gain access and change the cookie domain setting.

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 7:30 pm

I mean - I can access ACP back - no problem. I should use the Support Toolkit you provided?

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 7:33 pm

If you can't change the settings, yes. Use the cookie option in the STK.

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 7:52 pm

Ok, I installed it, went to Support Tools tab and get this message:

Code: Select all

[phpBB Debug] PHP Notice: in file /stk/tools/support/mysql_upgrader.php on line 48: require(./index.phptools/support/database_cleaner.php) [function.require]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /stk/tools/support/mysql_upgrader.php on line 48: require(./index.phptools/support/database_cleaner.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './index.phptools/support/database_cleaner.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mminzer/public_html/teensatsalvation.com/forum/stk/tools/support/mysql_upgrader.php on line 48
I don't know what to do next

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 7:56 pm

Did you place the stk folder in the root of your phpBB3 files?
What "tab" are you speaking?

Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.

EDIT: See here http://www.phpbb.com/customise/db/offic ... ab-t_89982

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 8:09 pm

Support Request Template

What version of phpBB are you using?: phpBB 3.0.8
What is your board’s URL?: http://teensatsalvation.com/forum
Which database type/version are you using?: MySQL(i) 5.1.52
Which PHP version are you using?: 5.2.15
Who do you host your board with?: HostGator
How did you install your board?: I used the download package from phpBB.com
Is your board a fresh install or a conversion?: Fresh Install
What MODs do you have installed?: WP-UNITED: WordPress-phpBB Integration Mod (0.8.5RC2)

I think I unistalled WP-United
What styles do you currently have installed?: prosilver
envision
What language(s) is your board currently using?: British English
What is your level of experience?: New to PHP and phpBB
What username can be used to view this issue?: No answer given
What password can be used to view this issue?: No answer given
When did your problem begin?: I'm not sure when problem started now but here are some details
I upgraded to WP 3.1 - I don't know if I had that problem before or not.
I couldn't login or register on the forum after that 3.1 upgrade.
Then I made some fixes http://wordpress.org/support/topic/cant ... replies=45
Please describe your problem.: As described above.
Can't change settings - asks me to login every time I click submit and doesn't save changes after that. Can access ACP - no problem

Generated by Support Toolkit SRT Generator.

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 8:15 pm


maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 8:27 pm

Ok, I fixed STK, went to Auto Cookies, changed settings there to
.teensatsalvation.com

Went back to my original ACP - it's .teensatsalvation.com there now. But that didn't fix the problem - it still tells me to login after I try to submit changes

Pit$Bull
Former Team Member
Posts: 23099
Joined: Sat Dec 02, 2006 4:08 pm
Name: Can't Remember

Re: Can't change settings. Keeps asking me to login

Post by Pit$Bull » Tue Mar 15, 2011 8:30 pm

Clear your browser cookies using the link at the bottom of board "delete all board cookies"
Also be sure to allow cookies to be set in your browser.

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 8:40 pm

Now I can't login anywhere - forum or STK

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 8:42 pm

I was able to log in using different browser - if that helps

maxminzer
Registered User
Posts: 69
Joined: Thu Dec 23, 2010 11:38 pm

Re: Can't change settings. Keeps asking me to login

Post by maxminzer » Tue Mar 15, 2011 8:44 pm

In Firefox, when I try to submit board settings I get this code:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'sitename' for key 'PRIMARY' [1062]

SQL

INSERT INTO mminzer_teens.phpbb_config (config_name, config_value, is_dynamic) VALUES ('sitename', '', 0)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions.php
LINE: 157
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_board.php
LINE: 475
CALL: set_config()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_board->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: No registered users and 48 guests