Menu

error messages

Help
Anonymous
2003-11-25
2004-05-05
  • Anonymous

    Anonymous - 2003-11-25

    i'm a novice user. i have managed to install the program but when i try to send a message with a file upload i get these errors:

    Warning: open_basedir restriction in effect. File is in wrong directory in /home/wildskiesguk/public_html/forms/process.php on line 26

    Warning: Cannot add header information - headers already sent by (output started at /home/wildskiesguk/public_html/forms/process.php:26) in /home/wildskiesguk/public_html/forms/process.php on line 41

    i'd be very grateful for some help with this please. i have set the file limit much bigger than i'm trying to send.

    thanks a lot, Pete.

     
    • Musawir Ali

      Musawir Ali - 2003-11-27

      This looks like a restriction that your ISP might have imposed. The way that any browser based file upload works is that first the uploaded file is placed in a temporary directory, and then later is copied to the specified location. Normally, this temporary directory is useable by everyone, but sometimes it is restricted and therefore results in the upload failure. So I would suggest you check with your web hosting service provider and see if they can fix that for you. Meanwhile, you can try out the fle upload feature by creating a form on the demo site located at: http://phpformgen.sourceforge.net/phpform

       
    • Anonymous

      Anonymous - 2003-11-27

      hi

      i wondered if there was some issue re my web hosts. i asked them and they replied as follows:

      'We are operating the open_basedir restriction. The solution to this is to change the copy function in your script to the move_uploaded_file function.

      For more details on this please see

      http://www.supanames.com/support/open_basedir.html'

      i'd be grateful if you can advise me if i can modify the script to fix my problem. please bear in mind i'm a non-technical novice.

      thanks for your help, Peter.

       
    • Musawir Ali

      Musawir Ali - 2003-11-27

      Well according to your webhosting company, the fix they suggested would be applied to the file called "process3.php" in the phpform directory. Since I cannot apply this to the public version of phpFormGenerator (since the current works for all the other users), I won't be able to do it. If you would like to take a shot at it, that would be fine too. However, modification services are available ... check out the services page for more details at: http://phpformgen.sourceforge.net/services.html

       
    • Anonymous

      Anonymous - 2004-05-05

      Almost always this means you have blank spaces after the final ?> in the php code. At least in my experience.

       

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.