1
Kerjin
Deleting theme creates blank page
  • 2004/7/15 17:04

  • Kerjin

  • Just popping in

  • Posts: 48

  • Since: 2004/3/10


Here's the scenario....

I'm using the XT-Temas theme changer block to allow my users to have thier theme remembered from visit to visit. Everythings working smoothly with that part of the website until a few days ago.

Few days ago I went through the themes and added my site's logo to each theme. I noticed at that timne some problems with the way that a few thems were displaying things and I decided to delete those themes. So far so good right?

Wrong!

The very next day, I get an email from a user that states that when they come to the website, they can see the website just fine till they log in, and then the get a blank page.

I speant a week tracking this one down to find out that what was happening was the XT-Temas block was reading the config setting for themes allowed, which listed all themes, even the ones that had been deleted. I have to turn off the extra themes, except the defualt one, save that then come back and reselcet the themes as usable and save that for the config setting to change and not have the deleted themes in it anymore.

So, before anyone says anything, this is not an XT-Temas block bug. It's reading the data from the system. There needs to be something in place to update this themes_allowed config setting if it doesn't match the actual thtems available.

Perhaps someone needs to or can develop a module that will run system wide checks on an XOOPS system?

Anyways, this is, in my not so humble opinion, a bug/problem in the XOOPS core.

2
Kerjin
Re: Deleting theme creates blank page
  • 2004/7/17 13:58

  • Kerjin

  • Just popping in

  • Posts: 48

  • Since: 2004/3/10


Just out of curiosity, but does anyone read these bug reports?

I'm not trying to upset anyone, but, I'm just wondering if I've reported this the right way or not.

3
Dave_L
Re: Deleting theme creates blank page
  • 2004/7/17 14:25

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The selectable themes are stored in the xoops_config table, in the row with conf_name='theme_set_allowed'. So you're saying that row needs to be (somehow) updated if the themes listed are not actually present?

The best place to post confirmed bugs is in the XOOPS sourceforge tracker.

I'm not sure which section, Bugs or RFE (request for enhancement), would be the most appropriate. If you have a specific solution in mind, you could post it in the Patches section.

If you post it there, it would also be a good idea to post the URL here, for cross-referencing purposes.

robekras wrote a XOOPS Checker Module. Currently it only checks file CRCs, but maybe it could be enhanced to do database consistency checks.

Login

Who's Online

388 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 388


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits