MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
How to restore database ?
AuthorText
quocviet
Donator

Posts: 37
Contributes: 37

Gender: _NEUTRAL_
Online: No
Date: 03/12/2009 05:03
How to restore database ?
#post22738
Site url: http://www.lienminhdantocvn.com
MemHT version: 4.0.0
Hosting OS: Linux
PHP and MySQL versions: php 5.2.8 mysql 5.0.32
Installed addons/scripts: no
Error/Problem: My site was hacked. They have changed my index.html file. I have rightnow restored my index.html file. When I login to admin to checkout my database, I tried to restore it. But, I found an error like this:

"Firefox can't find file http://www.lienminhdantocvn.com/memHT/admin.php?page=database".

The question is:
1/ how can I restore my database ?
2/ is there a better way to protect my site against the hackers ?

Thanksalot
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7300
Contributes: 4879

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 03/12/2009 09:39
Re: How to restore database ?
#post22740
1) Use phpMyAdmin
2) Apply ALL patches and you'll be ok: http://www.memht.com/forum_thread_22456_-ONCE-FOR-ALL-.html
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
rudykaka
Exalted Member

Posts: 574
Contributes: 679

Gender: _MALE_
Online: No

Country: Espaņa
Languages: English, Espaņol
Version: waiting for 5
Date: 03/12/2009 09:39
Re: How to restore database ?
#post22741
hi, as i can see the website is running, so there so no problem in db, may b they have deleted the admin page or admin table in your db, to take a backup (restore) db u can do that in phpmyadmin> select ur db >backup, to prevent hackers always apply the fixes and patches that can be founded here(news page).
Delete Edit Quote
 
rudykaka
Exalted Member

Posts: 574
Contributes: 679

Gender: _MALE_
Online: No

Country: Espaņa
Languages: English, Espaņol
Version: waiting for 5
Date: 03/12/2009 09:43
Re: How to restore database ?
#post22742
hi, as i can see u r using version4.0,and the link given to the website is running, so there so no problem in db, may b they have deleted the admin page or admin table in your db, to take a backup (restore) db u can do that in phpmyadmin> select ur db >backup, to prevent hackers always apply the fixes and patches that can be founded here(news page).
Delete Edit Quote
 
quocviet
Donator

Posts: 37
Contributes: 37

Gender: _NEUTRAL_
Online: No
Date: 20/12/2009 09:42
Re: How to restore database ?
#post22951
quote
mem:
1) Use phpMyAdmin
2) Apply ALL patches and you'll be ok: http://www.memht.com/forum_thread_22456_-ONCE-FOR-ALL-.html


Thanks Mr. MemHT's Dad !
It solved
Delete Edit Quote
 
Reply
Twitter updates...
MemHT Wiki
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.232

Username
Password
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo