Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author ram108

    (@ram108)

    Hi! This is very strange error. Try to delete plugin and install new updated version 0.4.7 from WordPress.

    Thread Starter dizzybee0208

    (@dizzybee0208)

    ?? I installed the new version, but it is still giving the same error. If I comment out the code in the function concerning the error, the plugin activates, but doesn’t work as it won’t show any images just empty boxes. Do I have to install some jquery thing in WordPress to get it to work? I am new to WordPress as I usually use Drupal. Thanks again for any help.

    Plugin Author ram108

    (@ram108)

    I don’t have enough information to understand what error you have.

    Try to remove the function in the code and replace with this:
    public function _activate_ram108_fblink(){}

    Thread Starter dizzybee0208

    (@dizzybee0208)

    I think I have worked some of my issues out. After removing the code from the above function, I was able to activate the plugin. Then when it ran, it would not display the images – only placeholders. This is because your code is using shortcut syntax for the echo command as <?=[variable]>?. I obviously do not have short_open_tag enabled on my server. I changed the relevant code to <?php echo [variable] ?> and it works fine now.

    However, I am still unsure what the problem is is the code within _activate_ram108_fblink to prevent me to activate the plugin with this there. I will keep playing around and if I find a solution will let you know.

    Thanks again for your prompt help and your useful plugin.

    Cheers,

    Renae.

    Plugin Author ram108

    (@ram108)

    This function is not so important, but plugin have many other important functions using short_open_tag (settings page & other).

    You have to replace all <?= to <?php echo

    I’ll fix this issue in next release.

    Plugin Author ram108

    (@ram108)

    Renae, thanks for the issue. Fixed with 0.4.8 update.

    Thread Starter dizzybee0208

    (@dizzybee0208)

    Brilliant. Thanks for that. Both my issues were fixed with this update. Great work!

    I get the same error with version 0.4.8.1.
    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘}’ in E:\HostingSpaces\Voermans\rv-weert.nl\wwwroot\wp-content\plugins\ram108-fbalbum\includes\functions.php on line 39

    Plugin Author ram108

    (@ram108)

    In last case the problem was with short_open_tag switched off in php.ini configuration. Short open tag was striped in version 0.4.8

    I can’t tell you what is your problem. But try to replace all function on line 39 with this code:

    public function _activate_ram108_fblink(){
    }

    This will probably help also:
    https://www.google.com/search?q=how+to+enable+short_open_tag

    The 0.2.1 version works great for me, where can i download him? I tried to to the things, but nothing works.

    Plugin Author ram108

    (@ram108)

    paulvoermans – I just had this problem and found
    <? endif; ?>
    at line 37 in functions.php

    changed it to
    <?php endif; ?>

    and plugin has activated ??

    Thank you, FreestyleMD. The plugin is now activated but i get the message:

    The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Plugin Author ram108

    (@ram108)

    paulvoermans – I just had this problem and found
    <? endif; ?>
    at line 37 in functions.php

    O, yes! Good catch! :)))) Will be fixed in next release.

    Plugin Author ram108

    (@ram108)

    paulvoermans, if you still have this problem, delete the plugin and download it again from WordPress. I fixed version 0.4.9 without new release.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Unable to activate’ is closed to new replies.