If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advance Poll Problem  XML
Forum Index » General Discussion
Author Message
TheNinthPlayer
Newbie

Joined: 11/11/2002 15:33:14
Messages: 2
Offline

My reorts the following problem when I attempt to activate the admin section


[Mon Nov 11 07:16:07 2002] [error] [client 68.39.115.136] Premature end of script headers: /home/virtual/site35/fst/var/www/cgi-bin/poll/admin/index.php

and

[Mon Nov 11 07:16:39 2002] [error] (Exec format error: exec of /home/virtual/site35/fst/var/www/cgi-bin/poll/admin/index.php failed

Anyone know what I might be doing wrong?
Hawkslayer
Beginner

Joined: 26/10/2002 16:00:35
Messages: 42
Location: Georgia USA
Offline

It looks as though you have an error in the path. It's very unusual to see a WWW in the middle of it. I would check your absolute path. You can use this little script to report the path.

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Document Root is: ";
print $ENV{'DOCUMENT_ROOT'};

You may have to edit the first line to reflect the location of perl on your host. Save it as basedir.cgi or whatever.. Upload it and run it.

Hawkslayer

http://www.fuchsialand.co.uk
[WWW] [ICQ]
TheNinthPlayer
Newbie

Joined: 11/11/2002 15:33:14
Messages: 2
Offline

Document Root is: /home/virtual/site35/fst/var/www/html
Hawkslayer
Beginner

Joined: 26/10/2002 16:00:35
Messages: 42
Location: Georgia USA
Offline

Have you tried inserting the html in the path like so?

/home/virtual/site35/fst/var/www/html/cgi-bin/poll/admin/index.php

Hawkslayer

http://www.fuchsialand.co.uk
[WWW] [ICQ]
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum