Forums

[resolved] Parse error: syntax error in functions.php (3 posts)

  1. cjmox
    Member
    Posted 1 year ago #

    So I downloaded a theme from ThemeForest, and installed it on one server hosted by GoDaddy. I tried to install it on my server hosted by A Small Orange, and when I preview/activate the theme it says:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/cjmox/public_html/wordpress/wp-content/themes/SQUARED3/functions.php on line 233

    I am running PHP 5.2.13 on a Linux OS server, and have talked with the theme creator. He has no idea why it's messed up.

    Here's what I've tried:
    -Re-downloading the theme
    -Deleting and uploading the functions.php file again

    I'm wondering if I've done something wrong with my WP install, but other themes seem to be working. I've gotten the client to pay for this theme, which is why I'm trying so hard to get it working. The theme works fine on the GoDaddy server.

    I need a genius to look at this please.

  2. cjmox
    Member
    Posted 1 year ago #

    The website that is having the issue is doodlepedia.com/wordpress

  3. cjmox
    Member
    Posted 1 year ago #

    Nevermind, for some reason my cPanel was displaying that I was running PHP 5.2.13 when in actuality it was set to the default PHP 4. Lame. I'll leave this up as a warning to others: contact your server host and ask silly questions, don't assume anything!

Topic Closed

This topic has been closed to new replies.

About this Topic