Yesterday I installed Drupal. Added a theme in Sites/all/themes and then added the admin_menu module on in the sites/all/module.

I then went into the modules section and enabled the the admin_menu, and set my new theme to enable and default.
Then I enabled the path module, search module and a few others. After doing these I was able to navigate around and see the admin_menus at the top and saw my new theme displayed.

Today when I got on I got the PHP Parse error: syntax error, unexpected '<' in /home1/tcyberan/public_html/invisiblecorners/index.php on line 37.

This is the second time that I have installed and got the same error message after installing and coming back the next day.

Is there a step I am missing in the post install setup? IS there something I have to do after enabling the path module that NOT doing would cause this?

site is www.invisiblecorners.com

thanks for any help

Comments

nevets’s picture

The odds are you site is insecure and someone is changing index.php. I would guess there is a bit of added php at the end that is a virus.

ecksley’s picture

I just experienced the same issue and you were exactly correct. Someone had injected bad code in the index.

When you say that the site in insecure, do you mean the server is insecure? Or is there something about the site install itself that could be the vulnerability? IE should I change login info?

Thanks for the tip Nevets!

nevets’s picture

It generally means the server is insecure, for example some one might have figured out your FTP login/password.

ecksley’s picture

I appreciate the insight! I contacted my host company. We'll see what they have to say.