|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
I've set up a forum specifically for unregistered users, so they can post there if they are having trouble either logging in or registration. Theres a problem. If you post a topic when not logged in, it all goes through ok, but doesnt acrually show up. When I log back in, I can see the post has been entered on the list of forums, but when you click on the post, theres nothing there. So basically the header is there, but no body.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Try this query - my guess is that you're missing the placeholder user - user#1. SELECT U_Username FROM w3t_Users WHERE U_Number = 1 If that doesn't return any results - then you need to insert the "DONOTDELETE" user. INSERT INTO w3t_Users (U_Username,U_Groups) VALUES ('**DONOTDELETE**','-4-')
|
|
|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
ok, just done that, and it still returns no results.
|
|
|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
any other ideas? (in case this thread had been forgotten)
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
I posted what to do if you didn't get any results - your DONOTDELETE placeholder user is missing. [] JoshPet said:If that doesn't return any results - then you need to insert the "DONOTDELETE" user. INSERT INTO w3t_Users (U_Username,U_Groups) VALUES ('**DONOTDELETE**','-4-') [/]
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
But - I did forget to also do this query: UPDATE w3t_Users SET U_Number = 1 WHERE U_Username = '**DONOTDELETE**' That *should* do it. <fingers crossed>
|
|
|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
Works like a dream now! thanks josh!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|