WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Thesis 500 internal server error (7 posts)

  1. Yemoonyah
    Member
    Posted 1 year ago #

    Hi,

    I'm helping a friend who's site is down due to a 500 internal server error.
    The eror logs tell me this:

    PHP Parse error: syntax error, unexpected '.' in /thesis_182/custom/custom_functions.php on line 14

    The weird thing is, there is no file called 'thesis_182', just 'thesis_16'

    So I checked /thesis_16/custom/custom_functions.php on line 14
    where it says * function custom_bookmark_links() - outputs an HTML list of bookmarking links

    No unexpected '.' to be seen.

    Any suggestions how to fix this?
    Thanks

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you tell us exactly what is on line 14, custom_functions.php?

  3. Yemoonyah
    Member
    Posted 1 year ago #

    * function custom_bookmark_links() - outputs an HTML list of bookmarking links

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is that exactly what line 14 says

  5. Yemoonyah
    Member
    Posted 1 year ago #

    thanks for helping!

  6. Yemoonyah
    Member
    Posted 1 year ago #

    that's all it says

    here is the context:

    /**
    * function custom_bookmark_links() - outputs an HTML list of bookmarking links
    * NOTE: This only works when called from inside the WordPress loop!
    * SECOND NOTE: This is really just a sample function to show you how to use custom functions!
    *
    * @since 1.0
    * @global object $post
    */

  7. Yemoonyah
    Member
    Posted 1 year ago #

    I fixed it. I had the host activate the default theme and then logged in and found some code errors in the custom_functions.php that didn't show via ftp. No clue how that is possible. Thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic