WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Parse error: syntax error, Cant access my Admin? (7 posts)

  1. Rasmus Andersen
    Member
    Posted 4 years ago #

    Parse error: syntax error, unexpected ???

    My blogg, dashmark.dk is now longer visible and the following shows then I try to open the page:
    Parse error: syntax error, unexpected '<' in /home/virtual/dashmark.dk/public_html/wp-includes/default-widgets.php on line 1037.

    Furthermore I can no longer access my administration account on wordpress.org,…

    The error happened when I was downloading a photo gallery plug-in from wordpress.org.
    Mozilla unexpectedly closed during the download and now I can’t enter my site or my administration account on wp-admin…

    How do I gain access to my administration account on dashmark.dk/wp-admin, when I cant even open the dashmark.dk/wp-login page???

    Really hope that someone is able to help my out somehow.

    Thanks

    RasZ

  2. Please only post once.

    With FTP, delete that plugin that didn't complete its download, and see if that works. If not, post back with error messages.

  3. loveglass
    Member
    Posted 4 years ago #

    What you suggest to me? Please
    Parse error: syntax error, unexpected ']' in /homepages/7/d259763837/htdocs/wordpress/wp love-glass/wp-config.php on line 47

    this how it looks without keys

    */
    define('AUTH_KEY', '...');
    define('SECURE_AUTH_KEY', '...');
    define('LOGGED_IN_KEY', '...);
    define('NONCE_KEY', '...');
    /**#@-*/ ......this is probably line 47

    Thanks for help

  4. Rasmus Andersen
    Member
    Posted 4 years ago #

    Thank you for your response.

    I have now deleted the photo gallery plug-in from my ftp, but unfortunatly it didn't solve the problem.

    I still cant log-in to my admin or open the blogg. It still just say:
    Parse error: syntax error, unexpected '<' in /home/virtual/dashmark.dk/public_html/wp-includes/default-widgets.php on line 1037

  5. @Rasmus, I'd backup and then delete the rest of your plugins and see if that helps.

    If not, do you know the version of wordpress that you were using? Get a fresh copy of it and then upload a new wp-includes directory.

    @Loveglass, look in your original thread; I answered there.

  6. Rasmus Andersen
    Member
    Posted 4 years ago #

    Perfect,... Im back

    I re-upload the default widget.php file and Im now once again logged in and the site is visiable.

    Thank you for your assistance

    Rasmus

  7. Glad it worked....

Topic Closed

This topic has been closed to new replies.

About this Topic