Support

Admin Tools

#10185 search component not working

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 02 January 2012 07:34 CST

amorim
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 1.7.3
PHP version: 5.2.17
MySQL version: 5.0.92-community
Host: (optional, but it helps us help you)
Admin Tools version: 2.1.14


Description of my issue:
Just upgraded to Pro version. Wonderful. But my search engines are not working. I use both the Joomla search component and Google search, embeded via component ITPGoogleSearch.

I guess that their POST requests are being supressed? Ignored?

Interesting I have a newsletter subscription tool "NS Pro Mailing List Manager" and it works. My login and registration component works too.

It's probably a minor ajustment but I don't know what to change.

Thanks.

nicholas
Akeeba Staff
Manager
Hi,

Please read this: https://www.akeebabackup.com/troubleshooter/athtaccessexceptions.html

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amorim
Thanks, Nicholas, but the problem wasn't hidden there. I installed AdmTools on another site and tested the firewall setup before I used .htacess

So for those who might have the same problem:

The proble was the CSRF/Anti-spam. I had chosen ADVANCED and because of this search didn't work. It does work with NO or BASIC, so I kept BASIC.



nicholas
Akeeba Staff
Manager
The difference between the basic and advanced modes is that the latter adds an empty and hidden input field. Admin Tools expects this field to be present and empty when a form is submitted. Apparently, the submit button in this form performs some sort of AJAX operation which includes only select fields, but not the hidden field. In this case, yes, you should disable the CSRF protection or set it to Basic, as written in the Quick Setup (point no. 8) and WAF Configuration (under the "CSRF/Anti-spam form protection (CSRFShield)" header) documentation pages.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amorim
Thanks.

One more question: When I save and close the firewall setup I get a message in the upper left corner of the page "Invalid address: Invalid address: " Somerimes latter on I get locked out (IP banned) when trying to login, log says "Admin Query String "

Which address is invalid? Email address? There are 3 slots for email addresses and all 3 have the exact same address.

nicholas
Akeeba Staff
Manager
Hi,

This error message isn't coming from Admin Tools. The email addresses are certainly not checked for validity. I assume that an administrator dealing with security settings is infinitely more careful than a front-end user and won't enter an invalid email address by mistake or deliberately. There is no other address check of any type either. I guess this error message comes from another plugin.

Regarding being logged out, please note that you have enabled the administrator secret query string feature. This means that if your session expires, Joomla! will try to redirect you to the administrator login page without the secret URL parameter (e.g. http://www.example.com/administrator/index.php) which throws a WAF security exception. Depending on your IP auto-ban settings, if enough of those exceptions accumulate over the predefined time period, your IP will get auto-banned. For example, if you have set it up to block attackers with 3 attacks in the last day and you raise three admin query security exceptions within 24 hours, you'll get auto-banned. The auto-ban makes no discrimination (it can't know who is at the other end of the Internet). It will simply do as configured and do it very efficiently :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amorim
Thanks again. I wasn't aware of the implications for session expiration, I will watch that.

I deinstalled AdminTools and the error message disappears, so there is probably an incompatibility between AdmTool and something else. I will search for this.

nicholas
Akeeba Staff
Manager
I just found out where the error message comes from. It comes from PHPmailer, the library Joomla! itself is using to send out emails. It checks the email address for validity before sending out the email. Given the basic and a bit anal address check it performs, if your email contains dots, a plus sign or non-ASCII characters (e.g. accented or UTF-8 characters) then it is rejected and this error message appears.

Also, the same error message appears if any of the email fields in Admin Tools is not really empty, but contains an invisible character like a space, non-breaking space or newline. In this case you can simply triple click inside each email box and tap the Delete button on your keyboard to really clear the field.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amorim
That was it! There was an empty space behind one of the email addresses.

Now everything is fine!

I realy appreciated your help. Great support.

Have a good day!

nicholas
Akeeba Staff
Manager
You're welcome :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!