Ampersand woes 2

Discussion in 'Keyword Tracker' started by wizardofx, Oct 29, 2005.

  1. #1
    :confused:

    I posted this last year, the problem was fixed, and
    now it is back

    I have a keyword with an ampersand imbedded in it,
    g&g .

    I get parsing errors when I run it through Keyword Tracker.

    In other words the keyword g&g in google returns the error:

    The request returned the following error:
    parsing error: org.xml.sax.SAXParseException: The reference to entity "g" must end with the ';' delimiter.

    Any ideas?

    Best regards
    wiz
     
    wizardofx, Oct 29, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Is g&g the full keyword being tracked?
     
    digitalpoint, Oct 30, 2005 IP
  3. wizardofx

    wizardofx Well-Known Member

    Messages:
    572
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Just g&g has the problem, yes.
     
    wizardofx, Nov 3, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Hmmm... it worked for me.. I just added keyword g&g with the URL being ggelectronics.com, and it correctly is tracking it at #1.

    I'm assuming you are using the advanced usage script? If so, what version of PHP are you running on your server that you host it on?
     
    digitalpoint, Nov 3, 2005 IP
  5. webdesign2005

    webdesign2005 Guest

    Messages:
    26
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Have you tried to replace "&" with "&".
     
    webdesign2005, Nov 3, 2005 IP
  6. wizardofx

    wizardofx Well-Known Member

    Messages:
    572
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    140
    #6
    The PHP version is PHP 4.3.11

    The crazy thing is that I have been tracking this for years
    and it just suddenly stopped working. As I mentioned
    above I had trouble last year, and then for a year
    it has been fine, now it stopped working.

    Best regards
    wiz
     
    wizardofx, Nov 4, 2005 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Can you check your phpinfo() on the server? Maybe it was recompiled recently with a different XML parser?
     
    digitalpoint, Nov 4, 2005 IP
  8. wizardofx

    wizardofx Well-Known Member

    Messages:
    572
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    140
    #8
    Sorry, too ignorant to know what you mean. Can you explain
    to a simple physicist how to do this?
     
    wizardofx, Nov 5, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    Run a PHP script with nothing but:
    <?php
    phpinfo();
    ?>
    PHP:
    It will spew out all sorts of info about your PHP setup, including Build Date
     
    digitalpoint, Nov 6, 2005 IP