[3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3 [10

Fragen rund um die Installation, Administration und Benutzung von phpBB.
Forumsregeln
Bitte im Thementitel den Präfix deiner phpBB-Version angeben
Antworten
Henry-BDS31
Mitglied
Beiträge: 8
Registriert: 31.01.2018 19:54
Wohnort: Dresden
Kontaktdaten:

[3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3 [10

Beitrag von Henry-BDS31 »

Support Request Template
What version of phpBB are you using? phpBB 3.2.2
What is your board's URL? https://naechstenliebe-dd.de/tratscheckerl
Who do you host your board with? Deutsche Telekom
How did you install your board? I used a download package provided by phpbb.de
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What styles do you currently have installed? ---
What language(s) is your board currently using? german, English
Which database type/version are you using? MySQL 5
Which php-version are you using? php 7
What is your level of experience? New to PHP but not phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Installation bricht bei etwa 77% ab.
Mein Problem: Rot:

Code: Alles auswählen

General Error:SQL ERROR [ mysqli ]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 
[1064] SQL 
SELECT * FROM phpbb_styles s WHERE s.style_id = 
in file /home/www/public_html/tratscheckerl/phpbb/db/driver/driver.php on line 996
BACKTRACE
FILE: (not given by php)
	LINE: (not given by php)
		CALL: installer_msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
	LINE: 996
		CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
	LINE: 193
		CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
	LINE: 329
		CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/user.php
	LINE: 264
		CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/phpbb/install/module/install_finish/task/install_extensions.php
	LINE: 103
		CALL: phpbb\user->setup()
FILE: [ROOT]/phpbb/install/module_base.php
	LINE: 149
		CALL: phpbb\install\module\install_finish\task\install_extensions->run()
FILE: [ROOT]/phpbb/install/installer.php
	LINE: 219
		CALL: phpbb\install\module_base->run()
FILE: [ROOT]/phpbb/install/controller/install.php
	LINE: 133
		CALL: phpbb\install\installer->run()
FILE: (not given by php)
	LINE: (not given by php)
		CALL: phpbb\install\controller\install->phpbb\install\controller\{closure}()
FILE: [ROOT]/vendor/symfony/http-foundation/StreamedResponse.php
	LINE: 111
		CALL: call_user_func()
FILE: [ROOT]/vendor/symfony/http-foundation/Response.php
	LINE: 377
		CALL: Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
FILE: [ROOT]/install/app.php
	LINE: 62
		CALL: Symfony\Component\HttpFoundation\Response->send()
Gelb

Code: Alles auswählen

[phpBB Debug] "Undefined index: user_id" in file /home/www/public_html/tratscheckerl/phpbb/session.php on line 683
[phpBB Debug] "Undefined index: user_type" in file /home/www/public_html/tratscheckerl/phpbb/session.php on line 1312
[phpBB Debug] "Undefined index: user_type" in file /home/www/public_html/tratscheckerl/phpbb/session.php on line 692
[phpBB Debug] "Undefined index: user_lang" in file /home/www/public_html/tratscheckerl/phpbb/user.php on line 119
[phpBB Debug] "Undefined index: user_dateformat" in file /home/www/public_html/tratscheckerl/phpbb/user.php on line 120
[phpBB Debug] "Undefined index: user_timezone" in file /home/www/public_html/tratscheckerl/phpbb/user.php on line 121
[phpBB Debug] "Undefined index: user_style" in file /home/www/public_html/tratscheckerl/phpbb/user.php on line 258
Generated by SRT Generator

Guten Abend!

In der Suche hier habe ich leider nichts gefunden, jedenfalls nichts, was mir geholfen hätte.
Habe schon mehrfach neu installiert, temp-Ordner geleert, Datenbank neu erstellt ...
... das Ergebnis ist leider immer das obige.

Vorab vielen Dank für Eure Hilfe!
Zuletzt geändert von canonknipser am 13.02.2018 13:14, insgesamt 1-mal geändert.
Grund: [code]-Tags eingefügt
Pyroman
Mitglied
Beiträge: 6
Registriert: 03.02.2018 11:59

Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3

Beitrag von Pyroman »

Hey Henry,
Ich bin zwar kein Profi und hab da nur begrenzt Ahnung aber auf was oder bei wem hostest du deine Datenbank und webspace ?

So wie sich das liest scheint dein SQL Server manche befehle nicht zu unterstützen bzw nicht vernünftig Umzusetzten
Benutzeravatar
canonknipser
Ehemaliges Teammitglied
Beiträge: 2053
Registriert: 10.09.2011 11:14
Kontaktdaten:

Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3

Beitrag von canonknipser »

Ist das eine Neuinstallation oder der Update eines bestehenden Bords?
Grüße, canonknipser
"there are only 10 types of people: those, who understand binary and those, who don't"
just arrived ;) - Bilder
Kein Support via PN, nur im Board und (manchmal) im IRC
Henry-BDS31
Mitglied
Beiträge: 8
Registriert: 31.01.2018 19:54
Wohnort: Dresden
Kontaktdaten:

Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3

Beitrag von Henry-BDS31 »

Guten Abend!

... das ist eine Neuinstallation.
Bin leider immer noch nicht weiter ...

Datenbank und webspace sind bei der Telekom,
neue Plattform mit php7 ...

Vielen Dank für Eure Hilfe!

Automatisch dem Beitrag hinzugefügt nach 23 Minuten 46 Sekunden. Bitte Regel für „Topic-Bumping“ beachten. Danke.

Ich bitte aufrichtig um Entschuldigung!


Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3 [10
Nachtrag: Habe im ersten Beitrag

"What is your board's URL? https://naechstenliebe-dd.de/tratscheckerl"

stehen.
Habe dort nun das alte Forum drin.
Richtig müßte es nun
What is your board's URL? https://naechstenliebe-dd.de/tratscheckerl-neu
heißen.
Benutzeravatar
canonknipser
Ehemaliges Teammitglied
Beiträge: 2053
Registriert: 10.09.2011 11:14
Kontaktdaten:

Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3

Beitrag von canonknipser »

"PHP 7" is ein weiter Begriff - kannst du das näher spezifizieren? 7.0, 7.1 oder 7.2?

Der SQL-Fehler deutet auf ein Problem mit der Style-DB hin.
Hast du vor der Installation einen Style zugefügt / gelöscht?

Ich sehe, dass du in einer Routine /phpbb/install/module/install_finish/task/install_extensions.php abbrichst. Hast du denn schon irgendwelchle Erweiterungen (Extensions) in den ext-Ordner geladen? Per default sollte dort nur die Extension phpbb/viglink drin sein.



Hast du irgendwelche Anpassungen an den Sourcen vorgenommen, bevor du die Installation gestartet hast?
Grüße, canonknipser
"there are only 10 types of people: those, who understand binary and those, who don't"
just arrived ;) - Bilder
Kein Support via PN, nur im Board und (manchmal) im IRC
Henry-BDS31
Mitglied
Beiträge: 8
Registriert: 31.01.2018 19:54
Wohnort: Dresden
Kontaktdaten:

Re: [3.2] SQL ERROR [ mysqli ] ... error in your SQL syntax; ... check ... for the right syntax to use near '' at line 3

Beitrag von Henry-BDS31 »

... php ist 7.0.27-0+deb9u1

das was derzeit im betreffenden phpbb-Ordner zu finden ist,
ist ein Versuch, phpBB mit innodb, statt myisam zu installieren. Deshalb, weil ich dachte, das könnte das Problem beheben.
Wenn das den Profis hier hilft, mach ich nochmal eine normale Installation,
das Ergebnis ist aber fast das Gleiche: Abbruch bei etwa 77% ...

Und nein, keine Erweiterungen oder ähnliches,
sondern das Originalpaket von hier.

______________________________

Update vom 16. Februar, 1.47 Uhr:

Ich glaube, ich habe das Problem gefunden:
Meine Datenbank unterstützt die Engine MyISAM nicht, NUR InnoDB.
Gibt es eine Möglichkeit (evtl. durch Änderung der Installationsdateien,
bzw. der Dateien, welche die Tabellen anlegen)
phpBB trotzdem zu installieren?
Sollte ich für diese Frage ein neues Thema starten?

Vielen vielen Dank!

Einen schönen Tag
wünscht Euch Henry
Antworten

Zurück zu „Support-Forum“