Wijzigen gegevens in database buiten phpBB om

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
QkulleQ
Berichten: 12
Lid geworden op: 14 feb 2007, 18:12
Locatie: Elsloo
Contacteer:

Wijzigen gegevens in database buiten phpBB om

Bericht door QkulleQ » 27 feb 2007, 11:33

Support Template
  • Wat is het probleem? Ik heb de gegevens van "phpbb_themes" via het stijlformulier allemaal gewist (omdat ik ervan uitging dat alle opmaak via het CSS geregeld zou worden, wat klopt voor mijn eigen forumgedeelte). Maar bij het openen van het beheerdersgedeelte is mijn hele scherm ZWART op mijn logo na). Bij gevolg kom ik ook niet meer bij het stijlformulier om de oude gegevens weer in te voeren. Kan ik buiten phpBB om de gegevens van de tabel "phpbb_themes" veranderen? Ik heb ontdekt dat ik via Mysqladmin de tabel "phpbb_themes" kan benaderen. De gegevens staan inderdaad allemaal op " " (leeg). Kan ik nu via Mysqladmin deze gegevens ook wijzigen? (nooit eerder gewerkt met Mysql).
    Wanneer ontstond het probleem?
    Adres van je forum: http://www.ltv.nu/phpBB2/
    Modifications op je forum:
    Huidige stijl: eigen (thema)stijl, gebaseerd op subSilver
    phpBB versie: laatste
    Waar is je forum gehost:
    Heb je onlangs iets verandert aan je forum?
Overige opmerkingen: Ik verwacht dat als ik die waarden heb aangepast, dat het Beheerdersgedeelte weer in oude glorie zichtbaar zal zijn.
QkulleQ
webmaster LTV.nu

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 27 feb 2007, 15:47

Je kan natuurlijk ook in templates/xxx/admin/page_header.tpl de verwijzing naar de stylesheet activeren en de inline stylesheet verwijderen.
... Maar ik modereer (nog) niet.

QkulleQ
Berichten: 12
Lid geworden op: 14 feb 2007, 18:12
Locatie: Elsloo
Contacteer:

Bericht door QkulleQ » 27 feb 2007, 19:19

Bee schreef:Je kan natuurlijk ook in templates/xxx/admin/page_header.tpl de verwijzing naar de stylesheet activeren en de inline stylesheet verwijderen.
e.e.a. gewijzigd, maar na opstarten van beheerersgedeelte verschijnt de volgende melding : "
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/lta/phpBB2/admin/index.php:3) in /www/htdocs/lta/phpBB2/includes/functions.php on line 941"

Alles opnieuw installeren een betere optie?
QkulleQ
webmaster LTV.nu

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 27 feb 2007, 20:36

Lijkt mij niet nodig, geef eens de bovenste 15 regels van admin/index.php :wink:

Verwijder zowieso eventuele spaties en enters aan het begin van het bestand die voor de <?php staan.
... Maar ik modereer (nog) niet.

QkulleQ
Berichten: 12
Lid geworden op: 14 feb 2007, 18:12
Locatie: Elsloo
Contacteer:

Bericht door QkulleQ » 27 feb 2007, 23:31

Bee schreef:Lijkt mij niet nodig, geef eens de bovenste 15 regels van admin/index.php :wink:

Verwijder zowieso eventuele spaties en enters aan het begin van het bestand die voor de <?php staan.
Dit zijn ze dan :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
{META}
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<link rel="stylesheet" href="templates/LTV/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--

/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com

NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/


/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
QkulleQ
webmaster LTV.nu

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 28 feb 2007, 14:18

Volgens mij is dat niet admin/index.php :wink:
... Maar ik modereer (nog) niet.

QkulleQ
Berichten: 12
Lid geworden op: 14 feb 2007, 18:12
Locatie: Elsloo
Contacteer:

Bericht door QkulleQ » 28 feb 2007, 18:05

Bee schreef:Volgens mij is dat niet admin/index.php :wink:
Sorrie, mijn fout...

<?php
/***************************************************************************
* (admin) index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.40.2.10 2005/12/04 12:55:28 grahamje Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* 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.
*
***************************************************************************/

define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
for($i = 0; $i < sizeof($haystack); $i++ )
{
if( $haystack[$i] == $needle )
{
return true;
}
}
return false;
}
//
// End functions
// -------------
QkulleQ
webmaster LTV.nu

