Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - "thanks" in a post
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"thanks" in a post

 Post Reply Post Reply
Author
alabamatoy View Drop Down
Groupie
Groupie


Joined: 04 February 2006
Location: United States
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote alabamatoy Quote  Post ReplyReply Direct Link To This Post Topic: "thanks" in a post
    Posted: 24 September 2012 at 3:33am
I cant find anything about the "thanks"link in the admin interface, and clicking on thanks in a post gives "cant connect to server" error.  Suggestions?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2012 at 10:34am
Clicking the 'Thanks' link uses AJAX to connect to the file ajax_post_thanks.asp.

Make sure that this file is uploaded to your forums root folder.
Back to Top
alabamatoy View Drop Down
Groupie
Groupie


Joined: 04 February 2006
Location: United States
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote alabamatoy Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2012 at 12:24pm
Is this file not included in the distribution?
 
Where do I find it?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2012 at 4:19pm
Yes it is included with Web Wiz Forums, but as you are getting an error it could be that either the file has become corrupted when you uploaded the forum files, or you missed uploading the files.

The first thing you should do is try re-uploading this file again and see if it fixes the issue.
Back to Top
visiblepulse View Drop Down
Newbie
Newbie


Joined: 30 December 2005
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote visiblepulse Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2012 at 9:16pm
I installed the V10 upgrade for alabamatoy.

I found the problem... It was missing the table ThreadThanks
It was never created during the V9 --> V10 upgrade.

I inject the code into the ajax_post_thanks.asp file and ran it once and it created the table.
'Create the ThreadThanks Table
strSQL = "CREATE TABLE [" & strDBO & "].[" & strDbTable & "ThreadThanks] ("
strSQL = strSQL & "[Thread_ID] [int] NOT NULL DEFAULT (0),"
strSQL = strSQL & "[Author_ID] [int] NOT NULL DEFAULT (0) " 
strSQL = strSQL & ")"

'Write to the database
adoCon.Execute(strSQL)

The thanks functionality appears to be working now.
Back to Top
visiblepulse View Drop Down
Newbie
Newbie


Joined: 30 December 2005
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote visiblepulse Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2012 at 9:20pm
Perhaps a table health check in the admin_server_test.asp might be useful as a future improvement.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.