We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22935
    • 23 Posts
    Hey, I get this error when I click "manage pictures" anyone have a solution?

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\modx-1.0.2\assets\snippets\maxigallery\maxigallery.class.inc.php on line 263


    This is the line:
    	include_once($modx->config['base_path'].MAXIGALLERY_PATH.'dropshadow/class.dropshadow.php');


    Thanks
      • 22935
      • 23 Posts
      Never-mind, I solved the problem. I had previously fixed the "function split() is deprecated" problem on line 242 and had accidentally deleted one of the " ’ " around the x. When I fixed it everything went back to normal.
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        Good. Just as a debugging note, often the deletion of a single quotation or bracket " or { or ’ will trigger errors that are MILES away from where the problem is. Remember: with PHP, save and test OFTEN, and remember what you just changed.