Help? Ads Not Appearing

Discussion in 'Co-op Advertising Network' started by joewood, Mar 17, 2005.

  1. #1
    I've run into this several times, but none of my past fixes worked. I've followed instructions, but no network ads are appearing on:

    http://americanairambulance.com/

    The code is at the vey bottom of the page. I have a writable text file, php docs on my server, etc. All according to instructions.

    The control is through Plesk.

    Thanks in advance for any help.
     
    joewood, Mar 17, 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
    Your site isn't evaluating the PHP code (you can see it in the source).
     
    digitalpoint, Mar 17, 2005 IP
  3. joewood

    joewood Peon

    Messages:
    100
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But the server says it automatically views php.

    Also under the root directory and in the /httpdocs/ file there was already a .htaccess file with the text below in it. I added

    AddHandler application/x-httpd-php .php .htm .html

    to the top line. Is this correct Shawn?

    (I also tried AddTyps application/x-httpd-php .php .htm .html)




    "# -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName americanairambulance.com
    AuthUserFile /usr/local/psa/home/vhosts/americanairambulance.com/httpdocs/_vti_pvt/service.pwd
    AuthGroupFile /usr/local/psa/home/vhosts/americanairambulance.com/httpdocs/_vti_pvt/service.grp"
     
    joewood, Mar 17, 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
    Then I would say your server is incorrect if it's telling you that it's parsing the PHP, because it's definitely not since you can see it in the source.
     
    digitalpoint, Mar 17, 2005 IP
  5. joewood

    joewood Peon

    Messages:
    100
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    PS - I got a PM that the "AddHandler" helped someone else as opposed to the AddType in:

    AddHandler application/x-httpd-php .php .htm .html
     
    joewood, Mar 17, 2005 IP
  6. joewood

    joewood Peon

    Messages:
    100
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Where should I place the

    AddHandler application/x-httpd-php .php .htm .html

    command since there are already commands in the .htaccess file?
     
    joewood, Mar 17, 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
    You wouldn't need it since your server is already setup for PHP.
     
    digitalpoint, Mar 17, 2005 IP