[Lazarus] Readme or instructions on how to setup fpweb combined demo on windows?
Michael Van Canneyt
michael at freepascal.org
Sat Jan 21 09:55:09 CET 2012
On Sat, 21 Jan 2012, Joshua Lim wrote:
> Hi,
>
> I'm having difficulty making the combined demo work. I'm using ext321, and
> apache2, hope to receive some guidance. Also, can the demo work with mysql
> instead of firebird?
I don't recommend it, but if you are stuck with mysql, then it's certainly possible.
However, you'll have to rework the code, because the example relies on the presence of a
generator (sequence), and MySQL does not provide that (at least not when I last checked).
If you can avoid MySQL, consider using Firebird or PostGres.
>
> Thanks. :)
>
> My steps:-
>
> 1. I've placed combined.cgi in the cgi-bin directory and updated the path in
> combined.html and users.html. 2. After that I installed Firebird server win32
> and created a new database, c:\Program Files
> (x86)\Firebird\Firebird_2_5\db\COMBINED.FB, using "SQL Manager Lite for
> interbase and firebird".
> 3. Then i ran the sql script combined.sql
> 4. Next i configured combined.ini as follows:
> [Database]
> Path=c:\Program Files (x86)\Firebird\Firebird_2_5\db\COMBINED.FB
> UserName=sysdba
> Password=masterkey
>
> I go to http://localhost/users.html, i can see extjs grid load but nothing
> can be saved. http://localhost/combined.html displays only an empty page.
What do you mean with 'nothing can be saved' ? Did you log in ?
What do you see in firebug ? (I'm assuming you use Firefox or Google Chrome)
Michael.
More information about the Lazarus
mailing list