- Issue created by @trickfun
- Assigned to racol
- Status changed to Postponed: needs info
over 1 year ago 7:58pm 16 April 2023 - 🇫🇷France racol
Hi,
I installed a fresh install of Drupal 9.5.7 on an Apache server and I can't reproduce your issue.
Step by step debugging:
- Download Drupal 9.5.7
- Configure virtualhost & MariaDB
- Install Drupal 9.5.7
- Front & Back are up
- Install Switch Theme 1.0.0 →
- Create the article "switch theme test 9.5.7" with the url alias "/switchtheme-test"
- Create a new switch theme in "/admin/switch_theme/edit" named "switchtheme-test" for role "Anonymous", Theme "stark" & URI Pattern "#^/switchtheme-test#"
- Clear caches
- Go to "/switchtheme-test", the theme stark is used, go to home, the default front theme is used
My own configuration:
- WEB Server: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0
- DB Server: MariaDB 10.4.27-MariaDB
- PHP Version: 8.2.0
What is your configuration please ?
I had some pictures, if you have any question, just let me know !
Pleasure
- 🇫🇷France racol
Hi,
my bad, the release 1.0.0 is not the last one, 1.1.0 is. I updated it on the drupal module page.
So, you just need to desinstall the current switch theme module & take the release 1.1.0 (via composer or manually) & install it.
Sorry for this inconvenience !
Pleasure
- 🇫🇷France racol
Hi,
mh, I think you haven't get the good version of the module if you have the exact same error.
Step by step debugging:
- Download Oracle Virtual Machine
- Install Linux Mint Cinnamon 64 on it
- Install LAMP (PHP version 8.0.0 & Mysql & Composer) - I believed PHP version was the problem, it seems to be wrong
- Download Drupal 9.5.7
- Configure virtualhost & Mysql
- Install Drupal 9.5.7
- Front & Back are up
- Install Switch Theme 1.1.0 via composer (composer require 'drupal/switch_theme:^1.1')
- Create the article "switch theme test 9.5.7" with the url alias "/switchtheme-test"
- Create a new switch theme in "/admin/switch_theme/edit" named "switchtheme-test" for role "Anonymous", Theme "stark" & URI Pattern "#^/switchtheme-test#"
- Clear caches
- Go to "/switchtheme-test", the theme stark is used, go to home, the default front theme is used
Everything works for me (on APACHE & NGINX), can you please share to me your configuration ? (WEB server & version, DB server & version, PHP version & OS ?
Thank you in advance !
Pleasure
- Status changed to Fixed
over 1 year ago 2:44am 24 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.