Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

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

  • Options

    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.

  • Options

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

  • Options
    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.

  • Options

    will try it thanks for ur help

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    @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.

  • Options
    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.

  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    via Email
    I deleted the plugin.


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