Wednesday, May 7, 2008

'Forbidden Access' error and 'tag in POST' error while publishing / editing article in Joomla

Forbidden Access error, and 'tag in POST' error? while posting in http://www.doh.gov.ph/bihc_doh

This has not occurred before: frontend editing saves are rejected with a message 'Forbidden Access (flooding)' - or 'Forbidden Access (tag in POST)'. This is with Joomla 1.0.12 and 1.0.13 versions.

This is either (a) a Joomla built-in security block being triggered, or (b) more likely a server setting perhaps. I'm seeing it especially on Apache 1.1.3x / Unix servers.

If you Save and edit with a few words of plain text, it seems to be OK; but a fair-sized page with plenty of mixed content gets blocked - probably because of the number of HTTP requests at one time?

Of course, it means that frontend editing is impossible, which makes any kind of community use out of the question. Thought this was a joomla issue or server setting, but obviously an extension issue.

Solution:

Turn off security features of SH404SEF, that is of course assuming you have had the extension installed (being the issue here) :D

Need to install Apache, MySQL, and PHP (Linux, Mac OC, Solaris or Windows)?

I was reminded of a friend who asked me the other day about installing a CMS package, as well as installation of Apache to his server... Thus, this article... He was asking for feedback on manually installing each application needed: Apache web server app, mysql and php... Manually installing each package separately may be the best, effective way. However, personally, I have had no problem in installing the three in a bundled package like most LAMP packages offer... Besides, I tried the manual installs and found it to be a tedious process... Personally tested XAMPP, a very easy to install Apache Distribution for Linux, Solaris, Windows and Mac OS X. Have been using it eversince, locally or remotely. The package also includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin.

Download XAMPP and other add-ons at these links (for Linux, Mac OS, Solaris or Windows):

XAMPP Official Developers' Site
Sourceforge.Net


Simply download, extract, then enjoy! And by the way, it's free!