QkulleQ
Berichten: 12
Lid geworden op: 14 feb 2007, 18:12
Locatie: Elsloo
Contacteer:

brontekst van het menu-frame bij openen beheerdersgedeelte

Bericht door QkulleQ » 01 mar 2007, 16:33

Dit is de brontekst van het menu-frame bij openen beheerdersgedeelte. Mogelijk dat daaraan te zien is wat er fout gaat? Alle kleuren staan op # zonder waarde. De pagina is dan ook volledig zwart.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- link rel="stylesheet" href="../templates/subSilver/LTV.css" type="text/css" -->
<style type="text/css">
<!--

/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com

NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/


/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: #;
scrollbar-face-color: #;
scrollbar-highlight-color: #;
scrollbar-shadow-color: #;
scrollbar-3dlight-color: #;
scrollbar-arrow-color: #;
scrollbar-track-color: #;
scrollbar-darkshadow-color: #;
}

/* General font families for common tags */
font,th,td,p { font-family: }
p, td { font-size : 0; color : #; }
a:link,a:active,a:visited { color : #; }
a:hover { text-decoration: underline; color : #; }
hr { height: 0px; border: solid # 0px; border-top-width: 1px;}
h1,h2 { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline { background-color: #; border: 1px # solid; }

/* This is the outline round the main forum tables */
.forumline { background-color: #; border: 2px # solid; }


/* Main table cell colours and backgrounds */
td.row1 { background-color: #; }
td.row2 { background-color: #; }
td.row3 { background-color: #; }


/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: #;
background-image: url(../templates/subSilver/images/);
background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th {
color: #; font-size: 0px; font-weight : bold;
background-color: #; height: 25px;
background-image: url(../templates/subSilver/images/);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(../templates/subSilver/images/);
background-color:#; border: #; border-style: solid; height: 28px;
}


/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
height: 29px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold; border: #; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
background-color: #; border: #; border-style: solid; }

th.thHead,td.catHead { font-size: 0px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; }
th.thTop { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "",;
text-decoration: none; line-height : 120%; color : #;
}


/* General text */
.gen { font-size : 0px; }
.genmed { font-size : 0px; }
.gensmall { font-size : 0px; }
.gen,.genmed,.gensmall { color : #; }
a.gen,a.genmed,a.gensmall { color: #; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 0px; color : # }
a.mainmenu { text-decoration: none; color : #; }
a.mainmenu:hover{ text-decoration: underline; color : #; }


/* Forum category titles */
.cattitle { font-weight: bold; font-size: 0px ; letter-spacing: 1px; color : #}
a.cattitle { text-decoration: none; color : #; }
a.cattitle:hover{ text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 0px; color : #; }
a.forumlink { text-decoration: none; color : #; }
a.forumlink:hover{ text-decoration: underline; color : #; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: 0px; color : #;}
a.nav { text-decoration: none; color : #; }
a.nav:hover { text-decoration: underline; }



/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 0px; color : #;}

/* Location, number of posts, post date etc */
.postdetails { font-size : 0px; color : #; }


/* The content of the posts (body of text) */
.postbody { font-size : 0px; line-height: 18px}
a.postlink:link { text-decoration: none; color : # }
a.postlink:visited { text-decoration: none; color : #; }
a.postlink:hover { text-decoration: underline; color : #}


/* Quote & Code blocks */
.code {
font-family: ; font-size: 0px; color: #;
background-color: #; border: #; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
font-family: ; font-size: 0px; color: #; line-height: 125%;
background-color: #; border: #; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright { font-size: 0px; font-family: ; color: #; letter-spacing: -1px;}
a.copyright { color: #; text-decoration: none;}
a.copyright:hover { color: #; text-decoration: underline;}


/* Form elements */
input,textarea, select {
color : #;
font: normal 0px ;
border-color : #;
}

/* The text input fields background colour */
input.post, textarea.post, select {
background-color : #;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
background-color : #;
color : #;
font-size: 0px; font-family: ;
}

/* The main submit button option */
input.mainoption {
background-color : #;
font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
background-color : #;
font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know ;)
*/
.helpline { background-color: #; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("../templates/subSilver/formIE.css");
-->
</style>
QkulleQ
webmaster LTV.nu

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 01 mar 2007, 18:19

Ik zie niet echt een oorzaak. Wel een suggestie: gebruik voor stukken code de speciale code-bbcode :wink:
... Maar ik modereer (nog) niet.

Gesloten