Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
admin.cgi comes up as text

 

 


Zoey
User

Oct 20, 2008, 10:16 AM

Post #1 of 2 (2933 views)
Shortcut
admin.cgi comes up as text Can't Post

I just freshly installed Article Manger 1 onto a new server since we changed hosts - but when I go to admin.cgi I only get text:

#!/usr/bin/perl
# ----------------------------------------------------------------------------
# This software is Copyright (C) 2005, All Rights Reserved
# ----------------------------------------------------------------------------
# This program is protected by local and international copyright laws. Any
# use of this program is subject to the the terms of the license agreement
# included as part of this distribution archive. Any other uses are strictly
# prohibited without the written permission of the Vendor and all
# other rights are reserved.
# -----------------------------------------------------------------------------
# Warning : Modifying this program violates your license agreement!
# -----------------------------------------------------------------------------
BEGIN{@z=('72657175697265202254696d652f48695265732e706d223b',
'6c6f676f6666','61626f75745f6c6963656e7365','6c6f67696e5f6c'
.'6963656e7365','6e6f68656c70','68656c70','6e756d','5f68656c'
.'702e68746d6c','64656d6f5f627265616b','64656d6f5f6d65737361'
.'6765','6d657373616765','63617473','61636c','6c6f67696e5f6e'
.'6

The url is: http://newsletter.fulltimerver.com/artman/exec/admin.cgi

I know I've encountered this before - can you tell me how to fix it?


Donna
Staff / Moderator


Oct 20, 2008, 1:31 PM

Post #2 of 2 (2932 views)
Shortcut
Re: [Zoey] admin.cgi comes up as text [In reply to] Can't Post

Hi there,

This basically means that Perl isn't installed on the server, or isn't recognizing this as a Perl script for some reason.

If you know Perl is installed, check for a cgi-bin directory -- many servers require CGI scripts to be put into a specific directory.

Or, check the file extension -- you may need to rename the admin.cgi and search.cgi to admin.pl and search.pl (this is more common on Windows-based servers.)

Finally, doublecheck your permissions. CGI scripts need to be set to "755" on a linux-based server, and set to "executable" on a Windows-based server.

One really easy way to doublecheck if CGI is working on your server is to create a "hello world" script. I've attached the one that we usually use to test with to this post. Basically, when working, it'll just output the words "hello world". This makes it a lot easier to see if you can run a Perl script than moving the entire Article Manager around all over the place.

Once you've got the Hello World script working, Article Manager should work just fine. :)

If none of the above suggestions work, send the Hello World script to your hosting provider and ask them what needs to be done to make that work. This tends to be a little easier than sending them a huge program that they might be inclined to blame the programmers for... it's pretty hard to say that a three line script is at fault for something that's obviously a server issue. :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
Attachments: hello.cgi (0.13 KB)