1
hardyvoje
templates_c files deleted, how to recover it?
  • 2006/6/25 18:54

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I have deleted files from template_c folder, because I uploaded new theme files and i'm using this method to force XOOPS to use new files insteed of cahced ones.

Now, my XOOPS has blank pages with debug errors:

Warning [PHP]: fetch(C:/site/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(C:/site/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(C:/site/templates_c\%%20^200^200DC337%%theme.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1248
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%20^200^200DC337%%theme.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1248


It's clear, deleted files mising. I tried this way of theme reseting on other XOOPS installations and XOOPS sucessfully recreated this files, but, this is some older version of XOOPS 2 (I don't know which one, other guy installed). Can someone please help me, how to tell XOOPS to recreate there chache files?

Thanks in advance!
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

2
snow77
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:03

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


it's ok to delete all files in templates_c. Make sure templates_c , cache, and uploads folder are chmod 777 and update the modules you think are causing problem from the module administration panel.

3
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:17

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


hm, the problem is that i can't go into admin pan, because this is at home page, (main pages)

hmmm...
?

(system module)
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

4
snow77
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:21

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


I don't understand what your saying. First go to your FTP and chmod 777 the folders I mentioned.

5
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:25

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I'm using Web File Manager, I don't like it but I must because of server administrator that is affraid of FTP, so, what I can see, that all mentioned folders are writable.

I know that it works fine, because this XOOPS worked a little bit, before i deleted this files and uploaded new theme...

Now I'm wondering how to update modules cause i can't go to admininistration pages, I can't see nothing...

thanks for help!
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

6
jensclas
Re: templates_c files deleted, how to recover it?

Check the FAQ on blank pages to find ways into your site. There is a part that deales with what 'Failed opening required' could mean. Once back in your site...go for the default theme till you sort things out.

Quote:
I'm using Web File Manager, I don't like it but I must because of server administrator that is affraid of FTP


I would be looking to change hosts to one that will allow ftp - it is a rather essesntial ingredient for managing a XOOPS site.

Quote:
this is some older version of XOOPS 2

Once you do get it back up and running I would be upgrading it to the most recent stable release...there are FAQ's on how to do this too.

Quote:
I have deleted files from template_c folder, because I uploaded new theme files and i'm using this method to force XOOPS to use new files insteed of cahced ones.


Make sure that uploaded theme file did not get corrupted along the way...and check you follow all steps necessary when installing a new theme...it is not enough to simply upload the files...

HTH

7
rowdie
Re: templates_c files deleted, how to recover it?
  • 2006/6/26 4:22

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Can you log in when you go directly to /user.php?

If so, check in system admin -> general preferences section whether you have the option to 'Update module template .html files from themes/your theme/templates directory?' set to Yes.

8
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/26 5:52

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I can not, but, what is SQL line to turn on this config?

I can upload php script to set that.
FreeResources Design Portal: http://www.omnetwork.net | Open Source Gaming Portal: http://www.osgamer.org

Login

Who's Online

206 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 206


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