Overwote admin.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Overwote admin.php
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hiya...

Happy New Year!

I was updating a module on my site and I overwrote my admin.php so now my account will not work ;-(

How can I "without reinstalling the whole site" restore the function to create my super user account?

Right now I cannot create one, and if I try to the security code is blank.

Help!!

;-)




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#2   
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.71 posts per day
Posts: 5530
Points: 481,695
   
try to get another admin.php of the same version nuke and re-upload that file

icon_razz.gif


taut



Back to top Reply with quote
#3   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Will do adn will follow up

Thanks ;-)




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#4   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Ok I had Nuke 7 before this all started, I cannot find it to DL again so I over wrote my files and have tried to do an upgrade on the site and now I mysql is messed up

I get this a sql error on my page when I try and run the 68.69 upgrade, and when I try to install the sql tables into my mysql i get this

SQL-query :

* - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * - * - CREATE TABLE confirm(

confirm_id char( 32 ) NOT NULL default '',
session_id char( 32 ) NOT NULL default '',
code char( 6 ) NOT NULL default '',
PRIMARY KEY ( session_id, confirm_id )
) TYPE = MyISAM

MySQL said:


You have an error in your SQL syntax near '---------------------------------------------------------
--
--

CREATE TABLE co' at line 2


I can rebuild the site but I do not want to lose my forums and the users that have registered on the site since I have over 100 members now.

Please Help ;-)




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#5   
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
   
Open the sql file and erase the ------------------------------ that will cure that.

Telli




_________________
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
#6   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hey Telli

I have my site backup but I still cannot login as Administrator and it tells me there is no super user account.

I have re uploaded nuke 7 and I cannot perform the upgrade or go to admin.php

I am only concerned about losing my forums, members and content, what can I do to set the Superuser account back?

I got rid of the sql error, I dumped my database and reinstalled the backup.




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#7   
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
   
Tony you have a full dump of your database? Look and make sure you see nuke_authors and your name in there. If it is there and your importing the sql back in then you should be there as an admin. If you cant get email me a copy of the sql file to [ Register or login to view links on this board. ] so I can see if there is anything wrong with it.




_________________
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
#8   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
email sent thanks...




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#9   
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
   
Someone changed my message above the real address is [ Register or login to view links on this board. ]

Ok ok so it was a typo... icon_redface.gif




_________________
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
#10   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
k resending




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
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