MAMP - Strange "Hebrew errors" and messages

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

  1. ruffy macrumors member

    Joined:
    Jan 10, 2008
    #1
    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

    displaced

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

    Joined:
    Feb 11, 2008
    Location:
    Newtown, Wales
    #3
    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:

    http://uk2.php.net/manual/en/keyword.paamayim-nekudotayim.php
     

Share This Page