Support

Admin Tools

#9947 sh404sef causes 400 error messages

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 user40075 on Saturday, 16 July 2011 21:06 CDT

user40075
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages? topic search negative)? yes
Have I searched the forum before posting? yes. warm but no cigar
Have I read the documentation before posting (which pages?)? As much as my untrained mind can grasp
Joomla! version: (1.5.23)
PHP version: (5.3.6)
MySQL version: (5.1.56)
Host: (Rochen)
Admin Tools version: (2.1.2)


Description of my issue: My sh404sef program stopped working and I had to turn it off. I think it happened when I upgraded to 2.1.2, but I am not quite sure.

Sh404sef was throwing up publicly visible errors on the home page so I had to shut it down. The errors, two of them, repeated themselves down the page. The error shown in public refers to lines 3028 and 3029 in administrator/components/com_sh404sef/sh404sef.class.php. The error says the two lines are deprecated. I attach a screen shot of the offending lines. Those public errors appear with "simple" error reporting in Global Configuration.

And yet that doesn't explain the 400 errors when sh404sef is activated if I click on any link on the home page. Using both Firebug and Google Chrome with the "Net" setting I examined the home page and everything looks clean, so I don't see where I would get an address for an exception to add to .htaccess maker.

So I reinstalled sh404sef but that did not help. It is not the latest version, by the way, but these are hard times.

Now here is the odd part. I have a test site for trying new ideas,working out software conflicts, etc. Admin Tools 2.1.1 and sh404sef cohabit that site and it works perfectly. (I want to mention that the test site has its own .htaccess file created by .htaccess maker and it is identical to the one on the main site [as it should be since the Admin Tools software matches.)

Any suggestions? I have no feel for this at all.

Much thanks, once again

Lowtech

nicholas
Akeeba Staff
Manager
These are deprecated notices thrown by sh404SEF. It is not a conflict with Admin Tools, it is just your server having a too high error reporting leven and displaying PHP notices to the browser. Please ask your host for the proper way to set PHP error level to E_ERROR and disable errors display.

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!

user40075
Hi Nicholas,

I decided to bypass the problem by downloading the current version of sh404sef (my version was 2009 Beta) in hopes that it would be a cleaner safer design. That was after I quoted you to Rochen on a help ticket and they told me not to mess with Error settings unless I knew what I was doing. Of course I don't know what I am doing : )

So I installed it on my test site with rewrite mod turned off as they recommended in the setup instructions and now the test site is frozen. But I expect I will get it all sorted out.

Thanks for all your kind help!

Best,

Lowtech

nicholas
Akeeba Staff
Manager
OK, you had an ancient version of sh404SEF that would also cause huge problems should you had ever tried remote backups.

Regarding your problem, while it is not something that I should normally help you with (I am not the author of sh404SEF), I know that the solution is to enable mod_rewrite. I mean, come to think about it... without mod_rewrite, how is Apache supposed to know that a SEF URL (pointing to a file/directory not on your server) is supposed to be redirected to Joomla!'s index.php for sh404SEF to handle it?

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!

user40075
Thanks much, Nicholas!


I will get it sorted out one way or another.

Best,

Lowtech

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!

user40075
Well Nicholas,

All is fine now. I installed the new version of Sh404seo with mod rewrite enabled and it all worked perfectly, which is just as well because my traffic had dropped drastically over the past four days.

Thanks again,

Lowtech

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!