Pagina 1 van 1

Vraagje PhpBB Debugs?!

Geplaatst: 09 sep 2008, 19:55
door larsisgoed9
  • Adres van je forum: http://pepijnstrips.woelmuis.nl (verhuist)
    Event. modificaties op je forum: Modificaties Database | PhpBB Tracker
    Wanneer ontstond het probleem? Al een tijdje geleden bij m'n vorige forum, maar nu dus weer.
    phpBB versie: 3.0.2

    Heb je onlangs iets veranderd aan je forum? Nee
    Wat is het probleem? Als je naar mijn Database (mods) gaat, dan komen er allemaal fouten, hele rare (Debugs): PHP Notice: in file /includes/functions.php on line 3553: Cannot modify header information - headers already sent by (output started at /language/nl/mods/modsdb.php:1)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3555: Cannot modify header information - headers already sent by (output started at /language/nl/mods/modsdb.php:1)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3556: Cannot modify header information - headers already sent by (output started at /language/nl/mods/modsdb.php:1)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3557: Cannot modify header information - headers already sent by (output started at /language/nl/mods/modsdb.php:1)
    Weet iemand hoe ik die weghaal? Of niet maar kan laten tonen, want het stoort enorm. (Het komt volgens mij, omdat ik de taal bestanden van de Modsdb heb aangepast naar nederlands, en sommige woorden heb veranderd. Beetje raar??!!
    modsb.php (language/nl/mods)

    Code: Selecteer alles

    <?php
    /** 
    *
    * acp_modsdb [English]
    *
    * @package language
    * @version $Id: modsdb.php 109 2008-07-12 16:31:18Z lefty74 $ 
    * @copyright (c) 2007 lefty74 
    * @license http://opensource.org/licenses/gpl-license.php GNU Public License 
    *
    */
    
    /**
    * DO NOT CHANGE
    */
    if (empty($lang) || !is_array($lang))
    {
    	$lang = array();
    }
    
    // DEVELOPERS PLEASE NOTE
    //
    // All language files should use UTF-8 as their encoding and the files must not contain a BOM.
    //
    // Placeholders can now contain order information, e.g. instead of
    // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
    // translators to re-order the output of data while ensuring it remains correct
    //
    // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
    // equally where a string contains only two placeholders which are used to wrap text
    // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
    
    // Bot settings
    $lang = array_merge($lang, array(
    	'MODS_DATABASE_DETAIL'		=> 'Strips Database - Detail',
    	'MODS_DATABASE'				=> 'Strips Database',
    	'MODS_DATABASE_EXPLAIN'		=> 'Je kan je Strips Database hier beheren. Voegtoe, wijzig of verwijder strips van en naar de Database.',
    
    	'MOD_ADD'			=> 'Voeg strip toe',
    	'MOD_ADDED'			=> 'Nieuwe strip succesvol toegevoegd.',
    	'MOD_DELETED'		=> 'Strip succesvol verwijderd.',
    	'MOD_DETAIL'		=> 'Strip details',
    	'MOD_EDIT'			=> 'Wijzig strips',
    	'MOD_EDIT_EXPLAIN'	=> 'Hier kan je een bestaande strip bewerken of toevoegen. Je moet zowieso de titel en versie nummer invoeren. Ook kan je invoeren waar de strip gedownload kan worden etc. etc. .',
    	'BOT_NAME'			=> 'Bot naam',
    	'BOT_NAME_EXPLAIN'	=> 'Alleen gebruikt voor je eigen informatie.',
    	'MOD_NAME_TAKEN'	=> 'Er bestaat al een strip die zo heet. Verzin een andere strip!.',
    	'MOD_UPDATED'		=> 'Bestaande strip succesvol gewijzigd.',
    
    	'ERR_MOD_NO_MATCHES'		=> 'Je moet zowieso de titel en versie nummer invoeren voor deze strip.',
    
    	'NO_MOD'					=> 'Geen strip gevonden met het ingevulde ID.',
    
    	'MOD_INSTALL_DATE'			=>	'Strip gemaakt datum',
    	'MOD_TITLE'					=>	'Strip titel',
    	'MOD_COMMENTS'				=>	'De hele strip',
    	'MOD_PHPBB_VERSION'			=>	'Papieren of digitale versie',
    	'MOD_VERSION'				=>	'Versie',
    	'MOD_VERSION_TYPE'			=>	'Versie Type',
    	'MOD_VERSION_TYPE_EXPLAIN'	=>	'Klaar, NIEUW of Word gemaakt*',
    	'MOD_DESC'					=>	'Waar de strip over gaat',
    	'MOD_AUTHOR'				=>	'Auteur',
    	'MOD_URL'					=>	'Locatie',
    	'VISIT_WEBSITE'				=>	'Originele link naar deze strip',
    	'DOWNLOAD_MOD'				=>	'Link waar strip evt. gedownload kan worden',
    	'LIST_MOD'					=>  '1 Strip online',
    	'LIST_MODS'					=>  '%s Strips Geinstalleerd',
    	'SORT_MOD_TITLE'			=>  'SORT_MOD_TITLE',
    	'SORT_MOD_VERSION'			=>  'SORT_MOD_VERSION',
    	'SORT_MOD_VERSION'			=>  'SORT_MOD_VERSION',
    	'SORT_MOD_AUTHOR'			=>  'SORT_MOD_AUTHOR',
    	'WWW'						=>  'Website',
    	'DOWNLOAD'					=>  'Download',
    	
    ));
    
    ?>
    


    Lars

    (Ja ik heb er een "strips" database van gemaakt!!)
In config.php staan er wel // voor die debug dingen.

Re: Vraagje PhpBB Debugs?!

Geplaatst: 09 sep 2008, 20:31
door Salomon
Je moet in het bestand modsb.php de spatie of enter die voor <? staat, weghalen. Dan is het probleem opgelost :)

Re: Vraagje PhpBB Debugs?!

Geplaatst: 10 sep 2008, 06:02
door larsisgoed9
Maar er staat geen spatie...

(Ik moet nu naar school, rond vijfen vandaag ben ik weer online)

Re: Vraagje PhpBB Debugs?!

Geplaatst: 10 sep 2008, 14:45
door Jim
Probeer eens het bestand op te slaan als UTF-8 zonder BOM. Hoe? Google is je vriend aangezien dat per bewerkprogramma verschillend is.

Re: Vraagje PhpBB Debugs?!

Geplaatst: 10 sep 2008, 17:13
door larsisgoed9
@ JimB.
Bedankt!, de phpBB Debugs zijn eindelijk weg.
(Hoe heb ik het gedaan:
Notepad ++ gedownload (omdat m'n gewone notepad niet genoeg ervoor was...)
Toen onder Codering --> UTF 8 zonder BOM aanklikken.
Opslaan als (modsdb.php).
Uploaden op server, Klaar!)

Lars