[resolved] Parse error: syntax error - HELP! (6 posts)

  1. MariaWeb
    Posted 3 years ago #

    i added a code to line 65 in the inkthemes-function.php and got the massage

    Parse error: syntax error, unexpected '<' in /var/www/virtual/fagform.is/htdocs/wp-content/themes/colorway/functions/inkthemes-functions.php on line 65

    so i went back to one page ,removed the code i just put in and got it again. i cant go anywhere in the admin panel i just get the message ...help :(

    how do i remove the code or recover the site?

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You will need to download a new copy of the theme to your local computer and then replace that file using FTP or other File manager your hosting company provides.

  3. MariaWeb
    Posted 3 years ago #

    thank you WPyogi...i'll check if that works(probably does)

  4. MariaWeb
    Posted 3 years ago #

    hi my website is working again(admin) but the theme that i used to have broke.
    all the style was deleted when i was using file manager from my host company.

    i do have questions of few thing:
    if i delete the colorway(the broken theme) from my filemanager can i install it again?
    there are two more styles missing:
    are the related to the theme or...?
    i was thinking of deleting the theme and installing again (not in filemanager) but i could find it with the other themes so i checked if i needed to install it again but it only let me update(but it is updated)

  5. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Yes, you can delete it and then reinstall it. If you made any changes to theme files (you should not have done that anyway), those will be lost.

  6. MariaWeb
    Posted 3 years ago #

    it works! thanks WPyogi :)

Topic Closed

This topic has been closed to new replies.

About this Topic