ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

site not coming up. PHP error caused by changed passwords?

November 26, 2009 9:45pm

Subscribe [2]
  • #1 / Nov 26, 2009 9:45pm

    gguschke

    6 posts

    I did 2 things today:

    1) make a backup of the database that is running EE. I used phpmyadmin to export a sql file.

    2)Changed the FTP/SSH password at my hosting account (mediatemple).

    Now, when I go to the site’s homepage, I get a blank page with this error:

    Parse error: syntax error, unexpected T_STRING in /nfs/c05/h01/mnt/69546/domains/dragonfinearts.com/html/index.php on line 61

    Any ideas what caused this and how I can fix it?

    Thank you.

    [Mod Edit: Moved to the Technical Support forum]

  • #2 / Nov 27, 2009 2:45am

    Ingmar

    29245 posts

    Please make sure that you are not affected by this issue. There have been quite a number of such reported hacks at MT lately.

    Check your index.php file for any suspicious code, especially around line 61. If you find anything, replace all of your EE files with known good copies, change all of your passwords (EE, FTP, MySQL) and notify MT support.

    We do take security very seriously, even though this might not be an EE issue.

  • #3 / Nov 27, 2009 5:38am

    gguschke

    6 posts

    There was bogus code. I’ve talked with MT support about this.

    replace all of your EE files with known good copies

    I was running EE 1.6.7 and have an offline backup copy of the original zip file for that. Can I delete all EE-related files from the server and do a clean reinstall without having to start over on the database EE was using?

    If so, how do I tie the reinstallation of EE to the pre-existing database? (The passwords will be changed.)

    I would need to alter config.php and some of the Control Panel settings, yes?

    Thank you

  • #4 / Nov 27, 2009 5:51am

    Ingmar

    29245 posts

    I was running EE 1.6.7 and have an offline backup copy of the original zip file for that. Can I delete all EE-related files from the server and do a clean reinstall without having to start over on the database EE was using?

    Yes, but do not run install.php again. Simply replace all the files on your server, the way you would with a build update. Better yet, download a fresh set of files from our server and upgrade to EE 1.6.8 in the process. It’s a recommended security update. Do make a db backup, just in case.

    Let me repeat: do not run install.php! It would wipe out your site. (Running update.php to go from 1.6.7 -> 1.6.8 is fine.)

  • #5 / Nov 27, 2009 11:06pm

    gguschke

    6 posts

    I followed your instructions to reload EE with version 1.6.8 and everything is working great now. Thank you!

  • #6 / Nov 28, 2009 3:54am

    Ingmar

    29245 posts

    I am very glad to hear that. Just in case, do change your passwords (unless you haven’t done so yet) and be sure to follow up with your host.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases