Skip to content
Tags

, ,

34SP & Premature End of Script Headers

by Julian on April 23rd, 2006

This post is for me. If you get this, trying to execute scripts, check this post on the 34sp forums.

On Mac OS X you want to use Unix line endings and transfer using binary. The superb SubEthaEdit has options to change and convert line endings. I had to do this with a couple of the scripts.

I double checked using 0xED, a nice lightweight hex editor.

Also, check the permissions once you’ve uploaded it. Should be 755.

Finally, you may have issues when transferring using SFTP; this response from 34SP sheds some light: ”If you use scp the files are owned by the group psaserv, to run they need to be owned by the group psacln, this alteration is done automatically by the ftp daemon but not possible when using the sftp subsystem. Depending on your sftp client you maybe able to chown/chgrp these files (you can with winscp on windows)”. Unfortunately it looks like this isn’t possible with Transmit, so I’ve switched back to FTP.

From → Uncategorized

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS