#1463 open

Theme screwed, unable to login

Reported by peters@slx-online.biz | March 22nd, 2022 @ 05:10 PM

I am creating a test site at www.britishtrolley.org.uk/2-4-3 - this is a separate folder within the live site structure - to create a new theme. It is at version 2-4-3 for now, my intention

With the theme almost complete, I had a small issue with the top menu pull-downs. Having seen on a different theme that this problem did not occur, I went into the theme management page to view the site with the other available themes as a starter for where to look to update that. A couple of the alternative themes worked fine in terms of I could see the problem didn't exist. I clicked on the copy of the live site theme to see what that looked like and the browser window went blank. Page source was empty.

The new theme is based on bootstrap5theme. The live site theme is btstheme. After lots of messing about, I deleted the btstheme files from the server. The web site now displayed, but using a default theme. I tried to log in but each attempt went back to the home page h a message that I'm logged out. I did a repair on the database but that didn't help.

I then tried re-uploading btstheme, and again the screen went blank. So it looks like it's trying to use btstheme which seems to be incompatible with my customised theme, which as far as I know is still the default. I checked conf.php, it was set to btstheme so I changed it back to bootstrap5theme. That made no difference.

Somehow it is confused on which theme to use? At the same time I can't log in from the default theme. Any ideas please? Anything I can check myself? If you need to look I'd need to set up a username, but as I can't log in that's an issue. I may still have details of the last login I gave you which should still work, but I'll need to dig around to find it.


Comments and changes to this ticket

  • peters@slx-online.biz

    peters@slx-online.biz March 22nd, 2022 @ 05:10 PM

    • Assigned user changed from “expNinja” to “dleffler”
  • peters@slx-online.biz

    peters@slx-online.biz March 23rd, 2022 @ 01:05 PM

    Thanks for the fast response. I was planning to get back to this today, but so far more urgent things keep getting in the way. I'll need to see if I can work out the answers to your questions definitively. From memory it was 2.4.3 with all patches and theme 5 at the latest level. The site was working fine over the last few weeks until I asked to view it with the old btstheme, when it screwed up.

    Briefly today I changed config.php to bootstrap3theme just to see what happened. It still loads with the default theme and a note at the bottom saying my default theme is btstheme, even though it never was the default. The btstheme folder doesn't exist because with it I get the blank screen problem. Something other than config.php is telling Exponent that my default theme is not what the default theme should be.

    Later today I'll upload btstheme folder contents a file at a time to see at what point the system dies. I'll let you know.


    PS - Just uploaded the theme files, btstheme index.php throws the error:

    Fatal error: Uncaught Exception: Serialization of 'ReflectionClass' is not allowed in [no active file]:0 Stack trace: #0 {main} thrown in [no active file] on line 0

  • peters@slx-online.biz

    peters@slx-online.biz March 23rd, 2022 @ 03:11 PM

    Looks like PHP 7.4. I seem to have a bit of a bugger's muddle and maybe I should upgrade the test site to 2.6 before doing anything else. That would make changeover easier as well. Only concern with that is I've always been logged in when I've done upgrades, but I can't login. Any advice please?

    You mention 2.6.1 but searching for updates I find a reference to patch 3 but it seems to be unavailable - see attached?


  • peters@slx-online.biz
  • peters@slx-online.biz

    peters@slx-online.biz March 23rd, 2022 @ 05:04 PM

    I've just installed 2-6-0 in a new folder with bootstrap3theme. Site is working and I can log in after copying config.php across without running install.

    I've now downloaded patch3 ready to install. I think I'll stop messing with the old version and redo my css customisations on 2.6.0.

    Thank you for the help so far. We can probably close this ticket down.


  • peters@slx-online.biz

    peters@slx-online.biz April 22nd, 2022 @ 03:59 PM

    • Tag changed from bug to advice on formatting

    So after a bit of a delay I have created the site at version 2.6.0 at https://britishtrolley.org.uk/2-6-0 . Everything is going to plan, but I do have one query please.

    I would like to imbed the Search box at the bottom of the fixed position horizontal menu rather than at the top of each page, where it scrolls away. Please could you tell me how to do that? I'm uploading the main theme index page so you can see what I've done so far.

    Thank you.

  • peters@slx-online.biz

    peters@slx-online.biz April 27th, 2022 @ 12:43 PM

    No response, will open new ticket. Please close this one. Thanks.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket