CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Server Side Connection - Attribute is required.

Print topic Send  topic

Author Message
Neil Chorley
Posted: 05/19/2002, 5:16 PM

Hello
I'm sure somebody will be able to help me here.
I've just obtained Codecharge, and am trying it out. I went through the
Bugtrack tutorial, but for some reason there was a problem with the database
connection. I have Access97 loaded, and as I can't browse the tables, I
presumed that the demo database supplied is not compatible with this
version.

I therefore downloaded MySql, and set up the DBI stuff. In the same way as
the Access database, I can see the fields of the tables when using
Codecharge, but when I try to compile, I get the message:

Attribute: Server Side Connection - Attribute is required.

If anybody could point me in the right direction, I'd be very grateful.

Thanks
NC


Alexey Alexapolsky
Posted: 05/21/2002, 1:38 AM

See Site/Properties/Database tab ,
there is a server side connection attribute where you should specify
DBI connection string , e.g. DBI:ODBC:bookstore
or DBI:mysql:your_db_name , don't forget to specify login and password as
well.


--
Alex
CodeCharge Developer


"Neil Chorley" <info@accomputers.co.uk> wrote in message
news:ac9f87$90m$1@news.codecharge.com...
> Hello
> I'm sure somebody will be able to help me here.
> I've just obtained Codecharge, and am trying it out. I went through the
> Bugtrack tutorial, but for some reason there was a problem with the
database
> connection. I have Access97 loaded, and as I can't browse the tables, I
> presumed that the demo database supplied is not compatible with this
> version.
>
> I therefore downloaded MySql, and set up the DBI stuff. In the same way as
> the Access database, I can see the fields of the tables when using
> Codecharge, but when I try to compile, I get the message:
>
> Attribute: Server Side Connection - Attribute is required.
>
> If anybody could point me in the right direction, I'd be very grateful.
>
> Thanks
> NC
>
>
>

Neil Chorley
Posted: 05/21/2002, 7:34 PM

Alex
Thanks for that - it helped. It now generates code without an error, so at
least its some progress.

However, if I now click on the Home icon, it tries to find a page index.pl
and shows "page not found". The file is there, where it looking for it.

Alternatively, if I just go to the browser, enter
http://localhost/dirname/index.html I can see a html page generated by
Codecharge. It has curly brackets and field names where there should be
data. If I click on anything here, I get a 404 error.

Can somebody perhaps give me a clue as to what to do next?

Thanks

"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:acd11u$mta$2@news.codecharge.com...
> See Site/Properties/Database tab ,
> there is a server side connection attribute where you should specify
> DBI connection string , e.g. DBI:ODBC:bookstore
> or DBI:mysql:your_db_name , don't forget to specify login and password as
> well.
>
>
> --
> Alex
> CodeCharge Developer
>
>
> "Neil Chorley" <info@accomputers.co.uk> wrote in message
>news:ac9f87$90m$1@news.codecharge.com...
> > Hello
> > I'm sure somebody will be able to help me here.
> > I've just obtained Codecharge, and am trying it out. I went through the
> > Bugtrack tutorial, but for some reason there was a problem with the
> database
> > connection. I have Access97 loaded, and as I can't browse the tables, I
> > presumed that the demo database supplied is not compatible with this
> > version.
> >
> > I therefore downloaded MySql, and set up the DBI stuff. In the same way
as
> > the Access database, I can see the fields of the tables when using
> > Codecharge, but when I try to compile, I get the message:
> >
> > Attribute: Server Side Connection - Attribute is required.
> >
> > If anybody could point me in the right direction, I'd be very grateful.
> >
> > Thanks
> > NC
> >
> >
> >
>
>

Neil Chorley
Posted: 05/21/2002, 7:44 PM

I think I may have partly answered this myself. If I look at the html code,
the search button has a POST {action page}. Am I correct in assuming that
I need to have a page to deal with this, and Codechage will then replace
{action page} with something more relevant?

I still dont understand why the home icon in Codecharge tries to find
index.pl, and then says it isn't there (it is).

Help grately appreciated.

