Menu

New Form, but nothing works

Help
2006-07-24
2013-06-03
  • www.funkidub.co.uk

    I have just created a simple form, and although it created with no errors, nothing happens on selecting submit!
    I have set all permissions as Read/Write, but still nothing.
    Somebody PLEASE help.
    TIA,
    Mark
    www.funkidub.co.uk

     
    • TNTEverett

      TNTEverett - 2006-07-24

      The generator works when installed and used correctly.  The installation process is not perfect and can not accomodate all web host configurations.  In most cases problems like this are due to web host configuration issues. 
      What it sounds like is that you can not run php scripts.  Save the code below in a file (phpenv.php) on your site.  Point your browser to this file to see if you get the php results.

      <html><body><center>
      <a href="/a/">Back</a><br><br>

      <?php
      function ss_timing_start ($name = 'default') {
          global $ss_timing_start_times;
          $ss_timing_start_times[$name] = explode(' ', microtime());
      }

      function ss_timing_stop ($name = 'default') {
          global $ss_timing_stop_times;
          $ss_timing_stop_times[$name] = explode(' ', microtime());
      }

      function ss_timing_current ($name = 'default') {
          global $ss_timing_start_times, $ss_timing_stop_times;
          if (!isset($ss_timing_start_times[$name])) {
              return 0;
          }
          if (!isset($ss_timing_stop_times[$name])) {
              $stop_time = explode(' ', microtime());
          }
          else {
              $stop_time = $ss_timing_stop_times[$name];
          }
          // do the big numbers first so the small ones aren't lost
          $current = $stop_time[1] - $ss_timing_start_times[$name][1];
          $current += $stop_time[0] - $ss_timing_start_times[$name][0];
          return $current;
      }

      ss_timing_start();
      phpinfo();
      ss_timing_stop();
      ?>

      <hr><br><font color="red" size=4> The page was executed in: <?php echo ss_timing_current();?>  seconds. </font><br><br>
      <a href="/a/">Back</a>
      </center></body></html>

       
    • www.funkidub.co.uk

      Thanks for the reply.
      I have recieved all the php results, but to be quite honest, I am unsure what this actually tells me........
      This "form Generation" is all new to me.

      Mark

       
      • TNTEverett

        TNTEverett - 2006-07-24

        It tells you that you can run php files.  If you would like me to look at the form you created you will have to give me a link to your form, and send me the process.php file in an email. 
        Otherwise try another test form to see if the error was in the creation of your first form. 

         
    • www.funkidub.co.uk

      Hi tnteveret1

      I have sent you info and script in a message.
      Hope you get it all.

      Thanks,

      Mark

       

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.