We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1257
    • 2 Posts
    Hi, everyone

    I have a problem with Doc Manager. Attempting to open Modules-->Doc Manager i get error message:Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in C:\xampp\htdocs\modx\manager\processors\execute_module.processor.php(114) : eval()’d code on line 4

    I’m new to modx. I’d be glad to know how to fix it (in details if possible)
    I have XAMPP installed(Apache/2.2.14 , PHP 5.3.1 & MySQL 5.1.41 )

    Thank you
      • 4310
      • 2,310 Posts
      There seems to be quite a few blank lines/white space at the start of the module code.
      Maybe PHP 5.3 is choking on it, might be worth removing it.
      Seems okay on PHP 5.2.6
        • 1257
        • 2 Posts
        Thanks a lot!
        I had a problem with ’magic_quotes’ few days ago and probably saved once the doc manager module which action gave me extra slashes in the names of the variables.
        That blank spaces in doc manager module code dont affect its work.
        So, i just deleted extra slashes inside of the code and now everything worx fine)
        Best regards and thanks for a quick answer
          • 4310
          • 2,310 Posts
          Glad you found the problem smiley