Support

Admin Tools

#9918 404 problem, htaccess question, Compatibility of Admin Tools with sh404sef and JMS multisite

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 Tuesday, 28 June 2011 07:49 CDT

user40848
Mandatory information about my setup:

Have I searched the forum before posting? No
Have I read the Troubleshooting Wizard before posting? Yes
Have I read the documentation before posting? Yes
Joomla! version: 1.5.23
PHP version: Latest
MySQL version: LAtest
Host: Hostgator Baby Plan
Admin Tools Professional version: Latest

Description of my issue:

Dear Sir,

I am sorry for my bad English.
I am using your Akeeba Admin Tools Professional with sh404sef and JMS Multi-Site. Due to many problems with Akeeba and JMS, I will not use Akeeba with my Slave websites.
I am using Akeeba Tools, sh404sef and JMS Multi-site on my master website http://globaljournals.org everything is working except the following:

1. 404 Page gives 500 error after enabling Akeeba Admin Tools. Try visiting http://globaljournals.org/AnythingNotoOnWebsite

2. Also please let me know, if won’t create htaccess from Akeeba Admin Tools is my website is insecure? Because there will I imagine very complex technical issues of .htaccess as I am using sh404sef with JMS Multi-sites. Tell me if I am wrong. Also, tell me procedure to do the same if website is insecure.

3. Can I install Akeeba Admin Tools on my slave websites made by JMS? Akeeba backup not compatible but no information about Admin Tools. Will trying it can cause whole websites to get down???

Sangita Dixit

slaes
We use sh404 with everything and it has no compatibility issues with ATP at all.

JMS multisites and any security dont belong in the same sentence at all. Think about what jms multisites is doing. 1 user account with 1000's of websites running off it, among other things, my friend your asking for big trouble.

If i were you, i would create or have created a script which can easily achieve what jms does with separate user accounts, databases and source code.

Niko may be able to assist (however i doubt it) you himself with jms, not sure.

user40848
Dear slaes,

Thanks for your suggestion and reply but can you please help me in sorting out my problems? And kindly Solve my queries point wise please. i dont know Niko.

slaes
Nicolas is the developer and owner of akeeba, he should be online soon and be able to make some suggestion to you.

user40848
But How to contact him?? I dont know how to see online members and i dont even know his username to PM him.

slaes
Nicholas monitors this forum and should have some response here for you here shortly.

nicholas
Akeeba Staff
Manager
Here I am :) Please note that I live in GMT+2 timezone, so your request came in exactly when I got back in office.

First, let me state that it is the first time I hear that Akeeba Backup has a problem with JMS multi-sites. This was solved over a year ago, when I implemented the "Dereference symlinks" option in all archiver engines. If you have it turned off (default) Akeeba Backup can backup your multisites. That said, restoring a backup means you'll be overwriting all of your sites.

Back to your questions:

1. I am not sure it has anything to do with Admin Tools. Just to be on the safe side, go to WAF configuration and blank out the following options:
a. "X-Content-Encoded-By HTTP header content for GZip compression"
b. "X-Powered-By HTTP header override (PHP version may be revealed if left blank)"
These are the only two options modifying HTTP headers

2. Without the .htaccess your site will be vulnerable. As to the technical difficulties, I have no idea if you have done something special to your .htaccess, therefore I can not comment whether it's possible or not. All I can say is: give it a try. If it doesn't work, you can still revert to your existing .htaccess (keep a copy of it!).

3. I have no idea. Can you install extensions per each individual site? If so, you can install it. Again, all I can say is to give it a go. Again, I have to say that there is no reason for Akeeba Backup to not be compatible with JMS multisites. If you have a specific backup problem, post on the Akeeba Backup forum and I will try to help.

That said, I am completely against multi-site solutions for the reasons slaes outlined. It is a VERY BAD security practice. If one of the sites is compromised, all of the other sites are compromised as well. This means that any vulnerability is amplified and every successful attack's negative impact is amplified. It's like having a car which is designed to explode on impact, killing all of its passengers. Would you ride such a car? I wouldn't!

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!

user40848
I solved that problem by uninstalling and again installing sh404sef.
But now I am getting this error:
Fatal error: Call to a member function getValue() on a non-object in /home/shivji/public_html/administrator/components/com_admintools/models/jupdate.php on line 30

This type of error comes usually when I save Global Conf. and when I enter wrong query string(error comes for a second and then it redirects to home).

Also Admin Query String do not work properly many times it redirects even if string was correct may I know why??

nicholas
Akeeba Staff
Manager
Please try upgrading to the just-released Admin Tools 2.1.1. It should fix the issue you are experiencing.

The Admin Query String protection tries to intercept the URL, analyzing it and deducting if the secret word is set as a query parameter. If something alters the URL string before it reaches the plugin, this protection will fail. I am not sure if this is something coming from your server or the multi-site solution.

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!

user40848
Thankyou so much Sir! that error is gone but:
I am not able to start my administrator of

http://globaljournals.us/administrator

When I install updated version of Admin Tools.

I get similar error there. Call to a member function getValue().

Although it is not installed on slave website.

nicholas
Akeeba Staff
Manager
Can you post the exact error message so that I can understand the situation better?

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!

user40848
Fatal error: Call to a member function getValue() on a non-object in /home/shivji/public_html/administrator/components/com_admintools/models/jupdate.php on line 30

This error comes after I login to my admin panel in "Slave" website. Although it is not installed there.

I provided you above error just by installing admin tools temporarily on master website. I am again uninstalling it for some time untill this error gets resolved.

Thankyou so much Nicholas, your support forum is amazing.

nicholas
Akeeba Staff
Manager
It sounds like the multi-site solution you're using is not trly multi-site. It's more aout having one site which has all the extensions in it and only appear to have multiple sites from the outside. Unfortunately, I can't help with that because it's completely different to how Joomla! is supposed to work :(

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!

slaes
@Nico - ive used jms for all of 1/2 an hour in the past. Believe me its a nightmare, i wouldnt lose any sleep over it. The problems it comes with and its whole architecture are a disaster.

@sangitadixit - being that you use JMS you would know that they have a list of compatible extensions. Obviously admin tools along with many many popular others is not part of that list. The issues your having is definitely with jms and i believe you can request from them components to be added, most likely at a cost.

nicholas
Akeeba Staff
Manager
Thanks, slaes! I had never used JMS Multisites before. I had only used another solution (whose name I can no longer remember) which was simply using symlinks for the core Joomla! files, separate databases and separate configuration.php files. That was the closest bet to a solid solution, as the only shared code was the Joomla! core, which incidentally is what Joomla! 1.7 and later strives to achieve. I won't lose any sleep over it, I have more important things to deal with :)

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!