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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4-archive)
 Bug in 40b* in pop_profile
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Romee
Junior Member

Netherlands
180 Posts

Posted - 08 July 2002 :  05:02:17  Show Profile  Reply with Quote
I think there is a bug in the international version of pop_profile (Post40b03patch004[1]). It regards users of ms sql. I tested it also on access, and there this problem doesnot arise.

It is the old one that you can find in the archive (happy we have one).

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=13799

In general, the problem is that you don't see the info in the bio field and the other thing is that editing the profile makes that the existing content of the m_quote field and m_LNEWS is not shown, and if one does not notice it, this information is deleted because one posts an empty field. HuwR gave a solution for that, but it doesnot work in ms sql db that I use.
The first thing that has to be changed is the order of lines around line 108.


strMyHobbies = rs("M_HOBBIES")
strMyQuote = rs("M_QUOTE")
strMyLNews = rs("M_LNEWS")
strMyBio = rs("M_BIO")


must be

strMyHobbies = rs("M_HOBBIES")
strMyQuote = rs("M_QUOTE")
strMyBio = rs("M_BIO")
strMyLNews = rs("M_LNEWS")




However I could not find a solution for the other part of the problem.

Romée




Edited by - Romee on 08 July 2002 05:05:53

[moved by bozden on 03 October 2002]

<

Edited by - Deleted on 03 October 2002 20:15:50

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 July 2002 :  05:13:03  Show Profile  Send ruirib a Yahoo! Message
This is not exactly a bug in the Snitz code. This more a problem with ADO/database drivers than with Snitz. My test forum, with SQL Server 2000 and OLEDB driver / MDAC 2.7, does not show this problem.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 08 July 2002 :  05:23:02  Show Profile
Hi Rui,
Is this something I can change?
Romée

<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 July 2002 :  05:47:33  Show Profile  Send ruirib a Yahoo! Message
quote:

Hi Rui,
Is this something I can change?
Romée


Hi Romée,

I don't know what are the database/MDAC version combinations that avoid this. And your host is the one who installs the MDAC in your server. You can always talk to him to see if he can download and install the latest MDAC (it can be found in http://www.microsoft.com/data) and then see if your problem persists.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 08 July 2002 :  06:12:22  Show Profile
They use MDAC 2.70.7713.2, seems rather actual.
(And as you know, my ms sql db is version 7)
Romée

<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 July 2002 :  06:20:15  Show Profile  Send ruirib a Yahoo! Message
quote:

They use MDAC 2.70.7713.2, seems rather actual.
(And as you know, my ms sql db is version 7)
Romée


Yeah, so it seems like the solution to your problem is really to find out the best order for those fields. There was a post from someone else one of these days. I'll find it for you so that you can see if it helps.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 July 2002 :  06:23:24  Show Profile  Send ruirib a Yahoo! Message
Here it is: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=30344#144683

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

Romee
Junior Member

Netherlands
180 Posts

Posted - 08 July 2002 :  06:46:52  Show Profile
Yes!
And for me the suggestion of jinx to change the driver solved the problem.
So it would be a good thing to change the driverline for sql 7 db in the standard config_asp accordingly.

I had a similar problem and switched my connection string to be:
provider=SQLOLEDB;server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME
instead of
driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME


Thanks again!
grz
Romée



Edited by - Romee on 08 July 2002 06:48:59<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 July 2002 :  06:56:52  Show Profile  Send ruirib a Yahoo! Message
quote:

Yes!
And for me the suggestion of jinx to change the driver solved the problem.
So it would be a good thing to change the driverline for sql 7 db in the standard config_asp accordingly.

I had a similar problem and switched my connection string to be:
provider=SQLOLEDB;server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME
instead of
driver={SQL Server};server=SERVER_NAME;uid=UID;pwd=PWD;database=DB_NAME



I tought you were already using an OLEDB driver. OLEDB drivers should always be preferred over ODBC, because they are generally faster and more robust than ODBC drivers. We've been recomending its use for a quite a while.

OLEDB drivers will show as the recomended drivers for SQL server in 3.4.

quote:

Thanks again!


You're welcome .

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 08 July 2002 :  14:51:27  Show Profile
This is a v3.3.x error, which is forgotton to be corrected in v3.3.03, thus not fixed in v4b03.x...

See this (this is the topic you posted): http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=13799

Although it says "already fixed" it was not fixed, and it is a driver problem related to memo fields...


Think Pink
==> Start Internationalization Here<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07