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.

PHP errors

Discussion in 'Co-op Advertising Network' started by Raithe, Mar 16, 2007.

Thread Status:
Not open for further replies.
  1. #1
    www.websiteredirect.com


    Notice: Undefined variable: string in /home/httpd/vhosts/websiteredirect.com/httpdocs/ad_network_197.php on line 10

    Notice: Undefined index: PATH_INFO in /home/httpd/vhosts/websiteredirect.com/httpdocs/ad_network_197.php on line 78

    Notice: Undefined index: PATH_INFO in /home/httpd/vhosts/websiteredirect.com/httpdocs/ad_network_197.php on line 78

    Notice: Undefined index: PATH_INFO in /home/httpd/vhosts/websiteredirect.com/httpdocs/ad_network_197.php on line 78

    Notice: Undefined index: HTTPS in /home/httpd/vhosts/websiteredirect.com/httpdocs/ad_network_197.php on line 97


    Any idea how to fix these? I copied everything exactly from the ad setup page.
     
    Raithe, Mar 16, 2007 IP
  2. pixads

    pixads Well-Known Member

    Messages:
    2,015
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    145
    #2
    just turn off warnings reporting in your php configuration and you should be fine
     
    pixads, Mar 17, 2007 IP
  3. Raithe

    Raithe Well-Known Member

    Messages:
    1,923
    Likes Received:
    177
    Best Answers:
    0
    Trophy Points:
    175
    #3
    How would I do that if its currently on shared hosting? Don't I need root access to edit php.ini ?
     
    Raithe, Mar 17, 2007 IP
  4. pixads

    pixads Well-Known Member

    Messages:
    2,015
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    145
    #4
    ask your hosting provider if you can customize the php config a little bit for your account
    mine allows it
     
    pixads, Mar 17, 2007 IP
  5. Raithe

    Raithe Well-Known Member

    Messages:
    1,923
    Likes Received:
    177
    Best Answers:
    0
    Trophy Points:
    175
    #5
    I can't. Any other solution?
     
    Raithe, Mar 18, 2007 IP
  6. miskandar06

    miskandar06 Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Have you changed mode to 666 for your ad_network_ads_197.txt file?
    Please check this txt file first.
     
    miskandar06, Mar 20, 2007 IP
  7. Yfcadmin

    Yfcadmin Notable Member

    Messages:
    2,616
    Likes Received:
    331
    Best Answers:
    0
    Trophy Points:
    230
    #7
    Yfcadmin, Mar 25, 2007 IP
  8. meamrussian

    meamrussian Active Member

    Messages:
    780
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Hey,

    I'm having the exact same problem.

    Notice: Undefined index: PATH_INFO in /home/faker/public_html/ad_network_217.php on line 78

    Notice: Undefined index: PATH_INFO in /home/faker/public_html/ad_network_217.php on line 78

    Notice: Undefined index: PATH_INFO in /home/faker/public_html/ad_network_217.php on line 78

    Notice: Undefined index: PATH_INFO in /home/faker/public_html/ad_network_217.php on line 78

    Notice: Undefined index: PATH_INFO in /home/faker/public_html/ad_network_217.php on line 78

    Notice: Undefined index: HTTPS in /home/faker/public_html/ad_network_217.php on line 97

    Can someone please PM me or tell me how to fix this. If using php.ini, what do I put in there? I already put 666 CHMOD on the text file.

    Thanks.

    EDIT: Well, I managed to fix all of them except the last HTTPS one by placing the "@" sign before. I can't do that for HTTPS or else I get a fatal message. Is it safe just to take out the && !$_SERVER['HTTPS'] that's causing the problem?
     
    meamrussian, Apr 5, 2007 IP
Thread Status:
Not open for further replies.