A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/Jenja/www/mcpaste.de/www/system/core/Exceptions.php:272)

Filename: view/download.php

Line Number: 2

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/Jenja/www/mcpaste.de/www/system/core/Exceptions.php:272)

Filename: view/download.php

Line Number: 3

database->query ($SQLabfrage1); if (!$Recordset) throw new Exception("Keine Challanges gefunden"); if ($Recordset){ // Benoetigte Eintraege für HTML-Ausgabe auslesen $Record = $Recordset->fetch_assoc(); $anzahl = $Record ["challange"]; } $Recordset = $this->database->query ($SQLabfrage2); if (!$Recordset) throw new Exception("Keine Challanges gefunden"); $bilder = array(); $bild = array(); if ($Recordset){ // Benoetigte Eintraege für HTML-Ausgabe auslesen $Record = $Recordset->fetch_assoc(); while ($Record) { $bild["bild"] = $Record["src"]; $bild["votes"] = $Record["votes"]; $bild["id"] = $Record["id"]; $uploader = $Record["uploader"]; $bilder[$uploader] = $bild; $Record = $Recordset->fetch_assoc(); } $Recordset->free(); } return $bilder; } protected function generateView() { $bilder = $this->getViewData(); $this->generatePageHeader('Gimpfight'); echo <<GIMPBATTLE
bildrechts
EOT; $this->generatePageFooter(); } protected function processReceivedData() { parent::processReceivedData(); $this->defaultwahl = 0; $this->anzahl = 0; // Aufruf prüfen: if (isset($_POST["in"]) && isset($_POST["in"])) { // Aufruf durch Formular $id = $_POST["in"]; $SQLabfrage = "SELECT * FROM bilder WHERE id = '$id'"; $Recordset = $this->database->query ($SQLabfrage); $Record = $Recordset->fetch_assoc(); $count = $Record["count"]; $Recordset.free(); $count = $count +1; $SQLabfrage = "INSERT INTO bilder SET count = '$count'"; $this->database->query ($SQLabfrage); } } public static function main() { try { $page = new index(); $page->processReceivedData(); $page->generateView(); } catch (Exception $e) { header("Content-type: text/plain; charset=UTF-8"); echo $e->getMessage(); } } } index::main();

A PHP Error was encountered

Severity: 8192

Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

Filename: database/DB_driver.php

Line Number: 1876