Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunitySetup and InstallationInstallation and Setup (Moderators: scott, DanO, Marty)malformed header from script. Bad header=BEGIN failed--compilation abor: /usr/cgiwrap
Pages: [1]   Go Down
Print
Author Topic: malformed header from script. Bad header=BEGIN failed--compilation abor: /usr/cgiwrap  (Read 542 times)
0 Members and 1 Guest are viewing this topic.
sashapavlovic
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: September 09, 2003, 11:47:00 AM »

Hi,
I get this error in my server log when I execute calendar_admin.pl and calendar.pl
malformed header from script. Bad header=BEGIN failed--compilation abor: /usr/cgiwrap/cgiwrap

debug says all is ok

I re-uploaded in ascii etc...
I set all permissions correctly
I tried everything!
Help
sasha

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: September 09, 2003, 12:41:00 PM »

** I set all permissions correctly **

Which are??

** /usr/cgiwrap/cgiwrap **

It looks like scripts on your server are being run through cgiwrap which will likely require special considerations for the file and directory permissions. Check your host's CGI FAQs to see what might be required in that area.

Dan O.

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

Logged
sashapavlovic
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: September 09, 2003, 05:42:00 PM »

Hi,
The permissions are 777 for the calendarscript, which is located in the cgi-bin.
The permissions for the .pl files are 755, but I tried 777 also and these are in the cgi-bin, outside the calendarscript folder
sasha

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: September 10, 2003, 12:12:00 PM »

** The permissions are 777 **

Is that allowed according to your hosts' CGI FAQs?

Dan O.

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

Logged
sashapavlovic
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: September 10, 2003, 12:22:00 PM »

I am the host actually.  I own a Cobalt Raq3i.
I know 777 is not a good idea, but I tried it to see if it would work.
Sasha

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

Logged
anonymous
Guest
« Reply #5 on: September 02, 2004, 09:51:00 AM »

755 not 777
Logged
Pages: [1]   Go Up
Print
Jump to: