You're probably okay. Until the money runs out.

Warning: oci_connect(): ORA-12154: TNS:could not resolve service name in /var/www/database/oracle/common.php on line 10

Try and unfuck your database using a handy reference guide