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, 71 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Question about old database and new phpnuke site. [ ]
 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
Amberooni
Nuke Cadet
Nuke Cadet


Joined: Jan 17, 2006
Posts: 6


PostPosted: Sat Jan 21, 2006 5:35 pm Reply with quoteBack to top

OK, so I was running an older version of phpnuke. I don't know the version but I installed the site nearly 2 years ago and then kinda just forgot about it and let my users to go town on it while I traveled and away from internet life.

Anyway, recently the site was hacked by a mean Turkish Hacker who redirected my main page to a spam website. He did this by creating another admin account and then editing my footer with malicious code. I'm not the smartest when it comes to internet stuff and it took me a long time to figure this out. By the time I had, I had somehow managed to screw up my site.

I didn't know my database password anymore so I reset it on my server end. This created an error when trying to access the webpage:

Fatal error: Call to undefined function: message_die() in /home/.jughead/sheep/funkydecos.com/db/db.php on line 88

I can no longer access any files unless I get to them with phpmyadmin. Only problem is it's really confusing me and I don't know what to edit to make it right. I've found the malicious code using phpmyadmin but I'm afraid to edit it in fear I'll also delete something that's needed and not know how to fix it.

I've come to the conclusion that perhaps the only way at this point that I can salvage my site is by starting all over with the most recent version of phpnuke.

My question is:

Is it possible to import the old sites database that contained the forums, image gallery, (coppermine) and usernames/passwords of my members?

If it is possible, is it as simple as exporting the current tables in the old database and then importing them into a new database? Or, could I use the old database after reinstalling phpnuke and have it work?

I'm going to keep searching for ways to fix the current error I'm getting. If I can get that to go away all I need to do is delete the admin accounts and then find a way to edit the footer.php file that doesn't confuse me to death.


I really appreciate any help that any of you could offer. Thank you in advance.
Find all posts by AmberooniView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12389


PostPosted: Sat Jan 21, 2006 7:56 pm Reply with quoteBack to top

It just means you need to re-edit your config.php
That does not require database access, only FTP access

Yes, you can import your old data using phpMyAdmin. For larger databases, you can use a system such as Big Dump

You should be able to use the old database directly, assuming your phpNuke is the same version with the same files as what that database used.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
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.178 Seconds - 309 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::