Support » Themes and Templates » Parse error: syntax error, unexpected end of file

Viewing 8 replies - 1 through 8 (of 8 total)
  • Update: I just tried to see if I could access the website through FTP to no avail.

    There is an unexpected open or close tag in your file.
    Trace the error by using print_r() or echo().

    It’s probably not in the functions.php file, unless you have been editing it.
    Sometimes, it’s easier to start a build with a clean install. It’s faster and far less frustrating than tracing what other devs have done to a website.

    If you don’t know how to trace an error, this is CRUCIAL knowledge.
    http://www.lynda.com/PHP-tutorials/Tracking-down-parse-errors/146234/157700-4.html

    The problem isn’t so much that I can’t trace an error, it’s that I’m not able to even log in to the page now without receiving the same error. With it being a WP website, I wasn’t able to find where the code was stored so that I could take a look at it myself.

    Well, without FTP, it’s gonna be tough.
    If the /wp-admin is working, then Appearance > editor is a possiblity.

    Without FTP, DB access is needed to shutdown the plugins.
    And then restore access to /wp-admin.

    These is a tough path to work out. Good luck.

    When using FTP, the /wp-admin does not work. This is the response I get:

    Response:	331 User xxxxxxx OK. Password required
    Command:	PASS ********
    Response:	530 Login authentication failed
    Error:	Critical error: Could not connect to server

    In fact, if anything is typed after the domain name, i.e. .com/dajklfhsfuiargo
    I get the same parse error, no matter what is there.

    Authentication failed is a login failure. It can be because you need to whitelist your IP, or a few other things. Can you contact the hosting company?

    As you know, FTP is not the /wp-admin.

    As for your error, this is because the error is occurring Server-side, before the site loads.
    I recommend a fresh install/build.

    PS> Designing friend’s websites is a good way to lose a friend.

    The website was already “designed” when I took over (albeit poorly designed) but I digress…

    Assuming I somehow gain credential access to the website, would I be able to push a fresh build to a site that has WP pre-installed? I’m not familiar with both WP and filezilla.

    There are times when you install and activate a plugin using the WordPress dashboard just to find that this plugin is incompatible with an existing plugin. The incompatibility sometimes causes a white screen of death through out the site which locks you out from doing anything. If you know how to use FTP, then instead of freaking out, you will simply login-in and delete the plugin using the FTP connection.

    This seems to be the closest answer I have found online so far. I’m attempting to contact the hosting provider for help. Is there anything I can do to further help?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Parse error: syntax error, unexpected end of file’ is closed to new replies.