Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I cannot access admin via:

http://xxxxxx.com/admin

or

http://xxxxxx.com/wp-admin

Fatal error: Class 'ObjectModel' not found in /home3/xxxxxx/public_html/xxxxxxx.com/wp-includes/class.wp-dependencies.php on line 28

I have had a trojan on my website that will put own htaccess redirect stuff. And what is worse the WordPress version was up to date 3.5.1 and I have almost no plugins installed.

File permissions were 644 and directories 755. How can it write to htaccess?

What file permission should I set for htaccess?

I am on a shared Justhost hosting.

share|improve this question
    
Download the latest version of WordPress from wordpress.org/download and override all of the present core files via FTP –  bungeshea Jun 3 '13 at 11:48

1 Answer 1

up vote 1 down vote accepted

Dear you don't need to worry about much - if its a fresh installation and you don't have any data on your website - eg post, article, images or anything then I prefer you t install a clean fresh wordpress again from the sketches after a complete scan of your hosting.

and if you have data in your hosting I am sure you can access your data base from cpanel or hosting central of your account download your data base its the most important thing you need becaue wordpress is just a CMS. after downloading data base follow step 1 and load the data base from within wordpress or from hosting center.

the third that is download wordpress and find wp-dependencies.php upload it to appropiate folder might help you keep us up to date what are you doing.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.