|
Page 1 of 1
|
gearhead
Joined: May 2007
Posts: 274
Location: U.S.A.
|
DEBUG - Critical Error - Could Not Get Theme Data
Hi, I just had to delete my browser history while re-installing templates.
I get this error message when trying to log in after re-opening my browser:
Critical Error
Could not get theme data for themes_id [67]
DEBUG MODE
Line : 1010
File : functions.php
I know it can be fixed, any ideas?
Edited by Guest, Mon 15 Sep, 2008 03:32: Edit Title |
#1 Mon 15 Sep, 2008 02:53 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Inactive User
|
Re: Help! Default Template Reset; Please!
Open:
includes/def_themes.php
This should work.
Follow the sequence and add this, or you can change any of the first digits in any single "Block" of script to 67 as in the example. It is not wise to change Icy Phoenix (ice) to a different digit.
Then go to the ACP > Reset the default style > Optimise the Database. And all should be good.
67 => array('themes_id' => '67', 'template_name' => 'auto', 'style_name' => 'Racing', 'head_stylesheet' => 'style_racing.css', 'body_background' => 'racing', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => 'row3', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '22BB33', 'fontcolor3' => 'DD2222', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
Note: This problem is usually caused by selecting a Style from the Dynamic Menu that is different to the actual Default Theme for the Board, and then uninstalling or changing the Board Default. It is wise to have the Board Default theme the same as your personal selection in the Dynamic Menu when editing / removing themes etc, to avoid this kind of problem.
Last edited by Guest on Mon 15 Sep, 2008 04:29; edited 1 time in total |
#3 Mon 15 Sep, 2008 03:30 |
|
gearhead
Joined: May 2007
Posts: 274
Location: U.S.A.
|
Re: Critical Error - Could Not Get Theme Data For Themes_id
Thank you very much. Lopalong, you are great.
IT'S FIXED!!!
Thanks to chaotic as well, I was about to edit mysql, however, I am not an ace with that subject.
keep up the great work, guys!!!
|
#4 Mon 15 Sep, 2008 03:44 |
|
Inactive User
|
Re: Solved-Critical Error - Could Not Get Theme Data
Glad it's fixed
That's the simple way of doing it. I've also added to the first post the main cause of why it happens, and something to be wary of in future.
Thread Moved to Documentation.
|
#5 Mon 15 Sep, 2008 04:34 |
|
gearhead
Joined: May 2007
Posts: 274
Location: U.S.A.
|
Re: Solved-Critical Error - Could Not Get Theme Data
Man, am I glad you taught me how to do this. I had trouble tonight after totally rebuilding my site from scratch.
Boy, it took a long time, then the above happened to me; so I just followed your instructions, but at first it didn't work.
I had to 'lie' to my database, then of course after I put in a theme that didn't exist, then I re-numbered the one that supposedly the database couldn't find, then presto!
I even went and dropped the mysql table "ip_themes", then imported the table with the themes id it couldn't find.
Man, I think that the database is not really 'real-time' as one might think either!
|
#6 Mon 13 Oct, 2008 07:09 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|