Closed (fixed)
Project:
Zen
Version:
6.x-1.0
Component:
PHP Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2009 at 18:18 UTC
Updated:
16 Dec 2010 at 20:52 UTC
Hello,
Since this afternoon I cannot access our site anymore (http://primary-sources.eui.eu/) but instead get a screen with this error:
Parse error: syntax error, unexpected T_STRING in /accounts/istitutoeuropeo/www/primary-sources.eui.eu/sites/all/themes/primary_sources/page.tpl.php on line 1352
I have no idea if this is actually zen-related but thought it might be best to begin checking here.
Any help very much appreciated...!
Best,
Gerben
Comments
Comment #1
Gerben Zaagsma commentedTo add: the code on line 1352 is this line:
div id="closure-blocks" class="region region-closure"
print $closure_region;/div
[I removed the "<" and ">" around the divs because otherwise they would not show up in this post]
Comment #2
Gerben Zaagsma commentedOk, this is not a technical problem with Zen or so, I just found out the site has been hacked.
Comment #3
Gerben Zaagsma commentedThis is a follow-up to the previous posting:
It turns out that the page.tpl.php file was injected with code that caused the problems. I reported this to the Drupal security team also but the question remains for us how this happened: via an insecure module, a direct hack of the ftp account or something else.
Again, I don't know if this could be Zen related or that the attacker simply used a theme file but I can share the compromised file so people can have a look at the code.
Best,
Gerben
Comment #4
akalata commented