Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Calender 'GetString' unsupported
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 28 November 2003 :  14:02:30  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
When adding an event i New Event Calender, the following message shows up inside the calender. (At the page footer):

Object doesn't support this property or method: 'GetString'
cal_functions.asp, line 231


Line 231 says:
If not rs.EOF then strDates = rs.GetString(,,,",") Else blnNoDates = TRUE


I´m able to add events, but it messes up the cal´s view... Take a look here: http://www.pelikana.com/forum/. Login: 'testmember' pwd: 'testmember'

Any suggestions what to do? The webhotel is using Linux/Apache, MySQL, ChiliAsp!, SMTPAUTH. Thanks for any help on this one... A txtcopy of cal_function.asp is here: http://www.pelikana.com/forum/cal_functions.txt

Edited by - Micael Ström on 28 November 2003 18:45:46

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 28 November 2003 :  19:08:04  Show Profile  Visit Gremlin's Homepage
quote:
ChiliAsp!

My Guess is there lies your problem, perhaps it doesn't support the GetString method.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 29 November 2003 :  06:26:00  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message

Is there a possibility to rewrite that piece of code to make the calender work anyway? Can 'GetString' be replaced and if so, how should it be written?
All you brilliant minds - please help!
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 29 November 2003 :  08:45:07  Show Profile  Visit Gremlin's Homepage
You'll just have to loop through the recordset instead.

www.4guysfromrolla.com have an article somewhere on their site explaining what GetString does, you should be able to have a look at that and then deconstruct that statement so it doesn't use it easy enough.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 29 November 2003 :  16:19:43  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
What does that mean? I´m not familiar with VB or ASP-scripting. Please show me what to do with the code.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 29 November 2003 :  18:32:55  Show Profile
Uhmm, I looked in the file and saw this (line in red is your line 231, line in green is what you should read):
'Load all the dates into a string
If not rs.EOF then strDates = rs.GetString(,,,",") else blnNoDates = TRUE 

'***************************************************************
' Linux Users: Comment the line above and uncomment the line below
'***************************************************************

'Load all the dates into an array
'If not rs.EOF then arrDates = rs.GetRows else blnNoDates = TRUE

Support Snitz Forums

Edited by - Davio on 29 November 2003 18:34:32
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 29 November 2003 :  20:19:32  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
I noticed that option too, it works almost perfect now. Thankyou guys!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 2.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07