Author |
Message |
11/11/2002 15:37:59
|
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?
|
|
11/11/2002 17:05:22
|
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 |
|
11/11/2002 18:09:55
|
TheNinthPlayer
Newbie
Joined: 11/11/2002 15:33:14
Messages: 2
Offline
|
Document Root is: /home/virtual/site35/fst/var/www/html
|
|
12/11/2002 10:37:30
|
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 |
|
|