SmartFAQ is developed by The SmartFactory (, a division of InBox Solutions (

How to solve problems with templates the BRUTAL way
In the following advice database-changes have to be made and could be therefore dangerous.

I do NOT take any responsibilities for damages resulting from this advice. You do this AT YOUR OWN RISK!

Perhaps you experienced this problems if you have a XOOPS-system installed for a long and after all the upgrades you have some problems to change templates although automatic update of templates is activated.

Please make a database-backup before!!!!!

Step 1: Log in as admin and go to the system preferences and activate the automatic update of templates and themes. Then go to Administration / Templates.
Step 2: Download the current used templateset.
Step 3: Go to Administration / Modules.
Step 4: Open phpMyAdmin of your XOOPS-database in another browser-tab or -window.
Step 5: Now act fast! EMPTY (NOT DELETE) the tables yourprefix_tplfile and yourprefix_tplsource.
Step 6: Update the system-module first and then generate the system-templates of your used templateset. Update all other modules and generate their templates anew.
Step 7: Unzip the downloaded templateset and upload the templates with the templates-manager.
Step 8: Hope that all is functioning now .

The comments are owned by the author. We aren't responsible for their content.

 I got trouble with this...

Due to certain unknown reason, when i try to change my user menu using template, i got the problem to edit it, it always failure to insert the data into database.

so i try the solution above...step by step...

but after that i cannot see anything in my content box...all the content inside box is gone...

so i guess i must be regenerate the file for it, but the problem is, i cannot even log in to the admin now... I get the error:

Smarty error: unable to read resource: "db:system_redirect.html" in file /home/....../class/smarty/Smarty.class.php line 1084

So now what can i do besides restore database?

I had make sure cache, template_c folder set to 777.

can i just insert back the particular table into 2 of the aboved mentioned table?

I'm using XOOPS


 Re: I got trouble with this...

Well, there is an error in the template file.

If you can post the contents, maybe from database... then we can help debug it.



 Re: I got trouble with this...

I can't, because, i had empty the particular table as instructed.

All help is appreciated



Who's Online

94 user(s) are online (1 user(s) are browsing XOOPS FAQ)

Members: 0

Guests: 94



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

Did you know ?

that you can open your closed site in the database when you canĀ“t login anymore?

Random question

What is CSS?