MAMP - Strange "Hebrew errors" and messages

Discussion in 'Web Design and Development' started by ruffy, Feb 10, 2008.

  1. ruffy macrumors member

    Jan 10, 2008
    I use MAMP on Tiger.

    I code in PHP and Mysql and have run into strange syntax obstacles.
    But this error message provides for me a clue as to what might be wrong:
    The error read:

    "Parse error: syntax error, unexpected T_VARIABLE, expecting T_PAAMAYIM_NEKUDOTAYIM in /Applications/MAMP/htdocs/phpQuery_testing/index.php on line 25"

    Now, being that I recognize Hebrew, I note that that long underscored word is an English transliteration of :"two colons".

    Now how in the world did I get some Hebrew configuration into my MAMP setup of PHP & Mysql? Where can I begin to figure this out so I can go ahead with normal coding?
  2. displaced macrumors 65816


    Jun 23, 2003
    Gravesend, United Kingdom
  3. morristhebear macrumors newbie

    Feb 11, 2008
    Newtown, Wales
    The Paamayim Nekudotayim is the scope resolution operator. Your probably using classes and are trying to access a method or variable. If you're using a class and trying to access a variable or method from within it, try replacing the class name with $this -> instead of CLASS :: .

    The best thing to read on this subject is the PHP documentation:

Share This Page