Menu

Perhaps I am just stupid.. but I can't do it!

Help
mrs_howl
2006-01-08
2013-06-03
  • mrs_howl

    mrs_howl - 2006-01-08

    I have worked with html for many years but when it comes to forms I just can't do it!
    I have searched for simple step by step instructions but can't seem to find what I need...

    I installed the phpformgenerator w/ installatron, and got as far as creating the form... but then I am hit with a bunch of errors and can't even pull up the form to edit it...
    Can you please help!

    (make sure you provided the correct database information )  I didn't do the mysql thingy... Do I need to? where is the info for it? what else do I need to do???

    (give read+write permissions to the forms directory (located under the phpformgen directory). ) I could not even find a place to do this...

    these are the main parts of the errors....
    Warning: chmod(): No such file or directory
    Warning: chmod(): Unable to access
    Warning: chmod(): No such file or directory

    Warning: main(templates/simple1.php): failed to open stream: Permission denied in

    Warning: main(): Failed opening 'templates/simple1.php' for inclusion (include_path='.:/usr/local/lib/php') in /

     
    • TNTEverett

      TNTEverett - 2006-01-08

      OK Mrs Howl, I am the professor.  I can help you get this going and give you somepointers on how it works and how to modify it. 
      By default the program is put into a ./forms folder off your root web site folder.  Permissions for this folder need to be a minimum of 755.  In this folder you will find folders "README_FILES" and "templates".  If you have created your first form you will also see a "use" folder.  Again all folders need permissions at a minimum of 755. 
      By the way I use WS_ftp to view and modify permissions of my files and folders.  There is a free version as well as a cheap full featured version. 
      When you create your first form you can find it in the folder ./forms/use/{formname}.  In here you will find all the files and folders needed to support your new form.  You would then point your browser to http://yourDOMAIN.xxx/forms/use/\{formname}/form1.html to use the form.
      Again all folders need a minimum permission setting of 755.  Some older servers need file permissions an any php file to be set to a minimum of 755.  All html and graphics files need permissions of 644.  Newer servers do not have this requirement and all files can have permissions set to 644.  If after the installation you can not modify file or folder permissions (error messages, or just a filaure to change) it is likely that the installation script set the file and or folder ownership to root or some user other than you which will prevent you from making any modifications.  The easiest solution to this is to have your host support person sett all the file and folder ownership back to you. 
      Once all the file ownership and permission stuff is worked out things will get much easier.  It is still possible to have errors.  This will also depend on server setup and capabilities.  Server program support revision, security settings, and general server feature setup will all potentially cause you some headaches.  Since it is not possible to detect and/or change all these server settings with the installation script, this is just part of the instalation setup everyone must deal with. 

      Now lets get to your first form.  send me the URL to the form and send me the process.php file from this forms folder (if you know how) so I can have a look at it. 

      Give yourself some credit.  You are not stupid.  Some things are just not straight forward and easy.  It just takes more knowledge and understanding.  So you've come to the right place. 

       
    • mrs_howl

      mrs_howl - 2006-01-08

      Thanks...
      I had changed all permissions to 777... as the install guide said... the guide also says check everything BUT group and world, yet
      There is no 'group' or 'world' listed in my directory...
      There is also nothing that specifies 'write' permission.... just permission...
      Part of the problem, I believe, is that it is automatically setting the UID and GID as APACHE, instead of MY real id... but I don't see how to change that.
      Thanks for your help... This is very frustrating...

       
      • TNTEverett

        TNTEverett - 2006-01-09

        The permission fields refered to are a bit confusing to anyone not familiar with the unix or linux operating system.  This is how it works. 
        There are three fields that represent
        Owner - Group - World
        Within each field there is a number that represents the read, write, and execute properties assigned to each field.  In binary arithmatic (computer language) a series of ones and zeros represent chunks of information.  In this case, 3 fields each a series of 3 ones and zeros. 
        000=0
        001=1
        010=2
        011=3
        100=4
        101=5
        110=6
        111=7
        In any series, a 1 indicates a particular property is true.  The properties are
        RWX or (read write execute).
        Examples:
        7-7-7, or 111-111-111
        this indicates that all fields
        owner-group-world
        have all properties; read, write, execute (rwx).

        7-5-5, or 111-101-101
        this indicates that the owner has all properties; read, write, execute (rwx),
        the group and world only have; read, execute (r-X).

        The owner, group, and world are assigned to a particular user.  The owner should always be you (the logged in user).  The group is set by the server (a group of users is givin a name).  THe world is everyone else. 

        Hope this helps.
        You really should get your host to set these file permissions if you still have trouble understanding the whole file permission thing. 

         
    • mrs_howl

      mrs_howl - 2006-01-20

      Thanks. File permissions are making more sense...

      How come the UID and GID is defaulting as APACHE, instead of MY real id...
      I don't see how to change that.

       
      • TNTEverett

        TNTEverett - 2006-01-20

        What operating system is the host running?

         

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.