Vika tietokannassa, kun etsi-toiminto ei toimi?

phpBB3 ongelmia. Neuvoja ja ohjeita kuinka korjata.
MOD kysymykset, niiden asennukset ja omien muokkausten ongelmat alempana olevalle MOD alueelle.
Artturi
MODaaja
MODaaja
Viestit:165
Liittynyt:23 Marras 2005, 23:28
Viesti:
Vika tietokannassa, kun etsi-toiminto ei toimi?

Viesti Kirjoittaja Artturi » 14 Maalis 2011, 13:52

Osa Etsi -toiminnon tuloksista on tyhjiä ja vain otsikko näkyy.
Etsinnän tulossivun yläreuna näyttää tälläiseltä

Koodi: Valitse kaikki

[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 242: preg_replace() expects parameter 4 to be long, string given
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
Sivusto http://www.rintamamiestalo.fi
Viimeksi muokannut Lurttinen, 15 Maalis 2011, 01:27. Yhteensä muokattu 1 kertaa.
Syy: etsi-toiminto

Avatar
Lurttinen
phpBB nub
phpBB nub
Viestit:4787
Liittynyt:13 Marras 2005, 18:41
Paikkakunta:Tampere
Viesti:

Re: Vika tietokannassa, kun esi-toiminto ei toimi?

Viesti Kirjoittaja Lurttinen » 14 Maalis 2011, 14:35

Koita siirtää tuo tiedosto uusiksi palvelimelle.
/includes/functions_content.php, jos vaikka olisi korruptoitunut tai jotain.
Ota tiedosto puhtaasta phpBB-paketista, jonka saat ladattua phpbb.comista.

Artturi
MODaaja
MODaaja
Viestit:165
Liittynyt:23 Marras 2005, 23:28
Viesti:

Re: Vika tietokannassa, kun esi-toiminto ei toimi?

Viesti Kirjoittaja Artturi » 14 Maalis 2011, 20:31

Ei lähtenyt toimimaan.

/includes/functions.php viittaa riveihin

Koodi: Valitse kaikki

	// application/xhtml+xml not used because of IE
	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');
/includes/functions_content.php rivillä 242

Koodi: Valitse kaikki

$text = preg_replace('/ +/', ' ', strtr($text, "\t\n\r\x0C ", '     '), $text);
/includes/functions_content.php rivillä 2975

Koodi: Valitse kaikki

echo '<b>[phpBB Debug] PHP Notice</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
Osaako joku kertoa mitä noilla riveillä tapahtuu?

Avatar
Lurttinen
phpBB nub
phpBB nub
Viestit:4787
Liittynyt:13 Marras 2005, 18:41
Paikkakunta:Tampere
Viesti:

Re: Vika tietokannassa, kun esi-toiminto ei toimi?

Viesti Kirjoittaja Lurttinen » 14 Maalis 2011, 22:23

Kurkkaas olisko tuosta ketjusta apua?
http://www.phpbb.com/community/viewtopi ... &t=2114604

Itse on ole tällaiseen vikaan koskaan törmännyt, mutta tällainen ongelma oli tullut jollekin toiselle PHP-version päivityksen yhteydessä.

Viestiketju Lukittu

Paikallaolijat

Käyttäjiä lukemassa tätä aluetta: Majestic-12 [Bot] ja 105 vierailijaa