[Zope] MySQL connection string.

2001-01-20 Thread Indra Gunawan
Hello, could anyone tell me how to make connection string to MySQL in Linux? I use Zope 2.3 and I've tried the database@[host] username password format, and still no luck, TIA, -IGUN- ___ Zope maillist - [EMAIL PROTECTED]

[Zope] String Module ??? newbie question

2000-08-15 Thread Indra Gunawan
Hello, my installation is Zope 2.2.0 on W2K. I try to use the find method as follow, why can't it runs? dtml-var "_.find('doraemon','dora')" it said Attribute error: find -IGUN- ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Parameter in ZSQL

2000-08-13 Thread Indra Gunawan
Hello All here's the problem my Zope 2.2.0 is running on win98 my Database is a MySQL I created a ZSQL method named ShowProduct with parameter product_id the template as follows : select * from products where sqltest product_id type=string why can't I call the ZSQL method directly (without

[Zope] Fw: [Zope] Parameter in ZSQL

2000-08-13 Thread Indra Gunawan
Thanks man that really works..!!... I want to ask another question can I retrieve a random row from a table? if can, could anyone tell me (using the same table and scheme from the previous question) Thanks again Mr Philipp Auersperg -IGUN- ICQ:1474584 call : dtml-in

[Zope] A very newbie question

2000-08-13 Thread Indra Gunawan
I need to know the value of (sequence-index mod 3)=0 in something like dtml-if "sequence-index mod 3)=0" how do I use the mod function correctly? since the divmod function is actualy returning 2 pair of value. Thanks guys. -IGUN- ICQ:1474584 ___ Zope

[Zope] Zope server Dies

2000-07-08 Thread Indra Gunawan
My Zope server dies miserably after I install the mysql adapter (it still dies after I delete the adaper files manually.) These are the only error messages I could retrieve from the server. could anyone help me? I use win98 Thanks -IGUN- asynchat.async_chat.handle_error (self) File

Re: [Zope] Zope server Dies

2000-07-08 Thread Indra Gunawan
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL