Results 1 to 4 of 4

Thread: Sending forms

  1. #1

    Question Sending forms

    I have install two form scripts which are the same scripts.
    So the same software scripts.

    One form is install in home/public_html and is working fine

    The second form is install in home/public_html/site1/form
    This script is working but:
    I can make forms but when I send the form I get a blanc screen and I don't recieved a email

    I have compare the config sys and the only differents is the path to the script and that is correct.
    Any idea why I can't send forms from site1?

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Hard to say without more information. A white screen normally means some type of fatal fail on the scripts part. Is this a PHP script? What script is it? If it is a PHP script you should see a php error file either in the directory where the script is or perhaps in home/public_html. Are these scripts installed for two different domains?
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3

    Default

    aberg,

    That does sound like it might be a PHP issue of some sort. Generally there should be a "php5_error_log" file in the same directory as that php script that should be logging PHP errors. If you open up a support ticket we could also take a look on the server to see if we can find any indication as to why it's not working. There should likely be either an Apache error or a PHP error.
    Nathan Collings
    Level 2 Technical Support Rep

    http://www.westhost.com/

  4. #4
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Just a quick note on location and name of the php error log. Like Nathan mentioned it should be called php5_error_log and it should be located in the same directory as the script that is running. The reason I was vague is one I can never remember the the exact name of the file that the new cPanel accounts use and two it is possible that it could be overridden by a .htaccess file. If you don't see an error log by that name in the directory that the script is in you can both check the script and see if there is a .htaccess file that may override it. The variable error_log can be changed both ways. In .htaccess you would be looking for "php_value error_log path/to/file/nameoffile". In the script itself you would be looking for "ini_set('error_log','path/to/file/nameoffile');"
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •