• Hi.
    I just recently started using a different theme and tried removing the ‘Powered by WordPress and developed by codium’ tag. I have an intermediate level of understanding of how WordPress works, so I checked footer.php and then realized the developer had put a function in the function.php to spit it out.
    So I went in and commented out everything between the footer_link() braces…

    Then all hell broke loose.
    Since I’ve done that, I continuously get…

    Parse error: syntax error, unexpected '*' in /home/content/57/10281657/html/------/wp-content/themes/codium-extend/functions.php on line 281

    So I went back and repasted in the previous function.php.
    Doesn’t work. Still getting that error.
    So then I went in and just stripped out EVERYTHING except a basic <?php /* */ ?>
    Doesn’t work. Still throwing that error.
    WHY – PLEASE TELL ME WHY – WordPress is refusing to overwrite this function.php page. I can’t even remove the theme to reinstall it, because it’s throwing that error.
    I cannot, for the life of me figure out why I cant simply drop a php code shell that’s empty into the function page. This strikes me as ridiculous.
    Why is it finding a syntax error on line 281 – which looks like this….
    $textfooter = __('Proudly powered by <a href="http://www.wordpress.org">Wordpress</a> and designed by ', 'codium_extend' );
    There’s no “*” there. And I’ve thoroughly searched through the rest of function.php and found no extra “*’s” lying around. It’s ridiculous to me that I can’t overwrite this function.php and simply repaste in the original.
    Would greatly appreciate some help and advice on this. It’s inconceivable that WordPress should fail (and leave me unable to do *anything*) at this level. WHy can’t I simply drop in a different function.php. I know I’ll get errors, but the point is that I should be able to do something to rectify this error.
    I am well and truly stuck. Can’t uninstall the theme, can’t overwrite the php.
    Can’t do anything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ranXoX

    (@ranxox)

    THIS MAKES NO SENSE.
    Sigh.
    I finally overwrote the function.php by uploading the original from the developers site.
    I could access the admin panel and the site came back (it’s viewable) , but (and this a big but)… every single time I try to access the Editor under Appearance – it throws the SAME ERROR!

    Parse error: syntax error, unexpected '*' in /home/content/57/10281657/html/authoracle/wp-content/themes/codium-extend/functions.php on line 281

    In other words, even though I’ve restored the original function.php, WordPress is still generating an error THAT DOES NOT EXIST.
    I’ve cleared my cache, restarted my browser, etc etc etc. Nothing works. Whenever I try and edit the CSS file now (or even try and use the Editor under Appearance, I get that error.

    Did you replace that file via FTP or Cpanel? Try that.

    Thread Starter ranXoX

    (@ranxox)

    Yep – did it via FTP. And as I say, the site’s up and I can access the admin panel, but I can’t access the Appearance Editor – meaning I can’t change the CSS, the templates, nothing. My only option appears to be uploading the entire theme via FTP and starting from scratch.
    *Very* annoying.
    Thanks for the suggestion, though.

    My only option appears to be uploading the entire theme via FTP and starting from scratch.

    Theme settings and options are saved in the database so reinstalling the theme should not mean starting over.

    If you’ve modified theme files, yes, those would be lost, but you should be using a child theme to do that kind of customization

    http://codex.wordpress.org/Child_Themes

    Try deactivating your plugins and switching to another theme – see if things work there.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Endless Grief Removing Theme Developers Tag’ is closed to new replies.