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 MOD-Group
 MOD Add-On Forum (W/Code)
 Google Sitemaps Mini-mod (Beta)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 9

SnapperL
Starting Member

24 Posts

Posted - 01 August 2006 :  05:03:21  Show Profile  Reply with Quote
Well I'm getting a very interesting error (using mysql version)
here is the conn string in config.asp

the name of my sql db is 'SnapperL'

http://www.discussthat.com/forum/sitemap.asp

Microsoft OLE DB Provider for ODBC Drivers error '80040e37'

[MySQL][ODBC 3.51 Driver][mysqld-4.0.27-max-log]Table 'SnapperL.FORUM_forum' doesn't exist

/forum/sitemap.asp, line 108

<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - SnapperL on 01 August 2006 05:34:07
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 01 August 2006 :  06:25:46  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
What is the table prefix in your config.asp ?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 01 August 2006 :  07:46:26  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Check upeer and lower case in table name, forum is not FORUM for unix MySql<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

SnapperL
Starting Member

24 Posts

Posted - 01 August 2006 :  08:07:27  Show Profile  Reply with Quote
Hey Podge and modifichicci and everyone else!

table prefix in config.asp is:
<%
strTablePrefix = "FORUM_"
strMemberTablePrefix = "FORUM_"
strFilterTablePrefix = "FORUM_" 'used for BADWORDS and NAMEFILTER tables
%>

So from the tableprefix and the error I am surmizing(sp?) that it can't find the table name "forum" am i right in assuming that this is what it means? If this is the case....any ideas?

and i'm using a windows hosting option....?<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - SnapperL on 01 August 2006 09:05:02
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 01 August 2006 :  09:15:15  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Ruirib did the MySql version. Changing this line
showForums = "true" ' set to true or false if you want forum.asp pages to be shown or not shown


to this

showForums = "false" ' set to true or false if you want forum.asp pages to be shown or not shown


might fix the problem.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 01 August 2006 :  10:30:00  Show Profile  Visit modifichicci's Homepage  Reply with Quote
At line 106 you have the sql string:
strSQL = "select FORUM_ID, F_LAST_POST from " & strTablePrefix & "forum where (F_URL is null or len(F_URL) ..... etc

forum has to be FORUM

<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

SnapperL
Starting Member

24 Posts

Posted - 02 August 2006 :  03:07:01  Show Profile  Reply with Quote
changing forum to FORUM fixed the sql problem, there is an xsl/xml problem:

http://www.discussthat.com/forum/sitemap.xml.asp<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 02 August 2006 :  05:33:04  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
You don't need to use the stylesheet. Change this line

xml = "<?xml version=""1.0"" encoding=""UTF-8""?><?xml-stylesheet type=""text/xsl"" href=""sitemap.xsl""?><urlset xmlns=""http://www.google.com/schemas/sitemap/0.84"">" & vbNewLine


to

xml = "<?xml version=""1.0"" encoding=""UTF-8""?><urlset xmlns=""http://www.google.com/schemas/sitemap/0.84"">" & vbNewLine

<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

SnapperL
Starting Member

24 Posts

Posted - 02 August 2006 :  08:55:53  Show Profile  Reply with Quote
Well hey hey, its working now! Thanks again for your help

<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - SnapperL on 02 August 2006 12:52:07
Go to Top of Page

SnapperL
Starting Member

24 Posts

Posted - 02 August 2006 :  12:54:22  Show Profile  Reply with Quote
i'm getting an invalid time error from google....

quote:
Invalid date (Line 2) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 3) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 4) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 6) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 11) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 14) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 15) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 19) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 20) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More
Invalid date (Line 29) An invalid date was found. Please see How do I specify time? for more information before resubmitting. More



This is happening on every instance of the time

any thoughts?<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!

Edited by - SnapperL on 02 August 2006 12:58:20
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 02 August 2006 :  13:22:42  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I cannot see anything wrong with most of the dates, but for forums with no posts, this is the time shown - --T::+00:00 (which is invalid)

Either make a post in each of the empty forums or change this
showForums = "true" ' set to true or false if you want forum.asp pages to be shown or not shown

to this
showForums = "false" ' set to true or false if you want forum.asp pages to be shown or not shown



<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

SnapperL
Starting Member

24 Posts

Posted - 02 August 2006 :  14:46:06  Show Profile  Reply with Quote
ahhh makes sense... ill try that<

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Go to Top of Page

borge
Junior Member

Norway
185 Posts

Posted - 22 January 2007 :  18:07:25  Show Profile  Reply with Quote

borge
Go to Top of Page

grazman
Junior Member

USA
193 Posts

Posted - 24 January 2007 :  16:41:30  Show Profile  Visit grazman's Homepage  Reply with Quote
A very interesting script. Has there been any thought given to topics that have multiple pages? Do we need to have each page listed in the site map?<

SQLTeam.com - For SQL Server Developers and Administrators
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 24 January 2007 :  19:06:11  Show Profile  Visit bobby131313's Homepage  Reply with Quote


Podge, thank you so much for this, it saves me a lot of work.

On broadband with IE7 I can generate a sitemap with all of my 10,000 plus topics in about 10 seconds then just File > Save as > and upload. It validates within minutes. I'll just do it every few days.

Thank you!



<

Switch the order of your title tags
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07