| Author |
Message |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 12:31 am |
  |
I have never had my forums work correctly. When a user goes into the forums they see only the forum header with the faq, search, etc links as well as a link to login...even if they are logged into the site.
The forum is set up with categories and topics but no one can see them. I have done no tweaks to the module, templates...anything. I have tried completely reinstalling it and did the updates to take it from 2.04 to 2.06.
I have made sure it is active in admin, checked & rechecked the configuration & permissions. I even looked over the table structure in phpmyadmin.
Private Messages obviously do not work either. If a person clicks on Read Messages they get the Your_Account navbar and then the header as mentioned above and the links say to login.
In otherwords..I give up. Can anyone give me any clues where to look next or what to do? It sucks not having the forums or private messages work at all. |
Last edited by shalida on Sat Oct 18, 2003 1:10 pm; edited 1 time in total |
|
   |
 |
sting
Site Admin


Joined: Jul 24, 2003
Posts: 1985
Location: Apparently ALWAYS Online. . .
|
Posted:
Sat Oct 18, 2003 9:12 am |
  |
Ok,
I had a site that had this problem recently, but only AFTER I installed the admin patches. I had to manually go in, restore the files from the admin patches and manually put the edits in.
If I remember correctly it had something to do with one of the files in the includes directory. userregcp or something.
-sting |
_________________ Is it paranoia if they are really out to get you?
-------------------------------------------------------
sting usually hangs out at nukehaven.net |
|
        |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 11:57 am |
  |
Thanks Sting,
I will start checking it out from there and hope I can catch something!
I was beginning to think there is a problem with the user table even though things look correct.
Shalida |
|
|
   |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 1:14 pm |
  |
well, this is interesting. I have gotten it to the point where visitors can see the forums but registered users cannot. If a registered user goes to the forums they get the header & links with login as mentioned above. If you enter the forums as a visitor however you can see all the categories & topics.
I went in as a visitor and then tried to login at the bottom login boxes and got the error "You have specified an incorrect or inactive username, or an invalid password."
So, something is not "talking" to something else. Can anyone give me some clues/help/pointers on what to check.
thanks! |
|
|
   |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 1:18 pm |
  |
One more thing, and this is weird...I created a new user and they can see the forums. Old users cannot.
So, the question becomes how do I fix it do old users can see the forums? |
|
|
   |
 |
sting
Site Admin


Joined: Jul 24, 2003
Posts: 1985
Location: Apparently ALWAYS Online. . .
|
Posted:
Sat Oct 18, 2003 1:27 pm |
  |
You might try having them delete their cookies and see if that fixes it. Alternatively you could try changing the name of your cookie in the phpBB config to see if it will do the same thing. Make sure you make a note of the original cookie name just in case something goes wrong so you can change it back.
-sting |
_________________ Is it paranoia if they are really out to get you?
-------------------------------------------------------
sting usually hangs out at nukehaven.net |
|
        |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 1:46 pm |
  |
Sting, one thing I noticed when going over the nuke_user table is that for newly registered people user_active is set to 1, same for anonymous (which an anonymous user can see forums) and that older registered users user_active is set to 0.
Could it be that I need to set older users to 1 in the user_active table?
This is the only difference I saw between accounts in the nuke_users table other than things like preferences, sigs, etc. |
|
|
   |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Oct 18, 2003 1:48 pm |
  |
I have two websites, one using 6.5 and one using 6.0. The one using 6.0 was doing the same thing, when clicking on the Private messages it would redirect to your account. Also when they logged into the site and went to forums it would ask them to login again. I found the problem was in one of the 3 files after installing Chatserv's patch for the SQL injection. The problem is either in the modules.php, mainfile.php (Probably here) or in the index.php. I uploaded my original files from backup and everything started working again. I checked the intval and trim functions for each file and all seemed to be set up correctly. I would suggest replacing these files with the original's if you are using 6.0. I am looking into what the problem is, and I will post a fix when I get around to finding it. Hope that helps you out a bit.
-Bill |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 1:52 pm |
  |
| Audioslaved wrote: |
I have two websites, one using 6.5 and one using 6.0. The one using 6.0 was doing the same thing, when clicking on the Private messages it would redirect to your account. Also when they logged into the site and went to forums it would ask them to login again. I found the problem was in one of the 3 files after installing Chatserv's patch for the SQL injection. The problem is either in the modules.php, mainfile.php (Probably here) or in the index.php. I uploaded my original files from backup and everything started working again. I checked the intval and trim functions for each file and all seemed to be set up correctly. I would suggest replacing these files with the original's if you are using 6.0. I am looking into what the problem is, and I will post a fix when I get around to finding it. Hope that helps you out a bit.
-Bill |
Well, that is what is happening however I have never used 6.0. The first install I did was 6.5. would this perhaps still apply? |
|
|
   |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Oct 18, 2003 1:58 pm |
  |
I am looking into this, I think it resides in the modules.php not passing the $nukeuser variable as which was previously defined, I check the Private Messages index.php and it seems the function is looking for this variable, but since it was taken out of the modules.php, it is no longer being passed to my knowledge. I will be in touch in a little bit. |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Oct 18, 2003 2:02 pm |
  |
Do me a favor and go into your modules.php and see if this code exists
| Code: |
global $nukeuser;
$nukeuser = base64_decode($user);
|
If it doesn't exist, try ading it right under this code
| Code: |
if (isset($name)) {
|
This happens to be the case on my 6.0 files, from what I can see the 6.5 files should be correct, but it is still worth the look. |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Oct 18, 2003 2:09 pm |
  |
|
     |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 2:21 pm |
  |
| Audioslaved wrote: |
Do me a favor and go into your modules.php and see if this code exists
| Code: |
global $nukeuser;
$nukeuser = base64_decode($user);
|
If it doesn't exist, try ading it right under this code
| Code: |
if (isset($name)) {
|
This happens to be the case on my 6.0 files, from what I can see the 6.5 files should be correct, but it is still worth the look. |
Well, in mine it says
| Code: |
if (isset($name)) {
global $nukeuser;
$nukeuser = base64_decode($user); |
should I switch it to
| Code: |
global $nukeuser;
$nukeuser = base64_decode($user);
if (isset($name)) {
|
did you see my post about about user_active in the user_table? Those that have user_active set to 1 can see the forums. (this would be new users and anonymous) Old users have user_active set to 0.
I took one old account and switched their user_active to 1 and they can now see the forums. Private messages is still screwed up however so I don't know if this is a real fix to the problem or not. |
|
|
   |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Oct 18, 2003 2:29 pm |
  |
Keep your code the same, It does not appear to be the problem on the 6.5 sites. Hmmmm, I installed the patch for 6.5 and everything is working right. Try putting your original modules.php back in place and see what happens, I will look at the 6.5 files and see what I can find. Let me know if your original file fixes the problem, if not, try adding your original mainfile.php back into the mix. Let me know the results, we can go from there. |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
shalida
Private


Joined: May 21, 2003
Posts: 45
|
Posted:
Sat Oct 18, 2003 2:32 pm |
  |
Oooh, you are going to hate this one....the files there are the originals.
 |
|
|
   |
 |
|
|