Jump to content
Sign in to follow this  
lovealbatross74

Trouble logging into wp admin

Recommended Posts

lovealbatross74    0
lovealbatross74

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
lovealbatross74    0
lovealbatross74

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
Rob    547
Rob

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. 


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
lovealbatross74    0
lovealbatross74

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
greenfly    230
greenfly

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 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×