|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
50Free.com Problem
I was wondering if anyone else here using 50free.com.
When I upload files via ftp and then try to access them I get a message that says: premature end of script headers:filename.php Then if a open up the file in edit mode in the file manager and save it the problem goes away. I dont understand whats going on anyone else have this problem? |
|
#2
|
||||
|
||||
|
I use 50Free.com, and I have no problem with it, just make sure that whenever you FTP stuff, all scripts are set to
Code:
CHMOD 0755 Edited to say that if you read the FAQ on 50Free's members control panel, this question is answered there.
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) |
|
#3
|
|||
|
|||
|
Hey-
I have tried to chmod to 0755 however that doesnt fix the problem. I know that 50free.com doesnt offer support. I dont understand whats going on. Have you ever had a problem like this? Thanks for the help so far. Jonathen Scalet |
|
#4
|
||||
|
||||
|
Yes, that happened to me when I first got my account and wrote a test scripts-just to check phpinfo() and mail(...)-and I got that "incomplete script headers" thing. So, using SmartFTP (i will never use a different FTP client ever again {^_^}), I changed it so it was 0755, (owner=read+write+execute,group=read+execute,other=read+execute) as the default (if you upload without changing it) is 0644 (owner=read+write,group=read,other=read), which menas the scripts cannot execute and therefore you get the error. once i changed the CHMOD thing though, the scripts worked perfectly...
{@_@} btw, u can download SmartFTP for free from http://www.SmartFTP.com/ |
|
#5
|
|||
|
|||
|
phpgeak-
Thanks for all your help so far, I have download SmartFTP and CHMOD'ed the file to 0766( for some reason that what was coming up). The problem is still existing, you can visit one of my page and see. Link Here I really need this to work and I dont understand why it is giving me a problem. If you want I will give you my username and password and you could login thru FTP and check it out. Please let me know, Again thanks for all your help. Jonathen Scalet |
|
#6
|
||||
|
||||
|
[I've attached a ZIP file which contains two images.]
Right click on the file you wish to CHMOD, and you should see a GUI menu similar to that shown in "SmartFTP (Menu).jpg". After doing that, click the menu option near the bottom that says "CHMOD / Properties" and you should see a dialog box similar to that shown in "SmartFTP (CHMOD).jpg", then just make sure the permission are set as shown in that image for every script, and the problem should be fixed. {@_@} |
|
#7
|
|||
|
|||
|
PHPGeak-
Is there anyway to chmodd a whole folder before I upload it because this script that Im uploading is called xcart and its huge I need to have most of the page be 755. Any ideas? Jon |
|
#8
|
||||
|
||||
|
i think if u CHMOD the entire folder (right clickt eh folder instead of the file) it wil automatically CHMOD what is inside of it, but i don't know for certain...
|
|
#9
|
|||
|
|||
|
Yea it wont let me CHMOD the entire folder. Im trying to get this shopping cart script to work and its been nothing but headaches.
have you ever heard of xcart? |
|
#10
|
||||
|
||||
|
no, but i think i found how to CHMOD verything @ once...highlight all of the files by using CTRL + A, then press F7 for the CHMOD menu thing
|
|
#11
|
||||
|
||||
|
no that doesn't work...
|
|
#12
|
||||
|