Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

Error : Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')'*

ruewarruewar New
edited April 2013 in Vanilla 2.0 - 2.8

i keep getting this message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/a2432136/public_html/library/core/class.pluginmanager.php(766) : eval()'d code on line 4

what should i do for it?

Comments

  • fix the syntax error in the code you were trying to modify.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • i wasnt modify anything, it comes right after i install some add ons

  • peregrineperegrine MVP
    edited April 2013

    disable the add-ons one by one by removing them from your conf/config.php

    you will see in config.php

    // EnabledPlugins
    $Configuration['EnabledPlugins'] ....
    $Configuration['EnabledPlugins'] ....

    ...

    start from the bottom of the list of EnabledPlugins and remove one line at a time until you find the culprit.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • will try it thanks for ur help

  • @ruewar said:
    i keep getting this message:
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/a2432136/public_html/library/core/class.pluginmanager.php(766) : eval()'d code on line 4

    what should i do for it?

    Even though it says class.pluginmanager.php, the line that this refers to is line 4 of the plugin default.php you were trying to enable.

    It likely means there is a parenthesis missing on that line or there is an extra comma. in the plugin you were trying to enable.

    It looks like it is in the very beginning where the info about the plugin is. If you could tell us which plugin it is then the author can be alerted and it can be fixed for everyone else.

  • peregrineperegrine MVP
    edited April 2013

    I can tell you which plugin will cause exactly the same error - even without enabling it.

    I mentioned this before - no responsive result.

    The plugin should be removed by @Todd, since the author never responded, and has been defective from the get-go, and is a non-functioning clone.

    It will cause numerous newbies a difficult problem to to decipher. (say that fast 10x in a row).

    http://vanillaforums.org/addon/liker-plugin

    want to get the same error - download it and put it in your plugins directory. :)

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • ToddTodd Vanilla Staff
    via Email
    I deleted the plugin.


    On Tue, Apr 16, 2013 at 9:26 PM, peregrine
Sign In or Register to comment.