Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wp.insider

    (@wpinsider-1)

    Can you please post a link to your login page so we can inspect it?

    Have you made any modification to the plugin code?

    Thread Starter clearontech

    (@clearontech)

    Sorry that would have been helpful: https://wiki.clearontech.com/membership-login/

    @clearontech,
    the reason you see this is because php short-open tag syntax(https://php.net/manual/en/ini.core.php#ini.short-open-tag) is turned off in your site. the setting is turned on by default in php version 5.4+

    we use php short-open tag because given cleaner code. So basically, you will see something like this (this is short-open tag):
    <?=
    which is equivalent to:
    <?php echo

    option 1:
    you can ask your host to turn this on

    option 2:
    you can replace <?= with <?php echo.

    so far we haven’t heard any complain on short-open tag before this. thats why we have decide to remove this from our code and release another version.

    Thread Starter clearontech

    (@clearontech)

    @amijanina

    I had not modified the php, below is what it looked like. I turned the short_open_tag=On and restarted Apache and it works now. Thanks for pointing me in the right direction.

    ; This directive determines whether or not PHP will recognize code between
    ; <? and ?> tags as PHP source which should be processed as such. It’s been
    ; recommended for several years that you not use the short tag “short cut” and
    ; instead to use the full <?php and ?> tag combination. With the wide spread use
    ; of XML and use of these tags by other languages, the server can become easily
    ; confused and end up parsing the wrong code in the wrong context. But because
    ; this short cut has been a feature for such a long time, it’s currently still
    ; supported for backwards compatibility, but we recommend you don’t use them.
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off
    ; https://php.net/short-open-tag
    short_open_tag = Off

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘code displayed instead of button text’ is closed to new replies.