Can anyone help me set up this coop in exchange for weight?

Discussion in 'Co-op Advertising Network' started by jyoti2005, Jun 23, 2005.

  1. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    I got the .htaccess file up into my /var/www/html folder, and checked the site.

    It looks fine, nothing is missing off the site.

    I have another file there named ad_network_265.php.txt
    Am I supposed to take off the .txt at the end?
     
    jyoti2005, Jun 23, 2005 IP
  2. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    oh I just noticed that when I try to rename the .htaccess.txt to .htaccess - it keeps renamin it to .htaccess.txt

    What should I do?
     
    jyoti2005, Jun 23, 2005 IP
  3. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    ok, lol, got confused for a sec - it is named .htaccess, but it is still a .txt file.

    Is this correct?
     
    jyoti2005, Jun 23, 2005 IP
  4. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #24
    yes, that's correct

    the other files should be named:

    ad_network_265.php
    ad_network_ads_265.txt
     
    minstrel, Jun 23, 2005 IP
  5. chachi

    chachi The other Jason

    Messages:
    1,600
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Sorry, I was not on here last night. I have the parents, meet the parents starting today and for the rest of the weekend. Hopefully, someone else can step in here and help you get this set up.

    As Minstrel said, the .htaccess file and the ad_network_265.php cannont have the .txt you mentioned after them. If they do, they will have to be renamed (may be easier to do this via your ftp software on the web server as your desktop computer software may be adding those on there for you).

    Let's also make a file called test.html . You can create this with a text editor (Notepad if you are using windows). Place the following inside the file:


    <?php echo "Hello World"; ?>

    Then upload it to your webserver and see if you can load the page via your web browser. You should see this message when you open your page. If you do not, then either your .htaccess file is not working properly (probably due to the .txt extension as there was some rewrite info in the one you posted) or we cannot enable php in an .htaccess file on your server.

    Have to shower and go pick up my parents at the airport. :) Good luck.
     
    chachi, Jun 24, 2005 IP
  6. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #26
    When I put in the .htaccess text file with: AddType application/x-httpd-php .php .htm .html in the top of the file, my website worked fine. Then I went to check it again in the morning and my site had disappeared. I got an error message:

    "Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    Apache Server at www.cyberspace-services.com Port 80"
     
    jyoti2005, Jun 25, 2005 IP
  7. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #27
    So - I ended up taking out: AddType application/x-httpd-php .php .htm .html

    and my website worked immediately as normal.

    What does this mean?
     
    jyoti2005, Jun 25, 2005 IP
  8. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #28
    I made a file called test.html . I Placed the following inside the file:


    <?php echo "Hello World"; ?>

    Then I uploaded it to the server, same place where I drop all other htm files, and tested it, but it was blank.
    http://www.cyberspace-services.com/test.html
     
    jyoti2005, Jun 25, 2005 IP
  9. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #29
    jyoti2005, Jun 25, 2005 IP
  10. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #30
    This one is named incorrectly: ad_network_265.php.txt

    Should be: ad_network_265.php

    But the post above that makes me wonder if PHP is supported on your server -- suggest you check with your host.
     
    minstrel, Jun 25, 2005 IP
  11. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #31
    I see that it does perl and cgi, mysql

    I don't see any php there
     
    jyoti2005, Jun 25, 2005 IP
  12. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #32
    Upload this to your server, if it runs, you have php.
     

    Attached Files:

    noppid, Jun 25, 2005 IP
  13. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #33
    When I save this notepad file by naming it ad_network_265.php, it still saves it as a text document.

    There are two ways I can save it but it still results in a text document:
    text document, and all files
     
    jyoti2005, Jun 25, 2005 IP
  14. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #34
    Upload what to my server, noppid?
     
    jyoti2005, Jun 25, 2005 IP
  15. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #35
    oh, sorry, lol - i didn't see that
     
    jyoti2005, Jun 25, 2005 IP
  16. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #36
    Oki doki...

    Download the attached php file and then upload it to your site. Then in your browser put www.your-site-where-the-file-is.com/phpinfo.php

    If you see the php info, you need help cause you aint getting nowhere. :)
     
    noppid, Jun 25, 2005 IP
  17. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #37
    jyoti2005, Jun 25, 2005 IP
  18. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #38
    noppid, Jun 25, 2005 IP
  19. jyoti2005

    jyoti2005 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #39
    Lol - what's the next step.............:)
     
    jyoti2005, Jun 25, 2005 IP
  20. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #40
    Get the php and text file on your site and show me the link and name to them. Make sure the text file attributes are 666 for that txt file. So you will have ad_network_xxx.php and ad_network_ads_xxx.txt URLs to show me.

    Also post your current .htaccess from your root folder and the URL to the first file you want the ad network to appear on.
     
    noppid, Jun 25, 2005 IP