1
ReCkage
Templates
  • 2004/11/25 3:09

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


I made a mistake editing the system_blobk_login.html template, the edit was not done to the default. But now I can't log in, how do i manually change the template back to default in the database, i went through everything and couldn't find the value to swicth it to default.

any help would be great.

2
brash
Re: Templates
  • 2004/11/25 3:34

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Quick 'n dirty way would be to delete everything in your templates_c directory. If that doesn't work you might be able to edit the database manually to delete your template set. Don't know where off the top of my head though. I'd be making a FULL backup (Files and DB) before doing anything though.

3
ReCkage
Re: Templates
  • 2004/11/25 4:00

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


ya ive tried that and didnt fix the problem.

If anyone knows where that value is in the database, i would really like to know.

And i just realized i posted this in the wrong forum, my bad.

4
brash
Re: Templates
  • 2004/11/25 4:38

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Again, don't quote me on it, but you should find what your after in the xoops_tplset table. Delete you template set record, and you *should* be in action. I didn't really look to see if it was stored anywhere else though.

5
ReCkage
Re: Templates
  • 2004/11/25 13:18

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


i deleted the record for the tempate I created, and deleted all files within the template_c folder, cleared the cache, and it still loads the template I created.

6
ReCkage
Re: Templates
  • 2004/11/25 18:05

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


Anyone, someone must know where that record is stored in the database.

7
rowdie
Re: Templates
  • 2004/11/25 20:38

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


In your database go to the config table. Find the row where conf_name = 'template_set', conf_title = '_MD_AM_DTPLSET' and change the conf_value field to 'default' (minus the '').

8
ReCkage
Re: Templates
  • 2004/11/25 20:57

  • ReCkage

  • Just popping in

  • Posts: 39

  • Since: 2004/5/24


Thank you very much, i was really hoping that I didnt have to start from scrach, teach me not to due regular backups.

Login

Who's Online

320 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 320


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