1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Advanced usage script URL is not valid

Discussion in 'Keyword Tracker' started by weboutloud, Nov 13, 2005.

  1. #1
    I've checked back through previous posts and can't find a solution for why I can't get this to run.

    The script is located at:

    http://www.weboutloud.com/track.php

    When I run the script in a browser I get the following:

    a:1:{s:7:"results";s:4:"9999";}

    The hosting company says they're running PHP 4.3.10

    When I add the URL in my preferences I get the "not valid" error.

    Am I doing something wrong?

    Thanks
    Tim
     
    weboutloud, Nov 13, 2005 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    which 'script' exactly are you using?
     
    fsmedia, Nov 13, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    Did you change (at ALL) the PHP script?
     
    digitalpoint, Nov 13, 2005 IP
  4. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #4
    fsmedia: I'm using the script that's available at:

    http://www.digitalpoint.com/tools/keywords/advanced_script.html

    Shawn: Didn't change a thing. Copied the script, pasted into Notepad, saved as track.php, ftp (from a DOS window) to site, using ASCII mode.

    Tim
     
    weboutloud, Nov 14, 2005 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #5
    Your PHP version is *really* old (4.0.6)... Try adding this line of code after the error_reporting() line...
    if (!isset($_REQUEST)) $_REQUEST = $HTTP_GET_VARS;
    PHP:
     
    digitalpoint, Nov 14, 2005 IP
  6. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #6
    Shawn,

    Added that line of code but still no luck. According to the hosting company they were starting a 30-day migration to PHP 4.4.0 in September. My calendar shows that 30 days have elapsed since September ended, but who knows. I've emailed them to check the status on the migration for my domain. My login page claims that my account has been upgraded but apparently you see me still running the old PHP.

    Tim
     
    weboutloud, Nov 15, 2005 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Yeah... I would bug them about upgrading it (because they have not). :)
     
    digitalpoint, Nov 15, 2005 IP
  8. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #8
    Here's the message I got back from support:

    Apparently, we are upgrading our version of PHP in stages. Right now, any PHP files that are written for a higher version of PHP have to end in the file extensions .phpn. (I realize that sounds very strange but this is to give the customers that we have with scripting that uses lower versions of php some time to upgrade their scripts because a lot of php functions are not backwards-compatible).

    We were anticipating the final upgrade to PHP a month from the last customer's upgrade time, which was on October 15. However, because of pushbacks that were necessary due to problems after Hurricane Wilma, this may end up being at the end of the month. Until that time, the way to work around the issue with the differing versions of PHP is to name your php files .phpn.

    I took my track.php and renamed to track.phpn but that didn't work either, although when I ran track.phpn in a browser I got back the a:1:{s:7:"results";s:4:"9999";} response.

    Should I just wait until they've fully upgraded at the end of the month?

    Tim
     
    weboutloud, Nov 16, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    Try adding phpinfo(); to the end (before the closing PHP tag) of the phpn script. That will spew out all sorts of info about the PHP version being used. Is it really an upgraded version?
     
    digitalpoint, Nov 16, 2005 IP
  10. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #10
    Shawn,

    I added that line and it shows PHP 4.3.10

    The file is at:

    http://www.weboutloud.com/track.phpn

    if you want to see all the info and let me know if you see anything weird there.

    thanks
     
    weboutloud, Nov 16, 2005 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    Okay... looks like it's *almost* okay... remove the phpinfo(); line. Make sure you don't have any trailing (maybe hidden?) characters before or after the PHP tags. It's getting 3 extra (unexpected) characters from your end for some reason.
     
    digitalpoint, Nov 16, 2005 IP
  12. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #12
    Success!!! Using the .phpn script.

    I don't know where those three extra characters came from. They weren't there when I opened it in Notepad, but when I opened a DOS window and ran edit.exe there they were right before the first php tag. Took those out and it runs fine.

    Next question: I've already set up some keywords and backlinks with Google. Is there a way to now add Yahoo and MSN to those or do I need to set up separate entries for those?

    Shawn--thanks so much for all your help in helping me get this set up. It's a fabulous tool.

    Tim
     
    weboutloud, Nov 16, 2005 IP
  13. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #13
    You would need to add them separately for the different search engines.
     
    digitalpoint, Nov 16, 2005 IP
  14. weboutloud

    weboutloud Active Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #14
    Okay, no sweat. After the other issue that's a piece of cake.

    Thanks again.

    Tim
     
    weboutloud, Nov 16, 2005 IP