Support

Admin Tools

#38617 Multiple site and administrator problems after upgrading from Joomla 3 to 4

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
4.2.8
PHP version
8.0
Admin Tools version
7.2.3

Latest post by nicholas on Wednesday, 22 February 2023 05:47 CST

stevebenson

Hi

Sorry this is a long story but I want to give you all the facts!

Yesterday I upgraded the site from Joomla 3.10 to Joomla 4.2.8. I had taken all the precautions, disabled the plugins which were highlighted as potential issues and backed up the whole site. The upgrade went well and both the site and the administrator page were fully working. There was only ONE issue: the Login module was throwing an error page "count(): argument #1 ($value) must be of type countable|array, null given". I believe this is caused by the template, Helix Ultimate (although I haven't seen this was any of the other sites I upgraded). It's not a major problem so I removed the Login link in the footer. 

I reinstalled the extensions I had disabled (except Akeeba Backup and Admin Tools) and everything was still OK. I uninstalled the old versions of Akeeba Backup and Admin Tools and installed the new versions for Joomla 4. Then I ran the quick setup for Admin Tools. Everything seemed OK but soon after that the site was unavailable, showing the error page: "this site cannot provide a secure connection". I can't remember whether I checked the site immediately after that or not. The administrator page was still OK. 

The site does not have an SSL certificate but I noted that the URL in the browser address bar was showing https:// and I could not change it to HTTP. The "Force HTTPS" setting in Joomla Global Config was set to "None". 

A complication with this site is that I do not have access to the hosting account, so any examination/amendment of the files has to be done through a third party by email.

I asked the third party to check the configuration.php and .htaccess files for any issues relating to HTTPS. He reported that the configuration file showed "public $force_ssl = 0;" and also that there was a section in the .htaccess file relating to "Force HTTPS for certain pages". He sent a copy of both files and I could see the .htaccess was one created by Admin Tools. (I didn't set the htaccess maker). He tried commenting out the section on "Force HTTPS" but there was no result. I asked him to locate htaccess.txt and rename it to .htaccess and rename .htaccess to .htaccess.admintools. He did this and now the site is back but there are multiple problems and errors showing in the Console. Additionally the administrator page has lost all its CSS so is just HTML, which makes it very difficult to access anything. Screenshots attached.

So although we got the site back, it looks like I made things worse by asking him to swap out the two .htaccess files. Neither of us are experts or coders, so I need a clever person like you to assist. How can I fix it? Help!

Thanks,

Steve

nicholas
Akeeba Staff
Manager

Please install this dev release https://www.akeeba.com/download/admin-tools-professional/7-2-4-dev202302201306-rev962d209e.html and use the Quick Setup Wizard in Admin Tools again. This will fix your HTTPS issue.

Regarding the PHP compatibility deprecation notices you see in the output, these come from your third party software not being compatible with Joomla 8.0. Our extensions are fully compatible with PHP 8.0, 8.1, and even 8.2. You can of course hide these deprecation notices by going to your site's Global Configuration and setting Error Reporting to Minimal.

JavaScript issues in the browser's console are caused by third party software. Can't help with that.

Please do note that if you open the console you will see a lot of what looks like errors about .map files; you can safely ignore these. These are simply issues by your browser because the minified JavaScript files shipped with Joomla and third party extensions don't come with the .map files which contain JavaScript debugging information. You don't need these for the operation of your site, nor do these files are attempted to be loaded during normal operation mode (as opposed to opening the JavaScript debugging console and web site developer tools in your browser which starts your browser's development and debugging operation mode).

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!