Unable to log into our own forum SOLVED

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Unable to log into our own forum SOLVED

Post by Cantina » Thu Sep 24, 2015 1:40 pm

Support Request Template
What version of phpBB are you using? phpBB 3.1.6
What is your board's URL? http://www.thesoundboard.net/index.php
Who do you host your board with? TMD
How did you install your board? I used a tool provided by my host
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? Yes
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.0.0
What MODs do you have installed? Collapsible folders
What extensions do you have installed? Advanced BB Code box
What styles do you currently have installed? we_universal (modified)
What language(s) is your board currently using? English
Which database type/version are you using? I Don't Know
What is your level of experience? New to PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Updated from 3.1.5 to 3.1.6, which seemed to go smoothly.
Paid for Amember subscription software - integration took place around 14th Sept, and that's where it all started to fall apart.

Please describe your problem. We are setting up a subscription forum (not yet live, thank goodness). We got Amember to do a basic setup of their membership software, which was part of their package. We never got it working, however, never understood their vague instructions in response to our pleas, and at some point realised that the forum was actually seriously broken.

What happens is that once logged out, it is impossible to log in or register. Everyone is assigned Guest status. When trying to log out of being a guest, it generates the following error:

"You were not logged out, as the request did not match your session. Please contact the board administrator if you continue to experience problems."

The Login and Register buttons which used to present on every page, have vanished. A couple of us mods are lucky enough to stay logged in in our browsers, so we can see that the content is still there (much of the forum is members-only).

Being as we're new at this and hopelessly out of our depth, I only thought to take a backup after the trouble started. TMD also autobackup, but it's now passed the point where it all went wrong.

We paid someone to mod the board with cosmetic changes, but these were all completed way before the board went wrong. However, it does mean we can't just reinstall we_universal, as we'd overwrite all that customisation.

Any help very very very very VERY gratefully received - thanks in advance.
Generated by SRT Generator
Last edited by Cantina on Fri Sep 25, 2015 2:00 pm, edited 2 times in total.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66338
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Unable to log into our own forum

Post by Lumpy Burgertushie » Thu Sep 24, 2015 2:45 pm

I see nothing different about the style other than the header and background images.

there is no such file in phpbb as admin.php


your cookie domain should have a dot in front. you can fix that from the admin panel if you can get in to it.

you have no forums viewable to the guest group.
I would be surprised if amember has their integration updated to 3.1 yet so if their setup was for 3.0 that could be what started the problems.



robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Thu Sep 24, 2015 3:52 pm

Thanks Robert - apologies for the duff url, fixed now.

Cookie Domain? (please understand, we are so green at phpBB, we are Greenpeace eating peas on the White House lawn).

The no-forums thing is another part of the forum screw up. There are in fact several viewable by guests, but since it all went wrong, the forum now incorrectly reports that there are none for guests.

Amember info useful for us, thanks.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66338
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Unable to log into our own forum

Post by Lumpy Burgertushie » Thu Sep 24, 2015 5:58 pm

go in your admin panel, on the left side at the bottom you will see cookie settings.

click on that.
on the next page change your cookie domain to :
.thesoundboard.net
exactly like that. notice the dot in front.

change the cookie name: just add a letter or number to the one that his there.

submit

log out of the board and back in.

in the admin panel, permissions tab.

choose group forum permissions
choose guests
choose whatever forums you want guests to be able to see
set role to "read only access" for all the forums you wish.

make sure that the registered user group has standard access to all forums except for ones that you only want admin/mods to see etc.

this should help you along:
phpBB3 Permissions

luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Thu Sep 24, 2015 6:09 pm

Again, thank you very much Robert. I've changed the cookie domain to add the dot - I haven't logged out though, as the moment I do that I can never return (that being the essential problem here).

As for the permissions, they remain as we originally set them - I just checked and guests are still able to view the few subforums we set up according to the ACP. The fact it is saying there are no forums is a strange lie that appeared at the same time that our login / registration vanished. Obviously I am technically clueless here, but to the layman it seems as if some critical files got tweaked / deleted in the Amember botched integration.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66338
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Unable to log into our own forum

Post by Lumpy Burgertushie » Thu Sep 24, 2015 6:19 pm

whoever installed the amember thing needs to uninstall it for you.

as to the message about no forums visible, it means what it says. guests do not have permissions to view any forums on the board.

use the permission mask.

admin panel,
permissions tab
left side/permission masks
choose forum based permssions
select all forums
select anonymous user
view permissions
select all forums
click the content tab
check the see forums and read forums for a "never" permission

if you see one in any of your forums, then click on the little icon to the left of that permission and see where the never is coming from.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Thu Sep 24, 2015 7:23 pm

Thanks Lumpy, I'll check through that ASAP.

Amember have been awful. They said today they'd uninstalled it all. When I logged into the FTP, everything was still there - they hadn't touched a thing. They've basically wrecked our forum and left, leaving us to try to figure out what they've done. Good, eh?
Last edited by Oyabun1 on Thu Sep 24, 2015 8:53 pm, edited 1 time in total.
Reason: Moved from 3.0.x Support Forum

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Fri Sep 25, 2015 8:00 am

