Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING


  #1  
Old Dec 30, 2014, 02:32 PM
rickpoet
 
80 posts · Jan 2010
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
  #2  
Old Dec 30, 2014, 03:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 5, 2015 at 07:36 PM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need help with this error massage: Parse error: syntax error, unexpected ' Siya Header configuration & styling 6 Jan 28, 2012 04:25 PM
Please help Parse error: syntax error, unexpected ';', expecting ')' in /home/content archiex Installing & running WordPress 2 Jul 6, 2011 08:58 PM
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 04:00 PM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 04:33 AM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 11:04 AM


All times are GMT -6. The time now is 12:36 PM.


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