Parse error: parse error, unexpected T_STRING in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dinodino
    New Member
    • Feb 2007
    • 1
    • 3.6.x

    Parse error: parse error, unexpected T_STRING in

    I moved my database to new hosting but i get this problem

    Parse error: parse error, unexpected T_STRING in /var/www/web0/html/includes/config.php on line 137


    line137
    PHP Code:
    // $config['Datastore']['class'] = 'vB_Datastore_Filecache'; 
  • DelphiVillage
    Senior Member
    • Apr 2002
    • 1051
    • 4.1.x

    #2
    hi,

    That cannot be the cause of the problem it's commented code and commented code is ignored by the PHP parser.You need to look at the line number the error message tells you or in the lines of code above that number

    parse errors is 99% sure the result of either modified code or bad file uploads ...

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