Regi Page Uncaught Error

04/08/2016 18:45 zextar#1
Hallo,
ich brauche hilfe. Habe diese fehlermeldung beim erstellen einer Regi-Page.
Serevr läuft und kann man drauf.
Port 3306 ist freigeschaltet für mysql.



Config-Erstellung

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\xampp\htdocs\install.php:290 Stack trace: #0 {main} thrown in D:\xampp\htdocs\install.php on line 290
04/08/2016 19:08 /exit#2
Sollte mit einem richtigen Webspace gehen.
XAMPP ist sowieso einwenig komisch.
04/08/2016 19:45 theo1990#3

Mach mal eine index.php und schreib dort folgendes hin.


Und dann schau mal welche php Version vorhanden ist und dann schaust du ob das mysql Modul aktiviert ist.
04/08/2016 20:07 zextar#4
PHP/7.0.4

Und ja ist aktiviert ( also bei xampp richtig?)
04/08/2016 21:24 theo1990#5
Bei php 7 iss mysql_connect() entfernt worden. Du musst mysqli_connect oder pdo. Schau mal unter [Only registered and activated users can see links. Click Here To Register...] des weiteren ist php 7 noch recht experimentell und sollte noch nicht auf Echt Systemen genutzt werden. Du kannst auch ältere Versionen von xampp installieren.
04/08/2016 21:34 zextar#6
Ja habe eine ältere Version versucht aber wenn ich dann 127.0.0.1/install.php eingebe kann ich alles ausfüllen und auf weiter aber dann steht da nur Config-Erstellung([Only registered and activated users can see links. Click Here To Register...]) und es passiert nicht.
04/08/2016 21:53 #Metho#7
Du könntest zum emulieren auch [Only registered and activated users can see links. Click Here To Register...] benutzen, welches um einiges effizienter ist als XAMPP. Die benutzen keine experimentellen Versionen in der Grundkonfiguration und du kannst unter Einstellungen -> PHP, die PHP Version gegebenenfalls ändern.

[Only registered and activated users can see links. Click Here To Register...]
04/08/2016 22:01 theo1990#8
Quote:
Originally Posted by zextar View Post
Ja habe eine ältere Version versucht aber wenn ich dann 127.0.0.1/install.php eingebe kann ich alles ausfüllen und auf weiter aber dann steht da nur Config-Erstellung([Only registered and activated users can see links. Click Here To Register...]) und es passiert nicht.

Dann schau mal in die Apache error logs nach.

Wenn du garnicht klar kommst poste mal die regi page hier damit ich mal schauen Kann

Es ist in diesem Fall Wurst was er für ein Programm benutzt die regi page iss einfach nicht gut gecodet.
04/08/2016 22:22 zextar#9
Das sind die logs :

[Fri Apr 08 21:30:03.812540 2016] [ssl:warn] [pid 5672:tid 396] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:03.945491 2016] [ssl:warn] [pid 5672:tid 396] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:03.988504 2016] [mpm_winnt:notice] [pid 5672:tid 396] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.5.33 configured -- resuming normal operations
[Fri Apr 08 21:30:03.988504 2016] [mpm_winnt:notice] [pid 5672:tid 396] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Fri Apr 08 21:30:03.988504 2016] [core:notice] [pid 5672:tid 396] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 08 21:30:03.989481 2016] [mpm_winnt:notice] [pid 5672:tid 396] AH00418: Parent: Created child process 1228
[Fri Apr 08 21:30:04.400063 2016] [ssl:warn] [pid 1228:tid 408] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:04.526173 2016] [ssl:warn] [pid 1228:tid 408] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:04.565276 2016] [mpm_winnt:notice] [pid 1228:tid 408] AH00354: Child: Starting 150 worker threads.
[Fri Apr 08 21:30:31.456938 2016] [ssl:warn] [pid 6136:tid 420] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:31.585000 2016] [ssl:warn] [pid 6136:tid 420] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:31.618238 2016] [mpm_winnt:notice] [pid 6136:tid 420] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.5.33 configured -- resuming normal operations
[Fri Apr 08 21:30:31.618238 2016] [mpm_winnt:notice] [pid 6136:tid 420] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Fri Apr 08 21:30:31.618238 2016] [core:notice] [pid 6136:tid 420] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 08 21:30:31.619215 2016] [mpm_winnt:notice] [pid 6136:tid 420] AH00418: Parent: Created child process 3936
[Fri Apr 08 21:30:32.032732 2016] [ssl:warn] [pid 3936:tid 420] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:32.151994 2016] [ssl:warn] [pid 3936:tid 420] AH01909: [Only registered and activated users can see links. Click Here To Register...] server certificate does NOT include an ID which matches the server name
[Fri Apr 08 21:30:32.189145 2016] [mpm_winnt:notice] [pid 3936:tid 420] AH00354: Child: Starting 150 worker threads.
[Fri Apr 08 21:30:55.778910 2016] [:error] [pid 3936:tid 1748] [client 127.0.0.1:51711] PHP Fatal error: Call to undefined function mysql_connect() in C:\\xampp\\htdocs\\index.php on line 11
[Fri Apr 08 21:31:27.910584 2016] [:error] [pid 3936:tid 1748] [client 127.0.0.1:51714] PHP Fatal error: Call to undefined function mysql_connect() in C:\\xampp\\htdocs\\install.php on line 354
[Fri Apr 08 21:45:07.284401 2016] [:error] [pid 3936:tid 1748] [client 127.0.0.1:51725] PHP Fatal error: Call to undefined function mysql_connect() in C:\\xampp\\htdocs\\install.php on line 354
[Fri Apr 08 21:45:10.912514 2016] [:error] [pid 3936:tid 1748] [client 127.0.0.1:51725] PHP Notice: Undefined index: submit in C:\\xampp\\htdocs\\install.php on line 383
[Fri Apr 08 21:45:53.026086 2016] [:error] [pid 3936:tid 1748] [client 127.0.0.1:51726] PHP Fatal error: Call to undefined function mysql_connect() in C:\\xampp\\htdocs\\install.php on line 403, referer: [Only registered and activated users can see links. Click Here To Register...]




und ich benutze dieHomepage by King Sora & Ownii [1.1]