Redirection and Server Errors

From FacileWiki


  • Problems are often seen on servers where safe mode is on. Safe mode is a relict from the early days of PHP that in fact does not increase safety at all. Skilled hosters know about it and dont enable safe mode, however there are plenty of hosters that insist on enabling safe mode because it sounds good. If you are on such a server:
  • Ask the hoster to turn safe mode off. If he refuses:
  • Move to another provider where safe mode is off. When that is no option:
  • Live with all the restrictions of safe mode (see last point of this checklist).


  • Another major source of problems is SEF:
Standard SEF built into Joomla/Mambo
Working flawless with Facile Forms in most installations, but not in all. Try if disabling it solves the problem.
OpenSEF
According to the OpenSEF developers the incompatibilities should be fixed in the 2.0 release. In case you are running a 1.x version, upgrade to the latest 2.x release (RC5 or up).
Xaneon SEF
There was a solution posted in the old forums:
I managed to make Facile Forms work with Xaneon's SEF, I tested it with the mambot, (haven't tried with modules or the component yet) and works perfect! Just go under your Xaneon's Extensions component menu to Manage Friendly URLs, then create a new one and fill-in in both Friendly and Internal URLs this address: components/com_facileforms/facileforms.frame.php, Published yes, then click on the Advanced tab, selct Direction: Both, Valid: yes and this is the tricky part:, select Stop? yes


  • Adjust the variable $mosConfig_absolute_path in configuration.php, no trailing slash.


  • Adjust the variable $mosConfig_live_site in configuration.php. Try if toggling the Facile Forms configuration switch Use live site in configuration.php makes a difference.


  • If you have root access or other option to change PHP settings (.htaccess, local php.ini) check the following. If not, ask your hoster for assistence:
Sometimes the "include_path" entry in php.ini is set wrong, for example just .:/usr/share/php. Check it and in case it is missing add your site root directory, e.g. /srv/www/htdocs/yourdomain. You can add your path by using a ":" as separator, then it should look like this for example
include_path = ".:/srv/www/htdocs/yourdomain:/usr/share/php"

It might be required to restart Apache to activate the new settings.


  • If nothing else helps, you might still be able to use Facile Forms but without iframes. Disable the preview in frame in the Facile Forms configuration, and run your forms in component space without iframe (setting "run in frame" to "no"). You will however not be able to use the mambot or module when iframes are not working.
| Terms of Use | Privacy | Sitemap |
Editing tools
Personal tools