1 | Fatal error: Call to undefined function diedie_mysql() in /var/www/vhosts/eldacraft.de/eldacraft/neu/install.php on line 42 |
verwendete ilch Version: 1.1 P
betroffene Homepage: externer Link
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
1 | Fatal error: Call to undefined function diedie_mysql() in /var/www/vhosts/eldacraft.de/eldacraft/neu/install.php on line 42 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <?php # Copyright by: Manuel Staechele # Edit by: Nero # Support: www.ilch.de function die_mysql(){ die ( '<span style="color:#FF0000;font-size:bold;">Beim installieren ist ein Fehler aufgetreten, bitte benachrichtigen Sie umgehend den Entwickler</span><br><br>Fehler: <br>' .mysql_error());} if ( empty ( $_POST [ 'step' ]) ) { ?> <html> <head><title>... ::: Installations-Script by Nero ::: ...</title> <link rel= "stylesheet" href= "include/admin/templates/style.css" type= "text/css" > </head> <body> <form action= "install.php" method= "POST" > <input type= "hidden" name= "step" value= "3" > <table width= "400" class = "border" border= "0" cellspacing= "1" cellpadding= "3" align= "center" > <tr class = "Chead" > <td colspan= "2" ><b>Installation</b></td> </tr><tr class = "Cmite" > <td colspan= "2" align= "center" >Um das Modul zu installieren bitte auf "Installieren" klicken <br></td> </tr><tr class = "Cnorm" > <td> "include/images/articles" CHMOD 777<br></td> <td><?php if ( @ is_writeable ( 'include/images/articles' ) ) { echo '<font color="#40aa00"><b>RICHTIG</b></font>' ; } else { echo '<font color="#FF0000"><b>FALSCH</b></font>' ; } ?></td> </tr><tr class = "Cdark" > <td colspan= "2" align= "center" ><input type= "submit" value= "Installieren" ></td> </tr> </table> </form> </body> </html> <?php } elseif ( $_POST [ 'step' ] == '3' ) { define ( 'main' , TRUE ); require_once ( 'include/includes/config.php' ); require_once ( 'include/includes/func/db/mysql.php' ); db_connect(); $sql_file = implode( '' ,file( 'install.sql' )); $sql_file = preg_replace ( "/(\015\012|\015|\012)/" , "\n" , $sql_file ); $sql_statements = explode ( ";\n" , $sql_file ); foreach ( $sql_statements as $sql_statement ) { if ( trim( $sql_statement ) != '' ) { # echo '<pre>' . $sql_statement . '</pre><hr>' ; db_query( $sql_statement ) OR diedie_mysql(); } } ?> <html> <head><title>... ::: Installations-Script by Nero ::: ...</title> <link rel= "stylesheet" href= "include/admin/templates/style.css" type= "text/css" > <body> <table width= "400" class = "border" border= "0" cellspacing= "0" cellpadding= "25" align= "center" > <tr> <td class = "Cmite" > <h2><b>Installation abgeschlossen</b></h2> <br /><br /> Sofern keine Fehler aufgetreten sind ist die Installation abgeschlossen. <br /><br /><br /> <span style= "color:#FF0000;font-size:bold;" >Bitte unbedingt install.sql und install.php löschen!</span> </td> </tr> </table> </body> </html> <?php } ?> |
1 | db_query($sql_statement) OR diedie_mysql(); |
1 | db_query($sql_statement) OR die_mysql(); |
Geschlossen | ||
![]() |
Zurück zu Module und Modifikationen |