Accidently emptied data in MYSQL "phpbb_themes"

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785

Accidently emptied data in MYSQL "phpbb_themes"

Postby frankf » Tue Mar 22, 2005 10:15 pm

Can someone provide me with the data contained in MYSQL "phpbb_themes"? I had a theme similar to the phpbb website.

http://www.allsparks.com/forum/index.php


phpBB : Critical Error

Could not get theme data for themes_id [1]
frankf
Registered User
 
Posts: 3
Joined: Tue Mar 22, 2005 10:06 pm
Location: NYC

Postby frankf » Tue Mar 22, 2005 10:38 pm

I manually entered the data from "theme_info.cfg" via phpMyAdmin.

Will this work?
Last edited by frankf on Wed Mar 23, 2005 12:24 am, edited 1 time in total.
frankf
Registered User
 
Posts: 3
Joined: Tue Mar 22, 2005 10:06 pm
Location: NYC

Postby Jools » Tue Mar 22, 2005 10:43 pm

Cheers
Julie :)
no support via PM
Knowledge Base
User avatar
Jools
Former Team Member
 
Posts: 1567
Joined: Sun Dec 01, 2002 5:06 pm
Location: UK

Postby _Pegasus » Tue Mar 22, 2005 10:58 pm

I had the exact same problem this morning as soon as I added the new patches for the admin hack exploit. Bingo! Up came that error.

My site was hacked last night and I came here looking for solutions. I found the new patch info on the home page, followed the link, and replaced the one line each in sessions.php & viewtopic.php per instructions. That's when I encountered the error which prevents me from getting access to the site.

After much head scratching, and restoring the old files, of course, I checked the 'themes' table in the database and notice the default theme was missing. I copied (inserted) that record recod back in from a recent backup and Presto!!... the issue seemed resolved!

BUT... one of the site's member's complained he was getting a similar error ("Template->make_filename(): Error - file does not exist") when trying to access the site. I logged off the site to (I normally just close the window) to re-log on as the member, then I immediately encountered the same error. I can't even get to a log-in screen and am locked out of my site.

At this point, I am stuck!! And haven't clue where else to proceed excpet to ask for assistance here. I tried doing a search on the test of the ewrror message, but the search option here just goes to an empty page... at least when I tried it several times.

Just in case the theme data is an issue, I've copied it below in case anyone can spot something I have missed.


Code: Select all
INSERT INTO `phpbb_themes` VALUES (10, 'BlackSoul', 'BlackSoul', 'BlackSoul.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7D0', '', '', '', '98AAB1', 'B2CC02', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, ''Courier New'', sans-serif', 10, 11, 12, '444444', '00FFFF', 'B2CC02', '', '', '', 0, 0);
INSERT INTO `phpbb_themes` VALUES (13, 'subSilver', 'subSilver', 'subSilver.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, ''Courier New'', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', 0, 0);
INSERT INTO `phpbb_themes` VALUES (4, 'jasidogdotcom', 'jasidogdotcom', 'jasidogdotcom.css', '', 'EFEFEF', '000000', '800000', '800000', '800000', '800000', 'EFEFEF', 'F7F7F7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, ''Courier New'', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', 0, 0);


INSERT INTO `phpbb_themes_name` VALUES (4, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');



Any help would be greatly appreciated.


** The site is http://sc4pegasus.com
Pegasus Productions
SimCity 4 Custom Mods & Fansite
User avatar
_Pegasus
Registered User
 
Posts: 55
Joined: Fri Mar 14, 2003 3:10 pm
Location: Fullerton, CA

Postby frankf » Wed Mar 23, 2005 12:28 am

I used "fix_1.php" as suggested by Jools

All is well

Thanks Julie!

----------------------

Hi,

Have a read of this
http://www.phpbb.com/kb/article.php?article_id=13
_________________
Cheers
Julie
frankf
Registered User
 
Posts: 3
Joined: Tue Mar 22, 2005 10:06 pm
Location: NYC

Postby _Pegasus » Wed Mar 23, 2005 1:36 am

frankf wrote:I used "fix_1.php" as suggested by Jools

All is well

Thanks Julie!

----------------------

Hi,

Have a read of this
http://www.phpbb.com/kb/article.php?article_id=13
_________________
Cheers
Julie



I came across assistance and a solution in another topic... of which there seemed to be quite a few related to this issue. :wink:
Pegasus Productions
SimCity 4 Custom Mods & Fansite
User avatar
_Pegasus
Registered User
 
Posts: 55
Joined: Fri Mar 14, 2003 3:10 pm
Location: Fullerton, CA


Return to 2.0.x Support Forum

Who is online

Users browsing this forum: No registered users and 9 guests