Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING (http://forum.bytesforall.com/showthread.php?t=22979)

rickpoet Dec 30, 2014 01:32 PM

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
 
Howdy,

This error has popped up in one of my Atahualpa installations here: http://www.galityomtov.com

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /hermes/bosoraweb108/b2818/ipw.galityomtovcom/public_html/wp-content/themes/atahualpa/functions.php on line 136

Here's the code that's currently on that line:

if ( is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" )
wp_redirect( 'themes.php?page=atahualpa-options' );

This happens whether I try to go to the front end of the site or the admin login. Haven't made any kind of edits to this site (WP or ATA options). Any help would be appreciated!

Thanks,

Rick

juggledad Dec 30, 2014 02:24 PM

Take a look at the first few lines of function.php. If it doesn't begin with
HTML Code:

<?php
$bfa_ata_version = "3.7.18";

// Load translation file above
load_theme_textdomain('atahualpa');

// get default theme options

you have been hacked...which is my suspicion.

you've been hacked - if you take a look at the first couple lines of function.php you see some messy code.

You need to close the hole that the hacker used to get in, you will be hacked again, you need to change
1) all your FTP passwords
2) your cPanel passwords
3) all WordPress Admin passwords
4) your computer password
5) you need to load a fresh copy of wordpress, every plugin and every theme in your site
6) you need to run a virus scan of every computer that has admin access to the site

you should talk to your host and see if they can help you fine the entryway the hacker used because it could even be a cross server attack.

You might want to go to your site backups to see if you can find out when you were first hacked.

You need to start working your way through these resources:
http://codex.wordpress.org/FAQ_My_site_was_hacked
http://wordpress.org/support/topic/268083#post-1065779
http://smackdown.blogsblogsblogs.com...-installation/
http://ottopress.com/2009/hacked-wordpress-backdoors/

Additional Resources:
http://codex.wordpress.org/Hardening_WordPress
http://sitecheck.sucuri.net/scanner/
http://www.unmaskparasites.com/
http://blog.sucuri.net/2012/03/wordp...erability.html
http://blog.sucuri.net/2010/07/under...wordpress.html


All times are GMT -6. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.