vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Post Thank You Hack 1.10 (https://vborg.vbsupport.ru/showthread.php?t=73410)

Abe1 05-09-2005 04:39 PM

Quote:

Originally Posted by snake-boy
Tried to upgrade as instructed, and when posting a message I get "error in functions_showthread.php"

Now clicking on any post gives me:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM award AS award ORDER BY awardid ASC
mysql error: Unknown column 'awardid' in 'order clause'

mysql error number: 1054


Got no errors during the install process, made the file changes with no probems as directed by the installer.

Help?

-snake

You may have edited my hack over another hack. The table 'award' has nothing to do with this hack.

snake-boy 05-09-2005 06:11 PM

I have this hack installed as well:

hxxp://www.vbulletin.org/forum/showthread.php?t=61108

I don't understand how yours could be installed 'over' this one. I had both installed and working perfectly before this upgrade, now I'm stranded with a shut board. :(

I have tried uninstalling the Thank You hack and reinstalling it from scratch (with the fix you added above). Result stays the same. Clicking on any post gives the error above. Creating a new post, clicking on submit gives the error, but the post DOES appear in the forum if I refresh the forum page, but clicking on the post goes back to this error.

Could you please take a look at the details of the awards hacks and determine if your installer is destroying anything unintentionally. I can't be the only one with both these hacks installed, and it's bound to create a compatibility problem for others too.

Please assist me further.

thanks you

-snake

Abe1 05-09-2005 06:23 PM

Quote:

Originally Posted by snake-boy
I have this hack installed as well:

hxxp://www.vbulletin.org/forum/showthread.php?t=61108

I don't understand how yours could be installed 'over' this one. I had both installed and working perfectly before this upgrade, now I'm stranded with a shut board. :(

I have tried uninstalling the Thank You hack and reinstalling it from scratch (with the fix you added above). Result stays the same. Clicking on any post gives the error above. Creating a new post, clicking on submit gives the error, but the post DOES appear in the forum if I refresh the forum page, but clicking on the post goes back to this error.

Could you please take a look at the details of the awards hacks and determine if your installer is destroying anything unintentionally. I can't be the only one with both these hacks installed, and it's bound to create a compatibility problem for others too.

Please assist me further.

thanks you

-snake

I took a look. I think the best would be to get a fresh functions_showthread.php and do both of these hacks file edits. It seems that this error your getting is comming from the award not the thanks.

BigIke 05-09-2005 06:30 PM

Nice work Abe. My members love the addition.

Abe1 05-09-2005 06:34 PM

Quote:

Originally Posted by bringindaruckus
Nice work Abe. My members love the addition.

Glad to hear that. Just dont forget to click 'install'. Also, the best part about this update is the speed increase when viewing threads. On my forum, I cut the queries down from about 47 to about 15. The speed the page was created went down like 60-70%!

-=Sniper=- 05-09-2005 06:56 PM

Quote:

Originally Posted by Abe1
in includes/functions_showthread.php
find all the times
PHP Code:

$number_rows 

and replace with
PHP Code:

$nb 

I'll update the zip download in a min. Also, anyone else who installed v1.10 alreadyshould do this.

on doing so the thanked_postbit no longer shows, under the thanked post.

Abe1 05-09-2005 06:57 PM

Quote:

Originally Posted by -=Sniper=-
on doing so the thanked_postbit no longer shows, under the thanked post.

You have to edit in 3 spots. Make sure you did all 3.

snake-boy 05-09-2005 07:05 PM

Ok, I tried copying over a fresh copy and making the changes as specified, but it does not help at all, as I am still getting the same error each time.

I appreciate your help, but could you please suggest anything else I could try. I'm getting really despirate now :( I wish I had the php knowledge to be able to be of more help, but I don't know how to do much more than is specfied in the instructions.

Please help.

thank you

-snake

Abe1 05-09-2005 07:13 PM

Quote:

Originally Posted by snake-boy
Ok, I tried copying over a fresh copy and making the changes as specified, but it does not help at all, as I am still getting the same error each time.

I appreciate your help, but could you please suggest anything else I could try. I'm getting really despirate now :( I wish I had the php knowledge to be able to be of more help, but I don't know how to do much more than is specfied in the instructions.

Please help.

thank you

-snake

I hope this helps. Let me disect your error.

Invalid SQL: SELECT * FROM award AS award ORDER BY awardid ASC
mysql error: Unknown column 'awardid' in 'order clause'


Unknown column 'awardid' in 'order clause' can only mean that there is no column in the award table that is called awardid.

This seems to be a problem with the award system and you should try re-installing it or something like that. I'm sure if you remove the award hack code from the file you shouldn't get any errors. As you saw when you removed all of my hack you were still getting errors.

If you have phpmyadmin, I can look at your database at see what is missing fromt he award system. You'd have to send me a PM with the info on how to get in.

Other wise, there is nothing I can do.

-=Sniper=- 05-09-2005 08:40 PM

Quote:

Originally Posted by Abe1
You have to edit in 3 spots. Make sure you did all 3.

thanks


All times are GMT. The time now is 09:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01363 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete