We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    I’m getting this error when I load my page

    Parse error: parse error, unexpected T_STRING, expecting ']' in C:\wamp\www\acwa\manager\includes\document.parser.class.inc.php(769) : eval()'d code on line 32


    Obviously I’ve written something wring somewhere, but can anyone tell me where to look?

    Thanks

    Update

    OK, solved it myself. It didn’t like my naming system.

    Now, can someone point me in the direction of "Proper db naming conventions for dummies"?
      Content Creator and Copywriter
      • 22848
      • 5 Posts
      Yes - I also having a same problem. I can’t test in wamp. Why???? huh huh huh
        • 6726
        • 7,075 Posts
        When you self-solve your problem, it’s nice to post how you did it to help others smiley
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 18367
          • 834 Posts
          Yeh,

          David, I think Paul may have a different problem. I resolved my error a while ago.

          In my case I had a whole load of names in upper and lower case, so there was bound to be some mismatch somewhere along the line.

          I simply changed all my names to lowercase, and have adopted that as a "rule" from now on. (Actually, I’ve had that rule for years, but I keep forgetting about it.)

          But as I understand it parse errors can be caused by many things, but basically it’s something being not quite properly written or assigned somewhere.

          In my case it was a case of poring over the code until I saw something that looked off. Not being a coder, even when I get things right, I’m still at a loss to know exactly what I did.

          That may not be much help to Paul, but I’ll try and pay more attention next time.

          smiley


            Content Creator and Copywriter