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.
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Sat Jan 21, 2006 7:56 pm
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.
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