Archived

This topic is now archived and is closed to further replies.

  • 0

Trouble logging into wp admin

Question

Posted · Report post

Hi Guys,

 

Hope you can help. My site looks fine at www.traphicmarketing.co.uk unless you use a mobile device in which case you get redirected to various porn sites. Not good obviously.

 

Tried turning things on and off etc, deleted some strange code from the index.php, removed a htaccess file that had some weird stuff on it etc, problem remained.

 

So I installed an anti-virus plugin which did a scan of the site and rightly or wrongly identified 199 'threats' most of which it found in the pagelines folder and proceeded to 'rectify'.

 

This obviously stripped some stuff out. Now I still have the hacked porn redirection issue but now I can't log into my dashboard either!

 

So I checked wp-config, (all looked fine) and changed debug to true to check the error (below) which seems to be looking for the file /class.ui.color.php. Which now doesn't exist on my server.

 

In the first instance can I get a copy of that file to ftp back into the admin folder so I can get access to the dashboard and take it from there??

 

Any help very much appreciated, I seem to be only making things worse when I touch it!

 

Warning: require_once(/content/shard2/Hosting/t/r/traphicmarketing.co.uk/web/wp-content/themes/pagelines/admin/class.ui.color.php) [function.require-once]: failed to open stream: No such file or directory in/content/shard2/Hosting/t/r/traphicmarketing.co.uk/web/wp-content/themes/pagelines/admin/init.admin.php on line 34

Fatal error: require_once() [function.require]: Failed opening required '/content/shard2/Hosting/t/r/traphicmarketing.co.uk/web/wp-content/themes/pagelines/admin/class.ui.color.php' (include_path='.:/usr/share/pear:/usr/share/php') in /content/shard2/Hosting/t/r/traphicmarketing.co.uk/web/wp-content/themes/pagelines/admin/init.admin.php on line 34

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

small update: I downloaded the class.ui.color.php file and have dashboard access back. Just the porn redirect problem now...

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

First, if you're getting porn links, it's obvious you've either added a disreputable plugin, section or theme (previously) from some third-party site. Nothing in PageLines is pornographic or links to adult-sites.

 

It would appear something interrupted or interfered with your installation.

 

Antivirus programs or plugins sometimes read style.LESS as malicious code, making reports of viruses as false positives.

 

I don't think you have a virus, but probably have some hacked code somewhere.

 

Only obtain your plugins from us, CodeCanyon or WordPress.org.  Googling for plugins or themes is a sure-fire way to add bad code to your site. 

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob, appreciate your reply.

 

Yeah, hacked code somewhere for sure. I know it's nothing dodgy in Pagelines but as it's my only theme and the Anti Malware plugin identified a backdoor threat I wondered if anyone had had a previous experience of that. It is certainly redirecting mobile devices to porn sites. As and interim solution I've ticked the box in Pagelines settings that prevents the mobile version of the site being shown automatically. So right now on mobile devices folks can see the desktop version with no redirects. Once that option is deselected though, it redirects again.... Flumoxed. Cheers for your time.

Share this post


Link to post
Share on other sites

Posted · Report post

Hello lovealbatross 

 

Probably a good idea to contact your host and see if they can remove any malicious code added to your site? 

let us know if you have tried this 

Share this post


Link to post
Share on other sites