Ok, so here's the thing - I don't have an anonymous users group. I have:

Administrators
Bots
Global Moderators
Guests
Newly Registered Users
Registered Users
Registered COPPA Users

And that's it.

Part of this strange thing has been that everyone appears to be logged in as Guest, rather than simply not logged in (is that what you see too?) When you try to log out as Guest, you get the error message.

I did follow the instructions above for the Guests group, and they're all set as we set them - all green for the forums we set as viewable by guests.

(All this as a hopless newb, so could be totally wrong) It really doesn't look like it's anything about settings not being right in the ACP - everything was working just fine, nobody changed anything there, and everything looks just as it has always done. It seems much more likely to me (as a hopeless newb) there's corrupted / missing / edited files somewhere that have messed everything up.

The only other thing that has happened aside from Amember is updating from 3.1.5 to 3.1.6, but that seemed to go fine. Can anything get corrupted in that process?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69111
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Unable to log into our own forum

Post by KevC » Fri Sep 25, 2015 8:34 am

Cantina wrote:And that's it.
What you have is correct.

There is an anonymous account (used by everyone who is not logged in) which should be in the guest group.

There is no such thing as a Guest user account in phpBB. When people visit a board they are not 'logged in' as Guest.

That must be coming from the Amember thing you're running. As we don't make that you should really be asking on their site as to how it should be set up.
Cantina wrote:Can anything get corrupted in that process?
Not really. It's pretty much just a file replacement and running one file to update the database. It takes 5-10 minutes depending on your upload speed.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Fri Sep 25, 2015 8:53 am

KevC wrote:
Cantina wrote:And that's it.
What you have is correct.

There is an anonymous account (used by everyone who is not logged in) which should be in the guest group.

There is no such thing as a Guest user account in phpBB. When people visit a board they are not 'logged in' as Guest.

That must be coming from the Amember thing you're running. As we don't make that you should really be asking on their site as to how it should be set up.
Cantina wrote:Can anything get corrupted in that process?
Not really. It's pretty much just a file replacement and running one file to update the database. It takes 5-10 minutes depending on your upload speed.
Thanks for all that, good to know it isn't likely to have been the update, and that the Guest thing is how it should be.

Still feel rather out of ideas of how to now proceed though. Effectively the Amamber relationship ended the moment they told us they'd uninstalled everything, and we discovered they'd done nothing of the sort. We've deleted (well, renamed) the Amemeber folder in public_html, but it didn't restore the forum to health - indeed there was no change at all. We need to figure out what they could have done that could be causing these symptoms, and undo it. No mean feat.

Anyone out there feeling brave?!

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69111
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Unable to log into our own forum

Post by KevC » Fri Sep 25, 2015 8:58 am

Have you posted on their support forum or submitted another ticket?

We have no idea how Amember is coded or integrated. They do.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Fri Sep 25, 2015 9:02 am

KevC wrote:Have you posted on their support forum or submitted another ticket?

We have no idea how Amember is coded or integrated. They do.
We've had an ongoing ticket, but the help sort of evaporated. They claim they've reverted everything to how it was, but there again there was the small matter of their entire folder still on our website unchanged.

We're in a sticky situation, aren't we?

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Unable to log into our own forum

Post by Oyabun1 » Fri Sep 25, 2015 9:09 am

Just to get some information on your Anonymous account:
  1. Download this file – support_info.php
  2. Upload it to the root of your board installation.
  3. Navigate your browser to the file http://www.thesoundboard.net/support_info.php
  4. Select: Anonymous
  5. Click: Show
  6. Copy and paste the information it shows in the blue box to here.
  7. Then delete the file. (The script displays a button to delete itself.)
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Cantina
Registered User
Posts: 17
Joined: Wed Sep 23, 2015 8:45 am

Re: Unable to log into our own forum

Post by Cantina » Fri Sep 25, 2015 9:20 am

Thank you Oyabun, and done. I have:
Anonymous User
Constant user_id: 1
Group(s):

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Unable to log into our own forum

Post by Oyabun1 » Fri Sep 25, 2015 9:49 am

The Anonymous user account is missing from the database. Since that is essential it needs to be added back.
  1. Backup the database before proceeding
  2. Download this file anon_add.php
  3. Open the file with a text editor and remove these lines

    Code: Select all

    // Limit this to founders or admins
    if ((int) $user->data['user_type'] !== USER_FOUNDER || !$auth->acl_get('a_'))
    {
        trigger_error('You don\'t have permission to alter the database. 
        You need to be logged in as a founder or administrator.');
    }
  4. Upload the file to the root of your board install on the server
  5. Browse to the file http://www.thesoundboard.net/anon_add.php
  6. It should provide some information about hat it has done, copy and paste the message here
  7. Delete the file from the server
The file should recreate the Anonymous user account and place it into the Guests group.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Locked

Return to “[3.1.x] Support Forum”