FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Saving theme template errors
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Saving theme template errors [message #158584] Wed, 04 March 2009 21:33 Go to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Hi, sorry me again.

When I'm trying to save changes to my theme templates, I am getting the following error

Unable to open file /[location]/FUDforum/src/db.inc.t


The file keeps deleting itself every time I try and save a theme change, but I can add it back in and CHMOD it to 777, no idea why it can't open it.
Does anyone have any ideas?
Re: Saving theme template errors [message #158593 is a reply to message #158584] Thu, 05 March 2009 10:58 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Very odd. Can you please post a small procedure to reproduce the problem so I can try it on my forum?
Re: Saving theme template errors [message #158594 is a reply to message #158584] Thu, 05 March 2009 11:05 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes   United Kingdom
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Ok, I am going into ACP, template editor, headers, header.tmpl, then changing a link to an image I have in there. Clicking on 'Save Changes' and I get a white screen with the above error contained.

Then when I check my server for the db.inc.t file, it is listed but will not CHMOD stating it does not exist!

Again this is all since my website was restored....

Thanks Frank

[Updated on: Thu, 05 March 2009 11:06]

Report message to a moderator

Re: Saving theme template errors [message #158596 is a reply to message #158594] Thu, 05 March 2009 11:18 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
It's working on my forum.

Please check if your $DATA_DIR is correct in your GLOBALS.php file. It should be something like "/[location]/FUDforum/".
Re: Saving theme template errors [message #158597 is a reply to message #158584] Thu, 05 March 2009 20:46 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Hi Frank,

It is correct in the Globals....
Re: Saving theme template errors [message #158606 is a reply to message #158597] Fri, 06 March 2009 15:56 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Maybe you should just make a forum datadump, reinstall FUDforum and reimport your data.
Re: Saving theme template errors [message #158621 is a reply to message #158584] Sun, 08 March 2009 16:48 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Yeah I think I'll try that, I'm always a bit worried that my forum will crash when I do that though!
Does it take the forum offline?
Re: Saving theme template errors [message #158634 is a reply to message #158621] Sun, 08 March 2009 20:33 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
The forum datadump can be done on-line. Needless to say, you should test the procedure before attempting it on your life site.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Getting started
Next Topic: contributions only for registered user
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 22 16:37:25 GMT 2024

Total time taken to generate the page: 0.02404 seconds