CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 novice question - please help

Print topic Send  topic

Author Message
Neil Chorley
Posted: 07/07/2002, 8:10 AM

Hi all
I'm trying to get this Codecharge system to work, but not having much
success, and beginning to think I could have had the job and dusted by now
if I'd just hand crafted the code. I've been through the tutorial,
sucessfully followed the instructions, and generated something in Perl, but
can't seem to transpose this to real life.
What I'm tryint to do at this stage is simply produce a menu, which calls up
a page, which in turn outputs the contents of a table in mysql. The menu
works (just about the only thing I can get to work are menus), calls up the
relevant page, which in turn tries to call up the perl code which should
output the table contents. I can tell it's getting as far as calling up the
code, as the pagename followed by .pl extension appears in the browser
address. However, the page is always blank, - not even any column headers.
I'm probably doing something which is very obviously wrong, but don't know
what. I appreaciate that the details I have offered doesn't provide a lot of
information, but this is about as far as I can get. If I try to run the perl
code on its own, the interpreter complains about lines in common.pl which
Codecharge has inserted in a uses statement. However, as this isn't seen
when I run it under a browser, this might be misleading.
Perhaps I should just get the page to output something equivalent to "hello
world", and this would at least prove the page was being called correctly,
without worrying about reading data from mysql. Can anybody perhaps tell me
how I can do this?

Thanks
Neil

Alexey Alexapolsky
Posted: 07/09/2002, 7:53 AM

Perl is just not error friendly , see Apache error.log for more details.
There must be some basic error.

1. You spell dbi:odbc:dsn_name instead of dbi:ODBC:dsn_name in connection
string
2. DBI and DBD drivers for your database are not installed.
3. Common.pm file can't be found.

--

Alex,
Support Engineer
CodeCharge Team



"Neil Chorley" <info@accomputers.co.uk> wrote in message
news:ag9lki$qdp$1@news.codecharge.com...
> Hi all
> I'm trying to get this Codecharge system to work, but not having much
> success, and beginning to think I could have had the job and dusted by now
> if I'd just hand crafted the code. I've been through the tutorial,
> sucessfully followed the instructions, and generated something in Perl,
but
> can't seem to transpose this to real life.
> What I'm tryint to do at this stage is simply produce a menu, which calls
up
> a page, which in turn outputs the contents of a table in mysql. The menu
> works (just about the only thing I can get to work are menus), calls up
the
> relevant page, which in turn tries to call up the perl code which should
> output the table contents. I can tell it's getting as far as calling up
the
> code, as the pagename followed by .pl extension appears in the browser
> address. However, the page is always blank, - not even any column headers.
> I'm probably doing something which is very obviously wrong, but don't know
> what. I appreaciate that the details I have offered doesn't provide a lot
of
> information, but this is about as far as I can get. If I try to run the
perl
> code on its own, the interpreter complains about lines in common.pl which
> Codecharge has inserted in a uses statement. However, as this isn't seen
> when I run it under a browser, this might be misleading.
> Perhaps I should just get the page to output something equivalent to
"hello
> world", and this would at least prove the page was being called correctly,
> without worrying about reading data from mysql. Can anybody perhaps tell
me
> how I can do this?
>
> Thanks
> Neil
>
>


   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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