Menu

help to create a form plz. cant fix my form

Help
Enclosed
2006-02-02
2013-06-03
  • Enclosed

    Enclosed - 2006-02-02

    Hey guys,

    Im new in this community and first: I rummaged the posts but dont find a CLEAR help.

    Heres my problem:

    1.) I uploaded the phpform folder to my server.
    2.) I create a simple form with one field.
    3.) after sending all informations (setp 5) I got this error messages:

    Ok, everything is fine.. generating form...Form created!

    Generating form processor...
    Warning: chmod(): Unable to access use/test/tile_sub.gif in /home/virtual/site162/fst/var/www/html/iGTR-eLeague/phpform/copyfunc.php on line 20

    Warning: chmod(): No such file or directory in /home/virtual/site162/fst/var/www/html/iGTR-eLeague/phpform/copyfunc.php on line 20

    Warning: chmod(): Unable to access use/test/tile_back.gif in /home/virtual/site162/fst/var/www/html/iGTR-eLeague/phpform/copyfunc.php on line 20

    Warning: chmod(): No such file or directory in /home/virtual/site162/fst/var/www/html/iGTR-eLeague/phpform/copyfunc.php on line 20

    ....... and some more.

    Last night was very hard because I tried to fix this problem.

    I set the properties of the "forms" directory to 777 like it is awoved in the readme file.
    After that I caant start the index.php file.
    Ohkey, now I set the properties of all files in the phpform folder to 777 and the mainfolder to (phpform).

    Then the index.php works and I thought it must work now. But at Setp 5 I got these errors.

    I called the form I want to create "test" and the generator create a folder with this name in the "use" folder. This folder got automaticly the properties 755.

    So I would be very thankful for a clear and easy description how to fix these problem.
    Im german and my english is not really good, so please try to answer in a easy way :-)

    Thx to all ahead...

     
    • TNTEverett

      TNTEverett - 2006-02-02

      Each installation has it's own potential difficulties.  This is because each Host has different security measures in place to allow/disallow install scripts to set or not set file and folder permissions. 
      Permissions:
      First number is owner access
      Second number is group access
      Third number is world access
      7=read,write,execute
      6=read,write,noexecute
      5=read,nowrite,execute
      4=read,nowrite,noexecute

      In general folders should be 755.
      In most cases php files should be 755.
      In all cases html and image files can be 744.
      In all cases you should be the owner of files and folders, but you usually don't see file ownership as part of ftp or file manager tools.  You need to contact your host to have this checked. 

      You should be safe with these settings.

      The copyfunc errors you see are because the generator either can not create, or has created but can not use, the folders required to create the new form. 
      Try manually creating the 3 form folders first with your ftp or equivalent SW then recreate the same form using the generator.
      forms/use/test
      forms/use/test/admin
      forms/use/files

      You can also try manually copying sample files into the folder to see if you can do this with ftp.  If this simple test does not work, ask your host to see what is up with the folder ownership and permissions (maybe you are not the owner). 

       
    • Enclosed

      Enclosed - 2006-02-02

      Hhmmm, thx for your great description.

      Maybe I got the problem.
      I cant create the folder forms/use/test/admin
      "550 test: Operation not permitted" it said

      So I have to contact my host to change the owner rights ? Why Im not the owner ? I paid gor the webspace ?? :-)?

      Do I have to tell the host, to set all ownerrights to me or only for some folders. What would be the right formulation ?

       
      • TNTEverett

        TNTEverett - 2006-02-02

        When either the install or the generator created the use/ or use/test/ folders the ownership or permissions were not set properly.  Your host should be able to resolve this issue. 
        You might try manually deleting then recreating the use and use/test folders first.  Your ftp tool should get the permissions right since the ftp login is you. 

         
    • Enclosed

      Enclosed - 2006-02-02

      I use WSFTP and SmartFTP to change properties of files and folders and im logged in as Administrator. Here the rights:

      Administrator - View, add, and change all server content; manage server settings and accounts.

      Should im normally able to change the properties of the /use folder with these stettings ?
      So still cant, but why ?

       
      • TNTEverett

        TNTEverett - 2006-02-02

        Your easiest solution is to contact yor host.  Looks like you are not the owner of these folders.  Ask them to check the whole form generator directory tree for proper ownership. 

         
    • Enclosed

      Enclosed - 2006-02-02

      so, some news, and I dont want to stress you :-)

      I checked all folders of phpform at the file manager of the administrator pannel of the provider and Im the owner of all folders and file (phpform, forms, use and so on)

      So, when I try to create a form named "test" a empty folder test appears in the use folder and the owner here is "apache".

      Im not able to change this operation manually, so that the owner of all created files and folders ?

       
      • TNTEverett

        TNTEverett - 2006-02-02

        Are you running Apache on your computer??
        Why if youa re using ftp sw and logged in as you do files get owner of Apache??
        Something fishy here.  Talk to your host again.  Check your Apache config.

         
      • TNTEverett

        TNTEverett - 2006-02-02

        I'll be away from my computer for a while.  This does seem like a host issue.  Let me know how you make out discussing this with your host.

         
    • Enclosed

      Enclosed - 2006-02-02

      ohkey, im away now too. need a break of all of that :-)

      but thanx till now. I will let you now if somethings will happend.

      im will be back at night

       
    • Enclosed

      Enclosed - 2006-02-03

      Thanx for all helps.

      I didnt fixed the problem, but I found an other way to create the form I needed.
      I created the form on my other webspace, other provider. Then I copied the form to the other webspace and now it works perfect.

      Great tool.....

      thx all...
      greetings

       
    • Musawir Ali

      Musawir Ali - 2006-02-08

      Its a hosting provider issue. Your ISPs webserver is running as the user "apache", so everything that form creates (i.e. the webserver creates) is owned by it. Although there are ways to fix this (for example, writing a script to change permissions and executing it through the web browser. Now since the webserver is the owner of the file, it will be able to do so.) But in general, this is a sloppy configuration on the hosting company's part. The webserver should be running with suexec, which basically forces the webserver to change ownership of all the files it creates through a user's website to that user's account. You should try out Microterra Solutions for your hosting needs, http://www.microterra.net

       

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.