Sivu 1/1

Vika tietokannassa, kun etsi-toiminto ei toimi?

Lähetetty: 14 Maalis 2011, 13:52
Kirjoittaja Artturi
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

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

Lähetetty: 14 Maalis 2011, 14:35
Kirjoittaja Lurttinen
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.

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

Lähetetty: 14 Maalis 2011, 20:31
Kirjoittaja Artturi
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?

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

Lähetetty: 14 Maalis 2011, 22:23
Kirjoittaja Lurttinen
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ä.