"Neil Chorley" <info@accomputers.co.uk> wrote in message
news:acf02q$efe$1@news.codecharge.com...
> Alex
> Thanks for that - it helped. It now generates code without an error, so at
> least its some progress.
>
> However, if I now click on the Home icon, it tries to find a page index.pl
> and shows "page not found". The file is there, where it looking for it.
>
> Alternatively, if I just go to the browser, enter
> http://localhost/dirname/index.html I can see a html page generated by
> Codecharge. It has curly brackets and field names where there should be
> data. If I click on anything here, I get a 404 error.
>
> Can somebody perhaps give me a clue as to what to do next?
>
> Thanks
>
> "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
>news:acd11u$mta$2@news.codecharge.com...
> > See Site/Properties/Database tab ,
> > there is a server side connection attribute where you should specify
> > DBI connection string , e.g. DBI:ODBC:bookstore
> > or DBI:mysql:your_db_name , don't forget to specify login and password
as
> > well.
> >
> >
> > --
> > Alex
> > CodeCharge Developer
> >
> >
> > "Neil Chorley" <info@accomputers.co.uk> wrote in message
> >news:ac9f87$90m$1@news.codecharge.com...
> > > Hello
> > > I'm sure somebody will be able to help me here.
> > > I've just obtained Codecharge, and am trying it out. I went through
the
> > > Bugtrack tutorial, but for some reason there was a problem with the
> > database
> > > connection. I have Access97 loaded, and as I can't browse the tables,
I
> > > presumed that the demo database supplied is not compatible with this
> > > version.
> > >
> > > I therefore downloaded MySql, and set up the DBI stuff. In the same
way
> as
> > > the Access database, I can see the fields of the tables when using
> > > Codecharge, but when I try to compile, I get the message:
> > >
> > > Attribute: Server Side Connection - Attribute is required.
> > >
> > > If anybody could point me in the right direction, I'd be very
grateful.
> > >
> > > Thanks
> > > NC
> > >
> > >
> > >
> >
> >
>
>

Alexey Alexapolsky
Posted: 05/22/2002, 4:46 AM

Yes , index page should be generated before
another script redirects to it.

--
Alex
CodeCharge Developer


"Neil Chorley" <info@accomputers.co.uk> wrote in message
news:acf0ls$fdi$1@news.codecharge.com...
> I think I may have partly answered this myself. If I look at the html
code,
> the search button has a POST {action page}. Am I correct in assuming
that
> I need to have a page to deal with this, and Codechage will then replace
> {action page} with something more relevant?
>
> I still dont understand why the home icon in Codecharge tries to find
> index.pl, and then says it isn't there (it is).
>
> Help grately appreciated.
>
> "Neil Chorley" <info@accomputers.co.uk> wrote in message
>news:acf02q$efe$1@news.codecharge.com...
> > Alex
> > Thanks for that - it helped. It now generates code without an error, so
at
> > least its some progress.
> >
> > However, if I now click on the Home icon, it tries to find a page
index.pl
> > and shows "page not found". The file is there, where it looking for it.
> >
> > Alternatively, if I just go to the browser, enter
> > http://localhost/dirname/index.html I can see a html page generated by
> > Codecharge. It has curly brackets and field names where there should be
> > data. If I click on anything here, I get a 404 error.
> >
> > Can somebody perhaps give me a clue as to what to do next?
> >
> > Thanks
> >
> > "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
> >news:acd11u$mta$2@news.codecharge.com...
> > > See Site/Properties/Database tab ,
> > > there is a server side connection attribute where you should specify
> > > DBI connection string , e.g. DBI:ODBC:bookstore
> > > or DBI:mysql:your_db_name , don't forget to specify login and password
> as
> > > well.
> > >
> > >
> > > --
> > > Alex
> > > CodeCharge Developer
> > >
> > >
> > > "Neil Chorley" <info@accomputers.co.uk> wrote in message
> > >news:ac9f87$90m$1@news.codecharge.com...
> > > > Hello
> > > > I'm sure somebody will be able to help me here.
> > > > I've just obtained Codecharge, and am trying it out. I went through
> the
> > > > Bugtrack tutorial, but for some reason there was a problem with the
> > > database
> > > > connection. I have Access97 loaded, and as I can't browse the
tables,
> I
> > > > presumed that the demo database supplied is not compatible with this
> > > > version.
> > > >
> > > > I therefore downloaded MySql, and set up the DBI stuff. In the same
> way
> > as
> > > > the Access database, I can see the fields of the tables when using
> > > > Codecharge, but when I try to compile, I get the message:
> > > >
> > > > Attribute: Server Side Connection - Attribute is required.
> > > >
> > > > If anybody could point me in the right direction, I'd be very
> grateful.
> > > >
> > > > Thanks
> > > > NC
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Neil Chorley
Posted: 05/23/2002, 6:16 PM

