WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help! php syntax error (8 posts)

  1. tocool
    Member
    Posted 1 year ago #

    I have two hosting, one at GoDaddy, one at Amazon AWS EC2.
    Everything runs smooth and nice until yesterday. I tried to install a new theme for EC2. After installation, I activated without live preview and ended up --- white page of death.
    Then I followed the guidelines online and recovered the WordPress back to the default "Twenty Eleven" theme.

    I was pretty sure it's theme's problem so I wanted the way to resolve this.
    Before I turned on EC2's wordpress's debug mode, I went and tried on Godaddy and installed the same theme. It ran perfectly!

    I am confused! Really confused! Because all my other themes could install and run on both servers perfectly, just not this one!

    I have checked my EC2 WordPress install again and again. I have re-installed my WordPress on EC2. It won't work.

    So I have turned the EC2 WordPress's debug mode on and I found this line:
    Parse error: syntax error, unexpected '}' in /var/www/html/wordpress/wp-content/themes/nemo/registered_fields/menu_custom_field.php on line 188

    My Dreamweaver CS6 replies no error. Please help me, I have copied and pasted my menu_custom_field.php at pastbin.

    Link: http://pastebin.com/ZkrbGmxk

    Thank you all!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Did you look at line 188 -- looks like there is a stray bracket right there!

    ???

  3. tocool
    Member
    Posted 1 year ago #

    Yes, I have tried to remove that stray bracket on line 188.

    Then the WordPress debug replies unexpected '}' on line 365.

    After I removed that } on line 365, WordPress debug replies unexpected $end.

    = = what should I do?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What theme is it?

  5. tocool
    Member
    Posted 1 year ago #

    The theme is called Nemo.
    I purchased this from theme-forest at http://themeforest.net/item/nemo-metro-inspired-wordpress-theme/3418313

  6. Japh
    Member
    Posted 1 year ago #

    Hi Tocool,

    For support with a ThemeForest theme, it's always best to contact the actual author of that theme. You can do this from the contact form on the author's ThemeForest profile page. In the case of the Nemo theme, the author's profile page is here: http://themeforest.net/user/UmbrellaStudios

    Good luck! :)

  7. tocool
    Member
    Posted 1 year ago #

    Thanks Japh,

    I will send author an email right away.

  8. Japh
    Member
    Posted 1 year ago #

    No problem at all :)

    Support isn't offered here on the WordPress.org Support Forums for commercial themes, so that's the best option.

Topic Closed

This topic has been closed to new replies.

About this Topic