|
Blue text on templates.
|
|
07-08-2009, 07:29 PM
Post: #1
|
|||
|
|||
| Blue text on templates. | |||
|
07-08-2009, 07:35 PM
(This post was last modified: 07-08-2009 07:37 PM by MattRogowski.)
Post: #2
|
|||
|
|||
|
RE: Blue text on templates.
Your master header template has been deleted so it's being treated as custom. Run this query in phpMyAdmin:
Code: INSERT INTO mybb_templates (title,template,sid,version) VALUES('header', '<div id="container">My Personal Site - Twitter MyBB Support Team |
|||
|
07-08-2009, 07:49 PM
Post: #3
|
|||
|
|||
|
RE: Blue text on templates.
I don't use phpmyadmin or anything else to run query's I run my site on SQLite.
Any other way too fix it? |
|||
|
07-08-2009, 07:55 PM
Post: #4
|
|||
|
|||
|
RE: Blue text on templates.
Well, you need some sort of query to add the master template to the database again, I don't know SQLite syntax so unless someone else does, you'll need to adapt that query, or find a way to add the data in manually.
My Personal Site - Twitter MyBB Support Team |
|||
|
07-08-2009, 08:08 PM
Post: #5
|
|||
|
|||
|
RE: Blue text on templates.
Would a plugin to run queries fit? There are two if I'm not wrong.
|
|||
|
07-08-2009, 08:25 PM
Post: #6
|
|||
|
|||
|
RE: Blue text on templates.
Possibly but I'm not sure if they would work with SQLite, they may only be built to deal with MySQL, but they're worth a try I guess.
My Personal Site - Twitter MyBB Support Team |
|||
|
07-08-2009, 08:37 PM
(This post was last modified: 07-08-2009 08:37 PM by Lunty.)
Post: #7
|
|||
|
|||
RE: Blue text on templates.
(07-08-2009 08:08 PM)faviouz Wrote: Would a plugin to run queries fit? There are two if I'm not wrong. Guess Mini SQL wasn't worth the try after all my site has suddenly froze straight after I ran the query. But now im pretty darn gutted just lost 3 theme's completely that took me week's. EDIT: Ok nvm it cameback thank god. |
|||
|
07-08-2009, 08:39 PM
Post: #8
|
|||
|
|||
|
RE: Blue text on templates.
You haven't lost the entire theme, just the header has a problem... doesn't your host give you access to sqlitemanager??
My Personal Site - Twitter MyBB Support Team |
|||
|
07-08-2009, 08:47 PM
Post: #9
|
|||
|
|||
|
RE: Blue text on templates.
Nope phpmyadmin is banned because it so resource intensive so a few of the high tech people made a custom SQL db manager just waiting on a reply from them now over at my host's forum.
Also i just ran the query again and now give's this error. http://h.imagehost.org/view/0644/Mini_SQL_Query_Page |
|||
|
07-08-2009, 08:51 PM
(This post was last modified: 07-08-2009 08:52 PM by MattRogowski.)
Post: #10
|
|||
|
|||
|
RE: Blue text on templates.
Ah... well, I'm not sure if that's because the SQLite query structure is different from MySQL query structure, or because " and ' need to be escaped... try this, this is with " and ' escaped:
Code: INSERT INTO mybb_templates (title,template,sid,version) VALUES('header', '<div id=\"container\">My Personal Site - Twitter MyBB Support Team |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help

![[Image: header.jpg]](http://h.imagehost.org/0154/header.jpg)


