USA Property - Debt Consolidation - Electronics - Kamala - Health 2007

PDA

View Full Version : Another Goob who can't get the tool to work


randfish
Dec 9th 2004, 11:18 am
I believe I have done all of the steps properly

Site Details:
avatarfinancial.com
PHP based site

1. Have the code on the bottom of each page on the site
2. Have the .htaccess file with the "AddType application/x-httpd-php .php .htm .html"
3. Have permission to write to ad_networks.txt - appears to be empty...
4. Have ad_network.php with the req'd code...

Not sure why I can't validate - thanks for your help!

digitalpoint
Dec 9th 2004, 11:24 am
Well, the ad_network_ads.txt file isn't being written to... Maybe there is an error and the server is suppressing them. Try adding this:
error_reporting(E_ALL);
and see if anything happens.

randfish
Dec 9th 2004, 11:26 am
Sorry Shawn - which file should I add that to and where?

Thanks

digitalpoint
Dec 9th 2004, 11:29 am
You could add it to the beginning of your ad_network.php file if you want.

randfish
Dec 9th 2004, 11:32 am
OK - added it to the top of ad_network.php, still not seeing anything.

I checked the permissions on the txt file and they are 777...

digitalpoint
Dec 9th 2004, 11:39 am
At the end of the ad_network.php file, add this:
echo ad_network[0];

Then call the ad_network.php file directly (in a browser) and see if anything at all prints.

randfish
Dec 9th 2004, 11:43 am
Nope, nothing prints at all - avatarfinancial.com/ad_network.php

digitalpoint
Dec 9th 2004, 11:46 am
Well shoot, I don't know to be honest... almost like it simply can't get an ad from the ad server. I checked to make sure there is connectivity between your server and the ad server, and it's fine. I'm not really sure at this point.

randfish
Dec 9th 2004, 11:49 am
DOh! That blows - I'll ask someone who's more familiar with PHP and our server to take a look - maybe he can find something... Do you have any ideas or suggestions about where to start looking?

flawebworks
Dec 9th 2004, 11:51 am
For giggles; try removing the "AddType application/x-httpd-php .php .htm .html" from your htaccess file. If the site is already php based; you shouldn't need it.

mopacfan
Dec 9th 2004, 11:53 am
Shoulda been using ASP........

Sorry, had to throw that in there :)

randfish
Dec 9th 2004, 12:09 pm
Ok, changed .htaccess back- but still nothing. I appreciate your help - is it possible my host could be blocking ads.digitalpoint.com from serving pages/info?

digitalpoint
Dec 9th 2004, 12:13 pm
You could test it... see if this script works on your server...
<?php
readfile('http://ads.digitalpoint.com/network.php');
?>

If it doesn't produce anything, change the URL to something else... like www.microsoft.com and see if it shows anything.

randfish
Dec 9th 2004, 12:18 pm
Nothing shows for either of those... Microsoft or digitalpoint - very strange.

digitalpoint
Dec 9th 2004, 12:19 pm
Looks like they are just blocking URLs for fopen(), but not returning an error saying so (normally it will tell you that's the case).

randfish
Dec 9th 2004, 12:38 pm
Do you think I can get them to change it... It's Aplus webhosting - aplus.net

digitalpoint
Dec 9th 2004, 12:41 pm
Wouldn't hurt to ask I guess...

randfish
Dec 9th 2004, 12:46 pm
OK, they say they'll do it - they do actively block these things and supress error reporting (great :()

They need the IP address (which I assume is the IP of digitalpoint.com - 216.9.35.56) and the port - which must be 8080 since it's web. Hopefully this can help other users in the future who may have this issue.

digitalpoint
Dec 9th 2004, 12:48 pm
The ad server's IP is 216.9.35.57 on port 80 (80 is the normal web port).

randfish
Dec 10th 2004, 10:38 am
According to my webhost, they opened Port 80 for the IP address 216.9.35.57 but still no dice... I'm really lost here.

I was able to get some information from the IP - take a look at avatarfinancial.com/index2.php - it's pulling something (gobbledy gook) with the code <?php readfile('http://216.9.35.57'); ?>It's the stuff right after the first paragraph...

BTW Made a donation yesterday - I just don't feel right getting this service for free :)

randfish
Dec 11th 2004, 2:01 am
.‰PNG  IHDRX#Ô:©HPLTEfffÿÿÿ—™›ÈÈÈ222–––&&&ÉÉÉ»»»KKK¯¯¯ eee¢¢¢qqq}}}‰‰‰¼¼¼dddppp———£££ÿÿÿ3|TNÞIDATxœµ”ëƒ …ël¼nóýßt¸‰“ýèIjñãP¡T­`P€ÇFìT'ö¤°·š”ƶ´n гoCÎåC{Dz!–<¯k¨Hdð–ˇ Üt†À4ÙË/¸ƒ£ÕÌplq+0\Ú»Rlof`€Œ™c;ÌÆ™÷ãÄøa×mïebŸ¨Qâ|é—Áì<%ž*–v°.uÅáœÜ!§ç1Å}ÜkE¾À=´¤óý|çÕ)Wä–ÏQRnÆ?¹·ªEÿnµ„XHë7YîDIEND®B`‚
That's what it's currently pulling from the php code from ads.digitalpoint.com - any help is much appreciated.

digitalpoint
Dec 11th 2004, 6:10 pm
You can't do it by IP address, has to be by host name.

randfish
Dec 20th 2004, 3:24 pm
My host refused to do it by hostname - aplus.net

I guess I'm looking for a new host (although I've moved twice already this year!).

jvmills
Dec 20th 2004, 4:12 pm
Randfish

We've spoken before re real estate stuff - I think at realestate webmasters (SEO GUY) - if you want some space on my web server pls pm/email me. I currently have ad coop working with asp, but have just installed perl/PHP.

Jamie

elklabone
Dec 21st 2004, 7:18 pm
I'm having a similar problem on my host, this thread has been helpful, I think something called "fopen wrappers" needs to have be enabled.

elklabone
Jan 17th 2005, 12:47 pm
I had my host enable "fopen wrappers" and it works great now... Thanks Shawn!

Maybe future version of this tool could autocheck to see if this feature is enabled on the host... might save some posts to the forum.

JoeO
Jun 6th 2005, 9:42 pm
I came across this thread well trying to solve the same problem.
I also have a site hosted with aplus and was unable to populate the ads text file.
Anyways they asked me to e-mail them my account number, password, url I want to allow, the port number and the reason why.
I sent in all this info and 24 hours later they let me know it was all setup, now it is up and running.

Anyways just though I would post this incase anyone else runs a search on aplus (a-plus) on this forum, as that is how I found the thread.