PHP Nuke Forums Admin Error - Problem Resolved - Thanks guys

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   PHP Nuke Forums Admin Error - Problem Resolved - Thanks guys
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Hey guys,

I just moved my site to a new host. When I try to go in to forums admin I get this:

Fatal error: Cannot redeclare check_auth() in /home/virtual/site75/fst/var/www/html/modules/Forums/admin/admin_ug_auth.php on line 129


I changed nothing between the hosts, just my config.php file to point to the new db. Any ideas?



_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#2   re: PHP Nuke Forums Admin Error
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
I realize the hosting change shouldn't have caused any errors at all but.....as this is new to me I did a google and came up with this...see if it fixes your issue:


[ Register or login to view links on this board. ]



Back to top Reply with quote
#3   re: PHP Nuke Forums Admin Error
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Thanks Taut. I didn't see anything there that should apply to my site, though it makes sense in theory. For the time being, I added "//" in front of fields in that function and it works fine. I feared that it's not checking to see if the user accessing the forums admin area is actually an admin. However, I cleared my cookies and tried to access the forums admin area with no success. I'll post back if I find another solution, but so far there have been no further repercussions. Again, thanks!




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Try renaming the function. Attach your modules/Forums/admin/admin_ug_auth.php.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: PHP Nuke Forums Admin Error
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
The file is attached.



Attached Files
admin_ug_auth.zip (7.72 KB, Downloaded: 5232 Time(s))



_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#6   re: PHP Nuke Forums Admin Error
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Problem fixed. Telli, I renamed it as suggested and all is well. I believe it was function check_auth and I added _ug on the end of it. Works great. Thanks, as usual!




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum