CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 ora_plogon()

Print topic Send  topic

Author Message
Man
Posted: 07/07/2004, 8:10 AM

hello,

I have received this error, trying to use php in cc..with oracle

Fatal error: Call to undefined function: ora_plogon() in /opt/WEBSERVERS/prova/db_oracle.inc on line 72

how I resolve it?

thanks
Man
peterr


Posts: 5971
Posted: 07/07/2004, 11:01 AM

I recommend contatcing support at http://support.codecharge.com.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Man
Posted: 07/08/2004, 12:24 AM

Helo,

but not there is solution?...to nobody never it is verified, seems that it does not find ora_plogon() in the rows db_oracle.inc.

hour contact also the suporto..but they reply?

thanks
bye
Last Hero
Posted: 07/08/2004, 2:35 AM

Your php does not load oracle extension
Look in phpinfo() output, and add change php.ini to load them.
On windows host you need decomment this line:
extension=php_oracle.dll
man
Posted: 07/08/2004, 7:49 AM

thanks
man
Posted: 07/08/2004, 8:02 AM

Hello,

i have decommented line:
extension=php_oracle.dll

in php.ini but it does not work...

my output phpinfo is:

-------------------------------------------------
dbx support enabled
dbx version 1.0.0
supported databases MySQL
ODBC
PostgreSQL
Microsoft SQL Server
FrontBase
Oracle 8 (not really)
Sybase-CT
--------------------------------------------------

After I must restart apache?

thanks hello
man
Posted: 07/08/2004, 8:08 AM

hello,

"....and add change php.ini to load them"....where?..in which rows I must add it..?

thanks excuse me
Last Hero
Posted: 07/08/2004, 8:30 AM

Yes, you must restart apache
After this you phpinfo must say:
Oracle Support enabled

I find this line in section:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
now i have this line:
extension=php_oracle.dll
and this work on windows
but on linux i think this must like as:
extension=php_oracle.so

And you must have this module :)
man
Posted: 07/09/2004, 12:21 AM

it does not work :-<
oracle 8 not really
I have add line:
extension=php_oracle.so
after:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

but not work....


Last Hero
Posted: 07/09/2004, 1:22 AM

You change correct php.ini?
Look in phpinfo : Configuration File (php.ini) Path
man
Posted: 07/09/2004, 2:48 AM

yes

is correct but not work...
I have add line:
extension=php_oracle.so
after:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

restart apache but none
Last Hero
Posted: 07/09/2004, 2:53 AM

Hm...
Please look apache error_log
Man
Posted: 07/09/2004, 3:14 AM

hello,

dir logs not view in dir project where i have site..mh?..but...

what I have made is corrected?

I have add line:
extension=php_oracle.so
after:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

restart apache...
my site is installed on linux redhat


it uses codecharge in order to create pages in php?..you know the method for align forms in this mode?...

<tale>
<tr>
<td>text</td>
<td>ceckbox</td>
<td>text</td>
<td>ceckbox</td>
</tr>
</table>

??


thanks
RonB

Posts: 228
Posted: 07/12/2004, 2:39 PM

Oracle can be a bit tricky but I have it running smoothly with codecharge studio. There are several thing you will have to do beforehand though:

- On the webserver the oracle client has to be installed, without it you will not be able to connect to any oracle database.

- In your oracle home directory look for the tnsnames.ora and make sure there is an entry for the database you need to connect to.

If you use apache add the following lines in your apache config file;

etEnv ORACLE_HOME c:/oracle/ora81
SetEnv ORACLE_SID <your SID>
SetEnv LD_LIBRARY_PATH c:/oracle/ora81/lib
SetEnv TNS_ADMIN C:\oracle\ora81\network\admin\tnsnames.ora
SetEnv TWO_TASK C:\oracle\ora81\network\admin\tnsnames.ora
SetEnv NLS_LANG English_America.WE8ISO8859P1

In php.ini do NOT uncomment extension=php_oracle.dll but uncomment
extension=php_oci8.dll (faster and more stable)

put the php_oci8.dll in your system or system32(win2k) directory

That's about it.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.