Menu

Help ! Error on Line 7 & 20 in Copyfunc.php

Help
blue
2006-08-29
2013-06-03
  • blue

    blue - 2006-08-29

    I've installed version 2.09C and ran it as per instructions. I got some error massages while I tried to work with it.

    Begin I've got the massege "The use directory is not writeable after changing mode 777 i can work with it till step5.(Genearting Forms).

    Then Step5 I had a list of errors which it always mentioned

    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/tile_sub.gif in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/tile_back.gif in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/Thumbs.db in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/process.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/global.inc.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/nav_m.gif in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/index.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/global.inc.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/delete_rec.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/delete_file_rec.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/data.dat in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: Unable to access
    use/Uploadpoint/admin/config.inc.php in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    Warning: chmod() [function.chmod]: No such file or directory in
    /srv/www/htdocs/web90/html/phpform/copyfunc.php on line
    20
    All Done!
    The form and the processor were created and placed in the 'forms'
    directory under the phpformgen's directory. You can reach it by clicking
    here. An administration portal was also created for managing your form
    records. It can be reached by clicking here.

    So, i am not very  familiar with PHP and i have no idea how to solve this matter. If anybody have an idea please let me know.

    Thanks & Regards
    karma05

     
    • TNTEverett

      TNTEverett - 2006-08-29

      You are getting some very unusual errors.  I suspect that the installation and or the use of the form generator is incorrect.  Start by removing the whole directory tree of the existing installation.  Next install via your host if they have this installation feature available to you (usually some CPanel option).  If not then reinstall following the instruction very carefully.  When you use the form generator you should not be required to move anything in order to get it to work.  Your forms should be generated in unique folders as long as you don't choose identical form names. 
      Once the forms are generated then they can be individualy moved anywhere you like. 

      The begining of the copyfunc.php file is only creating the new form folders and copying installation files necessary for every form into the form folders.  What it looks like is that the copyfunc.php file has the wrong idea about where the new form folders should be and also has the wrong idea about where the installation files are to be copied from. 

      These problems do not exist if the generator is installed properly. 

       
    • blue

      blue - 2006-08-30

      Hai, many thanks for your early reply. Last few days I did everything what I can do but unfortunately  it was not possible to work with PHP Form Generator2.09c. Then I tried it with another free web space and it worked properly. I have no idea whats wrong with my paid space. However hier is all details about my server.

      Server: Apache/2.0.50 (Linux/SUSE) Server at www.mydomain.de Port 80

      PHP & MySql: phpMyAdmin 2.6.2-rc1 / MySQL 4.0.21

      Homepagefade:
      To send mail: usr/sbin/sendmail
      To Perl: usr/bin/perl

      Files structure of my server
      atd - root
      backup -root
      files - customer(my)
      html - customer(my)
      log - root
      phptmp- customer(my)
      restore - root

      I used FTP and uploded PHP Form in the HTML     folder.

      I had same problem and line 7 & 20 in copyfunc.php as follows:

      Line 7:  mkdir($wto, 0777); 
      Line 20: chmod($flto, 0777);

      It will be great if you can help me further. If you need more details please let me know.

      Thanks & regards

       

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.