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

Home » FUDforum » How To » Saving theme template errors
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Saving theme template errors [message #158584] Wed, 04 March 2009 16:33 Go to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 05:58 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 06:05 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes   United Kingdom
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 06:06]

Report message to a moderator

Re: Saving theme template errors [message #158596 is a reply to message #158594] Thu, 05 March 2009 06:18 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15:46 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:56 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 12:48 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 16:33 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
The forum datadump can be done on-line. Needless to say, you should test the procedure before attempting it on your life site.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Getting started
Next Topic: contributions only for registered user
Goto Forum:
  

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

Current Time: Thu Oct 19 15:44:37 EDT 2017

Total time taken to generate the page: 0.00699 seconds