Menu

Premature end of script headers in index.php?

Help
warren
2004-07-20
2004-07-21
  • warren

    warren - 2004-07-20

    I keep getting error in my server log: "Premature end of script headers: /home/pcpid02/public_html/phpform/use/BetaRequest/admin/index.php". 

    I have tried changing the permissions - I have all folders and files, including everything in 'forms' and 'use', presently set to 755.

     
    • warren

      warren - 2004-07-20

      Sorry, i meant all permissions in 'forms' and 'use'  set to 777.

       
    • warren

      warren - 2004-07-20

      I went through every file and found some files in 'use' were set to 666 (how did they change?) so I changed them back to 777.  Now I get the error log:  "Premature end of script headers: /home/pcpid02/public_html/phpform/use/BetaRequest/process.php".

      BetaRequest is my form name.

      Help please!  Anyone?  Please!!

       
    • warren

      warren - 2004-07-20

      >(How did they change?)

      - I found out that the permissions of all files in the 'use' directory change to 666 when you generate a new form.  So after generating a new form we have to go back and change all the 'use' files back to 777?  This is a pain!

      Still getting the 'Premature end of script...' error...

       
    • warren

      warren - 2004-07-20

      OK, I finally figured it out:
      1. "/phpform/use/tablename/process.php" must have permissions of 755. 2. "phpform/use/tablename/admin/index.php" must have permissions of 755.

      The phpFormGenerator sets these to 666, so you have to manually go in and change them after you generate the form. 

      My free form generator is now finally working....I think.....

       
      • Musawir Ali

        Musawir Ali - 2004-07-21

        you're not supposed to do anything manually. Once you have the permissions set correctly during the installation, that should be it. Then you simply use the program to create and delete form projects.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.