WordPress.org

Forums

[resolved] [Plugin: My Brand Login] Plugin could not be activated because it triggered a fatal error. (7 posts)

  1. Okoth1
    Member
    Posted 5 years ago #

    Parse error: syntax error, unexpected $end in C:\xampp\htdocs\site\wp-content\plugins\my-brand\mybrand.php on line 323

    No other plugins installed

    http://wordpress.org/extend/plugins/my-brand/

  2. krisjay
    Member
    Posted 5 years ago #

    @ Okoth1

    The reason you are getting the syntax error is the use of XAMPP.
    My Brand Login currently won't work on Home installs of WordPress. But don't be discouraged yet, I'm currently working on a version that will work for you.
    Hope that helps for now. I will make a post on my blog when I have a XAMPP version ready.

    Kris...

  3. adanahmad
    Member
    Posted 4 years ago #

    At the end of code... you'll find

    <? }
    /* End My Brand Login Options Page */
    /* End My Brand Login Script */
    /* Copyright (c) 2009-2010 Kris Jonasson */
    /* www.krisjaydesigns.com - www.gdsweb.ca - www.mybrandplugin.com */
     ?>

    just change

    <? }

    with

    <?php }

    It'll fix the problem.

  4. zevia
    Member
    Posted 4 years ago #

    Trying to activate in WP3 and got this error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected $end in /infra/lamp/cust/user34/htdocs/pasdata/wp-content/plugins/my-brand/mybrand.php on line 246

  5. maxemil
    Member
    Posted 4 years ago #

    yea..

    all instances of <? should be replaced by <?php

    if you search and replace, make sure you do "<? " to "<?php "
    so you dont fix the ones that are ok.

    can activate after this fix.

  6. bodjiang
    Member
    Posted 4 years ago #

    Is this fixed, I have same issue to activate the plug-in, i'm running local wordpress with Wamp server.

  7. jaialin
    Member
    Posted 4 years ago #

    Used adanahmad's fix... But now the "My Brand" page comes up blank.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags