Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><a href="http://ellislab.com/codeigniter/user-guide/libraries/form_validation.html" rel="nofollow">Here</a> is a tutorial straight from <a href="http://ellislab.com/" rel="nofollow">EllisLab</a>. Follow steps and you will get your form working.</p> <p>The most common mistakes, </p> <ol> <li>not loading <code>form</code> helper</li> <li><code>htaccess.</code> is set wrong, or paths are wrong (capital letters etc.).</li> <li><code>config.php</code> is not set properly</li> <li>not passing data to view (<code>$this-&gt;load-&gt;view('some_view', $data);</code> </li> </ol> <p>Hence you did not provide us error message if one exists there is no possible help from the community.</p> <p>For more debug info please turn on codeigniters profiler (<code>$this-&gt;output-&gt;enable_profiler(TRUE);</code>), use PHPs native function <code>var_dump($variable);</code>. </p> <p>Make sure <a href="http://php.net/manual/en/function.error-reporting.php" rel="nofollow">error reporting</a> is set to <code>E_ALL</code> in your <code>index.php</code></p> <p><strong>edit</strong></p> <p>Make sure your <code>/config/config.php</code></p> <pre><code>/* |-------------------------------------------------------------------------- | Index File |-------------------------------------------------------------------------- | | Typically this will be your index.php file, unless you've renamed it to | something else. If you are using mod_rewrite to remove the page set this | variable so that it is blank. | */ $config['index_page'] = ""; </code></pre> <p>make your <code>.htaccess</code> this file should be located in root of your project eg. <code>/ci/.htaccess</code></p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase /ci/ # Reenable after getting ssl cert # RewriteCond %{HTTPS} off # RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] # Removes access to the system folder by users RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L] # When your application folder isn't in the system folder This snippet prevents user access to the application folder RewriteCond %{REQUEST_URI} ^application.* RewriteRule ^(.*)$ /index.php?/$1 [L] # Checks to see if the user is attempting to access a valid file, such as an image or css document, if this isn't true it sends the request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] &lt;/IfModule&gt; &lt;IfModule !mod_rewrite.c&gt; # If we don't have mod_rewrite installed, all 404's can be sent to index.php, and everything works as normal. ErrorDocument 404 /index.php &lt;/IfModule&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload