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: Database: MySql
 Setup Errors 3.4.06 - Making Progress
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  10:49:49  Show Profile  Visit gswetsky's Homepage
Running XP home and MySql/ODBC 3.51. I originally had server problems and switched to Quick 'n Easy Web Server. This time running setup gives me the following four errors:

Error: -2147217871 [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]BLOB/TEXT column 'F_DESCRIPTION' can't have a default value
Error: -2147217871 [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]BLOB/TEXT column 'M_SIG' can't have a default value
Error: -2147217871 [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]BLOB/TEXT column 'M_SIG' can't have a default value
Error: -2147217865 [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]Table 'snitz.forum_members' doesn't exist
Error: -2147217865 [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]Table 'snitz.forum_forum' doesn't exist

My connection string:

strConnString = "driver={MySQL ODBC 3.51 Driver};option=16387;server=localhost;user=xxxxxx;password=xxxxxxxxx;DATABASE=snitz;" '##MySQL w/ MyODBC v3.51

Help please! Thanks.
Gerry

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 29 June 2007 :  10:52:13  Show Profile  Visit HuwR's Homepage
have you tried searching ? these mySQL errors have been discussed on numerous occasions
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  12:01:08  Show Profile  Visit gswetsky's Homepage
I'll try that, but I wonder if:

"driver={MySQL ODBC 3.51 Driver}"

has to be edited to point to the driver and if so what that would be.

Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  12:18:24  Show Profile  Send ruirib a Yahoo! Message
Nothing wrong with that. Here is the fix: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64954&SearchTerms=inc_create_forum_mysql


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  14:05:44  Show Profile  Visit gswetsky's Homepage
I did all that plus several others it was complaining about. I was curious about whether I did this one right, though:

I replaced: strSql = strSql & "M_HOBBIES " & strN & "text NULL DEFAULT '' , "

With: strSql = strSql & "M_HOBBIES " & strN & "text NULL , "

Anyhow, I got to the admin login screen and after logging in, I was greeted with this:


Script error detected at line 2716.
Source line: function edit_hrefs(sURL, iType) {
Script details:
2706 my_Conn.Close
2707 set my_Conn = nothing
2708
2709 Response.Write "" & vbCrLf
2710 Response.Write "" & vbCrLf
2711 end sub
2712
2713 Response.Write "" & vbCrLf
2714 Response.Write "" & vbCrLf
2715 Response.Write "" & vbCrLf
2716
2717 function edit_hrefs(sURL, iType) {
2718 sOutput = new String(sURL);
2719
2720 if (iType == 1) {
2721 sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
2722 "$1<\/a>");
2723 } else if (iType == 2) {
2724 sOutput = sOutput.replace(/\b(https\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
2725 "$1<\/a>");
2726 } else if (iType == 3) {
Description: Invalid character

Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  14:59:54  Show Profile  Send ruirib a Yahoo! Message
That's very weird. Try runnint setup.asp like this: setup.asp?RC=5


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  17:32:11  Show Profile  Visit gswetsky's Homepage
Same thing - I think.....

Script error detected at line 2716.
Source line: function edit_hrefs(sURL, iType) {
Script details:
2706 my_Conn.Close
2707 set my_Conn = nothing
2708
2709 Response.Write "" & vbCrLf
2710 Response.Write "" & vbCrLf
2711 end sub
2712
2713 Response.Write "" & vbCrLf
2714 Response.Write "" & vbCrLf
2715 Response.Write "" & vbCrLf
2716
2717 function edit_hrefs(sURL, iType) {
2718 sOutput = new String(sURL);
2719
2720 if (iType == 1) {
2721 sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
2722 "$1<\/a>");
2723 } else if (iType == 2) {
2724 sOutput = sOutput.replace(/\b(https\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
2725 "$1<\/a>");
2726 } else if (iType == 3) {
Description: Invalid character

Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  17:50:00  Show Profile  Send ruirib a Yahoo! Message
Isn't line 2716 this one?

<script language="javascript1.2" runat="server">


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  18:10:44  Show Profile  Visit gswetsky's Homepage
I'm going to start with a fresh copy of inc_create_forum_mysql.asp and start with a fresh database.

Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  18:18:39  Show Profile  Send ruirib a Yahoo! Message
This does not depend on the database. I never saw the last error and I'm guessing it may be related to Javascript support in your server... You can try and upload a fresh copy of inc_func_common.asp.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 29 June 2007 :  18:39:47  Show Profile  Visit gswetsky's Homepage
Well, anyhow I did all that. Paid more attention to what I was doing. Instead of going right to the admin login this time it went to a screen that I clicked on to check the database. Then I clicked to go to the forum and the error line was different:

Script error detected at line 3236.
Source line: function edit_hrefs(sURL, iType) {
Script details:
3226 my_Conn.Close
3227 set my_Conn = nothing
3228
3229 Response.Write "" & vbCrLf
3230 Response.Write "" & vbCrLf
3231 end sub
3232
3233 Response.Write "" & vbCrLf
3234 Response.Write "" & vbCrLf
3235 Response.Write "" & vbCrLf
3236
3237 function edit_hrefs(sURL, iType) {
3238 sOutput = new String(sURL);
3239
3240 if (iType == 1) {
3241 sOutput = sOutput.replace(/\b(http\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
3242 "$1<\/a>");
3243 } else if (iType == 2) {
3244 sOutput = sOutput.replace(/\b(https\:\/\/[\w+\.]+[\w+\.\:\/\@\_\?\=\&\-\'\#\%\~\;\,\$\!\+\*]+)/gi,
3245 "$1<\/a>");
3246 } else if (iType == 3) {
Description: Invalid character

I would be willing to believe it was in the server, but I'd like to be sure before I scrub all this work.

Thanks,
Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  18:55:06  Show Profile  Send ruirib a Yahoo! Message
Line 3236 is blank there, and in the file it corresponds to the line I posted. I do think it's a server issue and it's very uncommon. I cannot remember any other time where it occurred in the past.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 June 2007 :  18:58:09  Show Profile  Send ruirib a Yahoo! Message
You can try and replace the statement I posted at the end of inc_func_common.asp.
Replace

<script language="javascript1.2" runat="server">

by

<script language="javascript" runat="server">

Not sure that it will help, though.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gswetsky
Starting Member

12 Posts

Posted - 30 June 2007 :  02:16:02  Show Profile  Visit gswetsky's Homepage
I think the server is at fault. From the author:

JScript is not supported as server-sided script language.
You can only use VBScript as ASP language.


He reports later:

The next version will also support JSCRIPT.
It should be finished in a few weeks, maybe sooner.


Guess my project is temporarily on hold. Thanks.....

Gerry
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 30 June 2007 :  02:21:47  Show Profile  Send ruirib a Yahoo! Message
Yep, it sounded like that. As I said, it's very uncommon even more for a big host as GoDaddy.


Snitz 3.4 Readme | Like the support? Support Snitz too
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 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07