You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 47 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Forums/Private Messages Non Functional *Update-new problem* [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 12:31 am Reply with quoteBack to top

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
Find all posts by shalidaView user's profileSend private message
sting
Site Admin
Site Admin


Joined: Jul 24, 2003
Posts: 1985

Location: Apparently ALWAYS Online. . .

PostPosted: Sat Oct 18, 2003 9:12 am Reply with quoteBack to top

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
Find all posts by stingView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 11:57 am Reply with quoteBack to top

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
Find all posts by shalidaView user's profileSend private message
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 1:14 pm Reply with quoteBack to top

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!
Find all posts by shalidaView user's profileSend private message
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 1:18 pm Reply with quoteBack to top

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?
Find all posts by shalidaView user's profileSend private message
sting
Site Admin
Site Admin


Joined: Jul 24, 2003
Posts: 1985

Location: Apparently ALWAYS Online. . .

PostPosted: Sat Oct 18, 2003 1:27 pm Reply with quoteBack to top

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
Find all posts by stingView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 1:46 pm Reply with quoteBack to top

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.
Find all posts by shalidaView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Oct 18, 2003 1:48 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 1:52 pm Reply with quoteBack to top

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?
Find all posts by shalidaView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Oct 18, 2003 1:58 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Oct 18, 2003 2:02 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Oct 18, 2003 2:09 pm Reply with quoteBack to top

This fix worked 100% on my 6.0, I have started the following thread for it.

http://www.nukecops.com/postp61118.html

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 2:21 pm Reply with quoteBack to top

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.
Find all posts by shalidaView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Oct 18, 2003 2:29 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
shalida
Private
Private


Joined: May 21, 2003
Posts: 45


PostPosted: Sat Oct 18, 2003 2:32 pm Reply with quoteBack to top

Oooh, you are going to hate this one....the files there are the originals.

Sad
Find all posts by shalidaView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.742 Seconds - 286 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::