Elxis CMS Forum
Support => Installation => Topic started by: bibi92 on August 04, 2009, 16:52:25
-
Hi,
I have this error when I try to setup Elxis on Oracle Database :
Warning: ocilogon() [function.ocilogon]: ORA-12154: TNS:could not resolve the connect identifier specified in C:\wamp\www\elxis_2009\includes\adodb\drivers\adodb-oci8.inc.php on line 228
Do you have a solutions,please ?
Thanks
Regards
Bibi92
-
Take a look here:
http://ora-12154.ora-code.com/ (http://ora-12154.ora-code.com/)
and here:
http://www.orafaq.com/wiki/ORA-12154 (http://www.orafaq.com/wiki/ORA-12154)
-
Hi,
Thanks
Elxis is installed on another machine.
How it is possible to use the tns via the interface ?
Thanks
Regards
Bibi92
-
You should ask an Oracle expert. I am not such a guy :)
-
Hi,
Thanks
I'm dba Oracle but how I can configure the db connection settings with :
Enter the database name or pathway. To avoid problems creating the database by the Elxis installer make sure database already exists., I use Oracle SID, but where can I use tnsnames.ora, please or which php file I have to modify ?
Thanks
Regards
Bibi92
-
Hi,
is it possible de setup elxis if the oracle db is on another machine ?
Thanks
Regards
Bibi92
-
Yes, but I guess you have to permit that in db settings.
-
Hi,
Thanks, exactly, I don't understand why It doesn't work, which php file have I to modify ?
Regards
Bibi
-
Here is my local settings for oracle
$mosConfig_host = 'localhost';
$mosConfig_user = 'xxxxx';
$mosConfig_password = 'xxxxx';
$mosConfig_db = 'elxis';
$mosConfig_dbtype = 'oci8';
And it just works....
If the database is on an other machine then you have to set he proper value for the $mosConfig_host parameter.
Elxis database handler: includes/Core/database.php
ADOdb: includes/adodb/adodb.inc.php
oci8 ADOdb extension: includes/adodb/drivers/adodb-oci8.inc.php
-
Thanks, But which php file I have to modify ?
Regards
Bibi
-
Sorry, You have always reply to my question.
Regards
Bibi
-
Thanks, I have another error now :
Deprecated: Function ereg() is deprecated in C:\wamp\www\elxis_2009\installation\includes\elxisinstaller.php on line 419
Regards
Bibi
-
You use php 5.3 or php 6....
ereg functions are deprecated in these versions....
Elxis is not yet ready for php 5.3/6. Use php 5.2
-
I'm dba Oracle but how I can configure the db connection settings with :
Enter the database name or pathway. To avoid problems creating the database by the Elxis installer make sure database already exists., I use Oracle SID, but where can I use tnsnames.ora, please or which php file I have to modify ?
-
I guess you want to SPAM rather than ask.