Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess Topic is solved

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla 4.0 is still in Beta stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Forum rules
Post Reply
ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by ahmed1308 » Sat Mar 27, 2021 11:17 pm

Hello.
I got a issue after renaming htaccess.txt to .htaccess in the public_html folder of my Joomla 4 website I renamed it in order to get rid of "index.php" in the URLs.

Steps to reproduce the issue

1. Download Helix Ultimate 2 Beta 1 Quickstart Package (https://github.com/JoomShaper/helix-ult ... 0.0-beta.1), upload it to the public_html folder of your website, unzip it and then follow the standard Joomla installation procedure.
2. Upgrade your website to Joomla 4 Beta 7.
3. Set "Use URL Rewriting" to "Yes" (In the Global Configuration tab of the Joomla administrator panel).
4. Rename htaccess.txt to .htaccess in the public_html folder of your website.
5. Delete the cookies and website data, then refresh the Joomla administrator panel's tab.

Expected result

The website's backend looking like it was (before renaming htaccess.txt to .htaccess) and working fine.

Actual result

The administrator panel looking weird and not working (There is no interactivity when clicking on any button).

System information

LiteSpeed-based server
PHP: 7.3 lsphp
Joomla: 4 Beta 7
Helix Ultimate: 2 Beta 1

Additional comments

Here is what I got in the logs file:
WARNING ... assets No asset found for com_modules.module.92, falling back to com_modules
I also don't think that the problem is related to the website's template (Helix Ultimate 2 Beta 1) since the issue only occurs for the backend and not the frontend.

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 6650
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by AMurray » Sat Mar 27, 2021 11:43 pm

I see this has been reported on https://issues.joomla.org.

If it appears to be Helix ultimate issue, it should be reported to joomshaper.com

Does the same thing happen when using Helix Ultimate Beta 1 on Joomla 3.9.25 or when using the default front-end template Cassieopia in J4 (and not using Helix in J4).
Steps to reproduce the issue

1. Download Helix Ultimate 2 Beta 1 Quickstart Package, upload it to the public_html folder of your website, unzip it and then follow the standard Joomla installation procedure.
2. Upgrade your website to Joomla 4 Beta 7.
Answer 1. What version of Joomla did the Helix Ultimate Beta 1 Quickstart Package come with to start with? Joomla 3.9.x, 3.10, or 4.x (beta7)?

Answer 2. The upgrade path to 4.x is 3.9.x to 3.10 to 4.x. Did the joomla update go smoothly? Bearing in mind, quickstart packages are not the best way....and the Joomla 4 releases are test packages only (3.10 still in Alpha and J4 in Beta).

Could you try again, but this time use the latest J4 beta nightly build release and install that directly, then install the Helix Ultimate Beta 1 template as normal, through the Extension Manager?
Regards,
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!

ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by ahmed1308 » Sun Mar 28, 2021 6:10 am

Hello @AMurray and thank you for replying.

I installed Joomla 4 on an empty website (https://www.dv2025.com) via J4 Beta 5 Full Package (https://github.com/joomla/joomla-cms/re ... .0.0-beta5) and the result was similar after renaming htaccess.txt to .htaccess (The backend not working and looking strange). In addition to that, the problem is also present in the frontend for https://www.sitename.com, but it isn't for https://sitename.com (So, https://www.dv2025.com looks strange, but https://dv2025.com doesn't).

I didn't install Helix Ultimate in the website, thus the problem isn't related to it.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27702
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by Per Yngve Berg » Sun Mar 28, 2021 7:05 am

Beta 5 is very outdated. Why didn't you use Beta 7?

There is a completely new Bootstrap. (version 5)

https://github.com/joomla/joomla-cms/re ... .0.0-beta7

User avatar
ceford
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 198
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by ceford » Sun Mar 28, 2021 7:32 am

Your site is not loading css or js files. When I click on them in the source my browser says
Content Encoding Error

I suggest you install the latest beta. Did you set SEO / Search Engine Friendly URLs to Yes in Global Configuration?

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1744
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by darb » Sun Mar 28, 2021 9:23 am


Richard67
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 191
Joined: Fri Sep 16, 2011 6:13 pm
Location: Germany
Contact:

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by Richard67 » Sun Mar 28, 2021 9:57 am

@ahmed1308 Did you also read the FAQ for Joomla 4 Beta 5? It tells that there is an extra step to do in SQL, e.g. in phpMyAdmin.

Please report back if you had followed these instructions or not, and please do as advised above and try with the latest Joomla 4 Beta, which is Joomla 4 Beta 7 and can be found here: https://github.com/joomla/joomla-cms/re ... .0.0-beta7 , and report back the result here. This beta doesn't need that additional SQL step anymore. Thanks in advance.

ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by ahmed1308 » Sat Apr 10, 2021 10:57 pm

@Per Yngve Berg and @ceford The problem still persists with Joomla 4 Beta 7.

ceford wrote: Did you set SEO / Search Engine Friendly URLs to Yes in Global Configuration?
Yes, I did.

@Richard67 Same issue after using Joomla 4 Beta 7 (See https://github.com/joomla/joomla-cms/issues/32892)

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1744
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by darb » Sun Apr 11, 2021 8:04 am

Hello have you tested with Helix Ultimate v 2 beta 2?

Ask support from Joomshaper Sajeb in Github there too.

ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by ahmed1308 » Sun Apr 11, 2021 5:44 pm

@darb The problem isn't related to Helix Ultimate.

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1744
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Joomla 4 website's backend not working after renaming htaccess.txt to .htaccess

Post by darb » Sun Apr 11, 2021 5:47 pm

ok its not related to Joomla :)



Post Reply

Return to “Joomla! 4 Related”