| Autor |
Nachricht |
Cenro
phpBB2.de User

Anmeldungsdatum: 01.06.2005
Beiträge: 5
|
Verfasst am:
Mi 01 Jun, 2005 23:12 |
  |
Hi guys,
I have a somewhat odd problem with a fresh install of phpbb2 plus 1.53 beta6:
A) - I uploaded all the files (ensuring they all copied over sucessfully)
B) - I went through the install routine sucessfully
C) - Checked in phpmyadmin and the database has been created successfully I believe (81 tables)
D) - I get the default "please remove /install directory" message as expected
E) - After removing this directory and refeshing the page I then get the following message:
| Code: |
phpBB : Critical Error
Could not get theme data for themes_id [1]
DEBUG MODE
SQL Error : 0 0 |
I have checked the following tables:
phpbb_themes
phpbb_themes_name
phpbb_users
And they all appear to show the correct theme_id (1) - the data within those tables I believe to be correct.
I have tried using the theme fix (found elsewhere on the forums) to duplicate the fisubsilversh theme and switch this to the default theme however then the error is exactly the same but with the theme_id as 2 (for obvious reasons).
Since this is a fresh install, and I beleive I am doing everything correctly, im a little bit stumped!
I have tried installing 5 times now, ensuring in each case that all files are uploaded correctly (with the correct transfer types for files eg ascii, binary etc).
Would anyone be able to shed some light on this?
I wonder whether it is to do with file/folder permissions or perhaps caching (or lack thereof if permissions are wrong)?
Eitherway I would really really appreciate some help on this from someone who understands the problem a little more than myself!!
I can provide dumps of tables, samples of any file code, directory listings as required, but could do with a starting point for the above
Im usually fairly reasonable at problem solving however like I say, this one has be stumped!
Thanks a lot!
Cenro. |
|
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
kambodianboi
phpBB2.de User

Anmeldungsdatum: 24.06.2003
Beiträge: 695
Wohnort: Long Beach, CA [USA]
|
Verfasst am:
Do 02 Jun, 2005 00:41 |
  |
You only have 1 template or more?
The database isn't the only thing that contain your template information.
You need to check your includes/def_themes.php.
If def_themes.php doesn't match with your DB then expect that error. |
_________________ - kambodianboi |
|
     |
 |
Cenro
phpBB2.de User

Anmeldungsdatum: 01.06.2005
Beiträge: 5
|
Verfasst am:
Do 02 Jun, 2005 12:47 |
  |
Thanks for the quick reply Kambodianboi,
I checked the includes/def_themes.php and suspect it is missing some data.
My def_themes is as follows:
| Code: |
<?php
/***************************************************************************
* def_themes_def.php
* ------------------
* begin : 12/11/2003
* copyright : Ptirhiik
* email : admin@rpgnet-fr.com
*
* version : 1.0.0 - 12/11/2003
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
exit;
}
?> |
Would anyone be able to paste the code from "includes/def_themes" for a fresh install (using the default fisubsilversh template) so I can replace/correct this file (assuming it is wrong?)
Regards
Cenro |
|
|
   |
 |
Cenro
phpBB2.de User

Anmeldungsdatum: 01.06.2005
Beiträge: 5
|
Verfasst am:
Do 02 Jun, 2005 12:55 |
  |
Fixed!!
I managed to find a default "def_themes.php" and sure enough the whole fisubsilversh style settings (in def_themes.php) were missing from my fresh install each time, i've replaced this file and the site is now working.
Thanks a lot for your help! |
|
|
   |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 20:27 |
  |
Yeah same has happened to me and I dont know how to recoverd the forums.
_Really_ dont wanna start again, as it has alot of important posts, info and users on it.
Could anyone please help me?
| Code: |
phpBB : Critical Error
Could not get theme data for themes_id [3] |
Is what i see instead of the forum.
I have also edited some stuff in the MYSQL table files the guy said above (To remove this error) but Im still stuck.
Can anybody please tell me how to simply revert it to subsilver with the stuff I need in the MYSQL tables and in the def_themes file too.
Your help is GREATLY appreciated. |
|
|
   |
 |
coolsoft
phpBB2.de User


Anmeldungsdatum: 09.11.2005
Beiträge: 5498
Wohnort: deep in the south (G)
|
Verfasst am:
Di 22 Mai, 2007 20:50 |
  |
|
    |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 20:52 |
  |
And where exactly would they be found please? |
|
|
   |
 |
coolsoft
phpBB2.de User


Anmeldungsdatum: 09.11.2005
Beiträge: 5498
Wohnort: deep in the south (G)
|
Verfasst am:
Di 22 Mai, 2007 20:53 |
  |
|
    |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 21:01 |
  |
I cant seem to find it in phpbb_users
I also tried that .php file above (http://www.phpbb.com/kb/article/set-subsilver-as-the-default-template/) |
|
|
   |
 |
coolsoft
phpBB2.de User


Anmeldungsdatum: 09.11.2005
Beiträge: 5498
Wohnort: deep in the south (G)
|
Verfasst am:
Di 22 Mai, 2007 21:03 |
  |
|
    |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 21:05 |
  |
Do i type that in the query window? |
|
|
   |
 |
coolsoft
phpBB2.de User


Anmeldungsdatum: 09.11.2005
Beiträge: 5498
Wohnort: deep in the south (G)
|
Verfasst am:
Di 22 Mai, 2007 21:06 |
  |
|
    |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 21:08 |
  |
Thanks alot, but did that just wipe my forums? |
|
|
   |
 |
coolsoft
phpBB2.de User


Anmeldungsdatum: 09.11.2005
Beiträge: 5498
Wohnort: deep in the south (G)
|
Verfasst am:
Di 22 Mai, 2007 21:17 |
  |
|
    |
 |
vValentine
phpBB2.de User

Anmeldungsdatum: 22.05.2007
Beiträge: 6
|
Verfasst am:
Di 22 Mai, 2007 21:20 |
  |
Haha thanks for the help, but I seem to
have restored the databses to an earlier date.
Oops.
But thanks alot for your help. |
|
|
   |
 |
|
|
|
|