CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Employee Directory Set up Question

Print topic Send  topic

Author Message
Lynette Tillner
Posted: 01/05/2002, 3:47 PM

I have been working on setting up the Employee Directory on our site. I want to implement a member profile and this script looks like it will do the job. BUT, I am having a problem. I first set up the Perl with templates version... and then the PHP4 version ---- both have the same issue.

MySQL is the database and it is file, I see the tables and the records from my Control Panel management software. My Web Hosting Company is Verio and I've had very few issues with "canned" scripts on their servers.

The template HTML pages all give me the following (this is Default.html):

{Header}
Man of the Month

{picture}

{name}

No records
Search
Department {Value}
Name
Email


Employee Directory
Name Title Department Work Phone Email
{name} {title} {dep_id} {work_phone} {email}
No records

{Footer}

Does anyone know what is wrong and what i need to do to fix it????????? I'm lost here.

Thanks!

LTillner@yahoo.com
CodeCharge Support
Posted: 01/05/2002, 7:00 PM

When you generate a site, you are supposed to view the script files (.php). The HTML files act as templates and should not be accessed directly.
Lynette
Posted: 01/06/2002, 11:58 AM

Yeah I figured that out this morning...... duhhhhhh

now I get this error running Default.php:

Fatal error: Call to undefined function: odbc_pconnect() in /u/web/azchat/acr/profile/db_odbc.inc on line 35

where line 35 is the 3rd line of this function:

function connect() {
if ( 0 == $this->Link_ID ) {
$this->Link_ID=odbc_pconnect($this->Database, $this->User, $this->Password, $this->UseODBCCursor);
if (!$this->Link_ID) {
$this->halt("Link-ID == false, odbc_pconnect failed");
}
}
}

Obviously my MySQL table doesn't use ODBC to connect... how to get around? just comment out the section?
nevland
Posted: 07/04/2003, 12:39 AM

it seems no clear answer is given.. as i'm also encounter the same problem.. anyone can help us... ??
DaveRexel
Posted: 07/04/2003, 2:39 AM

It would seem that a read through the help-files and doing the tutorials might help.

There are extensive sections on setting up your project to work with different database technologies including mySQL, I suggest reading those at least.

Dave

   


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.