I’ve had trouble with forms: they return the “oops” error message whenever I attempt to submit.
I even get the error in the standard example, and no hint in debug mode.
This happens only in the production environment (arch linux/apache web server), whereas everything works fine when I use the folder locally and host with php -S localhost:8000 system/router.php
.
The form seems not to even get to the process chain. I have little clue what is going wrong, but suspect mis-configured file permissions or stuff from the .htaccess
file.
here a stripped .htaccess
file:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
</IfModule>
and the folder settings in the httpd.conf:
<Directory /srv/http/test>
Options -Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Any help is much appreciated! I would at least love to have some debug clue.
Cheers,
Falk
Edit: might be related to “Error on contact form submit after 1.6 update” but @virusX did not specify whether it worked in a test environment.