Webadverts banner rotation program? - setup help

They have: 19 posts

Joined: Jul 1999

I just downloaded a banner rotation program called WebAdverts http://awsd.com/scripts/webadverts/index.shtml to see if it would work on my search engine, since none of the others will. I went through each of the .pl files and changed all of the paths and URLs. The problem I am having is trying to go to the ads_admin.pl file in my browser. When I go to it, instead of the administration page appearing, the script itself appears, as if it was treating the .pl file as a regular html file and just printing the text from the code. Would you happen to know what the problem would be. I had the permissions set to 777 then to 755, but there was no change in the resulting page. Any suggestions or help would be greatly appreciated. Thanks

They have: 2,390 posts

Joined: Nov 1998

Hi Shane,
I have installed this program 3 times now and have never come accross this problem.

Do you often install CGI scripts?
JP

----------
The Webmaster Promotion and Resource Center.
Visit: http://www.what-next.com

They have: 19 posts

Joined: Jul 1999

I have install a search engine and some other cgi program so I know some about installing them. I uploaded them in ASCII encoding and set the permissions but it is still not working. When I go to ads_admin.pl file in my browser instead of the administration page appearing, the script itself appears, as if it was treating the .pl file as a regular html file and just printing the text from the code. Do you or anyone know what may cause this? I am limited in the type of banner rotation program that I can use because the search program I use uses SSI. And I need the banner program to work on the pages produced by the search engine.

Thanks

They have: 1,587 posts

Joined: Mar 1999

u using unix or nt?

----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 19 posts

Joined: Jul 1999

I am on a Unix server.

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Have you tried renaming the script to ads_admin.cgi ? Some servers like you to use that extension instead of the .pl, so they may show .pl files as text instead of executing them.

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 19 posts

Joined: Jul 1999

I changed all of the files to have a .cgi extension, then went in and changed the code to reflect those changes. I did get to login to the admin area, I set up an account. Everything seemed to work fine. The probelem, was when I loaded the page with the banner call on it, no banner appeared, although, when I clicked on the blank image, it took me to a page which said invalid destination. I think I did everything cprrectly, any ideas what I might have goofed up?

They have: 52 posts

Joined: Jul 1999

I just downloaded the webadverts script today and I runned into the following problem.
When I tried to access the admin page it says:

File Permission Error!

--------------------------------------------------------------------------------

The server encountered an error while trying to access adcount.txt!

The most likely cause of the problem is a permissions error in your adverts directory (d:/mypath/). Make sure that the directory exists and that it is set world-writable.

---------------------------------
The problem, I think, is that it is looking for the adcount.txt file, and that file doesn't even exist on the webadverts file bundle. Does it mean I have to create an adcount.txt file?
Any help will be greatly apreciated.

They have: 1,587 posts

Joined: Mar 1999

it should create the file for you. the prob is mostly like the directory that the file is supposed to be in isn't chmod'ed properly, try 777.

good luck Wink

----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 52 posts

Joined: Jul 1999

thank you fairhousing. I think I found the problem.
Smiling

They have: 1,587 posts

Joined: Mar 1999

no prob

good luck Wink

----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 52 posts

Joined: Jul 1999

Sorry to keep bugging but I keep getting the following error:

The server encountered an error while trying to access adcount.txt!

My ads.pl variables look like this:

require "/cgi-bin/ads_display.pl";

$adverts_dir = "/propaganda";
$display_cgi = "http://www.buscanegocios.com/cgi-bin/ads.pl";

------------------------------------------------------------
And my ads_admin.pl variables are:

$adverts_dir = "/propaganda";
$admin_cgi = "http://www.buscanegocios.com/cgi-bin/ads_admin.pl";
$nonssi_cgi = "http://www.buscanegocios.com/cgi-bin/ads.pl";

I put relative paths on "require" and "$adverts_dir" because I tried with absolute paths and it didn't work. I am on a NT sever by the way.

Can somebody assist?
Thanks in advance,
Sergio Bayona

They have: 52 posts

Joined: Jul 1999

NEVER MIND IT WORKS NOW!

They have: 2,390 posts

Joined: Nov 1998

Glad to hear it! Smiling
jp

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.