The index page, ie index.html, has been generated, and does already exist. I
think that what is happening is that this calls up the perl file index.pl,
which should (I presume) produce another html page. Is this correct? If so,
where do I go about creating this page, and adding the link between index.pl
and the new page?

Thanks
NC
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:acg0eu$90e$2@news.codecharge.com...
> Yes , index page should be generated before
> another script redirects to it.
>
> --
> Alex
> CodeCharge Developer
>
>
> "Neil Chorley" <info@accomputers.co.uk> wrote in message
>news:acf0ls$fdi$1@news.codecharge.com...
> > I think I may have partly answered this myself. If I look at the html
> code,
> > the search button has a POST {action page}. Am I correct in assuming
> that
> > I need to have a page to deal with this, and Codechage will then
replace
> > {action page} with something more relevant?
> >
> > I still dont understand why the home icon in Codecharge tries to find
> > index.pl, and then says it isn't there (it is).
> >
> > Help grately appreciated.
> >
> > "Neil Chorley" <info@accomputers.co.uk> wrote in message
> >news:acf02q$efe$1@news.codecharge.com...
> > > Alex
> > > Thanks for that - it helped. It now generates code without an error,
so
> at
> > > least its some progress.
> > >
> > > However, if I now click on the Home icon, it tries to find a page
> index.pl
> > > and shows "page not found". The file is there, where it looking for
it.
> > >
> > > Alternatively, if I just go to the browser, enter
> > > http://localhost/dirname/index.html I can see a html page generated by
> > > Codecharge. It has curly brackets and field names where there should
be
> > > data. If I click on anything here, I get a 404 error.
> > >
> > > Can somebody perhaps give me a clue as to what to do next?
> > >
> > > Thanks
> > >
> > > "Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
> > >news:acd11u$mta$2@news.codecharge.com...
> > > > See Site/Properties/Database tab ,
> > > > there is a server side connection attribute where you should specify
> > > > DBI connection string , e.g. DBI:ODBC:bookstore
> > > > or DBI:mysql:your_db_name , don't forget to specify login and
password
> > as
> > > > well.
> > > >
> > > >
> > > > --
> > > > Alex
> > > > CodeCharge Developer
> > > >
> > > >
> > > > "Neil Chorley" <info@accomputers.co.uk> wrote in message
> > > >news:ac9f87$90m$1@news.codecharge.com...
> > > > > Hello
> > > > > I'm sure somebody will be able to help me here.
> > > > > I've just obtained Codecharge, and am trying it out. I went
through
> > the
> > > > > Bugtrack tutorial, but for some reason there was a problem with
the
> > > > database
> > > > > connection. I have Access97 loaded, and as I can't browse the
> tables,
> > I
> > > > > presumed that the demo database supplied is not compatible with
this
> > > > > version.
> > > > >
> > > > > I therefore downloaded MySql, and set up the DBI stuff. In the
same
> > way
> > > as
> > > > > the Access database, I can see the fields of the tables when using
> > > > > Codecharge, but when I try to compile, I get the message:
> > > > >
> > > > > Attribute: Server Side Connection - Attribute is required.
> > > > >
> > > > > If anybody could point me in the right direction, I'd be very
> > grateful.
> > > > >
> > > > > Thanks
> > > > > NC
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


   


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

Web Database

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.