--- install.php.orig 2011-08-29 16:49:43.906309000 +0200 +++ install.php 2011-08-30 08:21:30.090113000 +0200 @@ -718,7 +718,12 @@ if( $f_log_queries ) { if( $t_sql ) { foreach( $sqlarray as $sql ) { - echo htmlentities( $sql ) . ";\r\n\r\n"; + # "CREATE OR REPLACE TRIGGER" statements has to end with "END;\n/" for Oracle sqlplus + if ( $f_db_type == 'oci8' && stripos( $sql, 'CREATE OR REPLACE TRIGGER' ) === 0 ) { + echo htmlentities( $sql ) . "\r\n/\r\n\r\n"; + } else { + echo htmlentities( $sql ) . ";\r\n\r\n"; + } } } } else {