Jump to content

- - - - -

Trouble logging into wp admin

  • Please log in to reply
4 replies to this topic

#1 lovealbatross74



  • Members
  • 14 posts

Posted 02 July 2013 - 03:52 PM

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) [

Please Login or Register to see this Hidden Content

]: 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() [

Please Login or Register to see this Hidden Content

]: 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



#2 lovealbatross74



  • Members
  • 14 posts

Posted 02 July 2013 - 04:13 PM

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

#3 Rob


    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 July 2013 - 06:05 PM



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. 

#4 lovealbatross74



  • Members
  • 14 posts

Posted 03 July 2013 - 08:06 AM

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.

#5 greenfly†



  • DMS Subscriber†
  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 03 July 2013 - 06:39 PM

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