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 01-09-2005 12:31 PM

Quote:

Originally Posted by TTG
For anyone that has a problem after upgrading to vbulletin 3.0.5. Simply run the installer again and all will then work as intended :)

I realized there was a problem with the templates when you upgrade. I should be comming out with minor upadte soon to fix that problem for future updates.

Okiewan 01-09-2005 01:43 PM

Quote:

Database error in vBulletin 4.0.2:

Invalid SQL: INSERT INTO settinggroup VALUES ('post_thanks', 1234, 0)
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136
Ideas? I do have your Post Award hack installed (and love it!)

Abe1 01-09-2005 01:57 PM

Quote:

Originally Posted by Okiewan
Ideas? I do have your Post Award hack installed (and love it!)

you have vbulletin 4.0.2??????

Intex 01-09-2005 03:28 PM

Abe - It looks like it's because the queries didn't run properly to me. I tried running one of the ones from the install file directly in phpadmin:

Code:

$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)");

Produced the following error:

Code:

Error
 
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
 
ERROR: Unknown Punctuation String @ 9
STR: ->
SQL: $DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)")
SQL-query :
 
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)")
 
MySQL said:
 
 
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES

All the queries where the syntax is using 'INSERT INTO' produce the same problem and these are all related to the settings. The other queries which ALTER tables, such as the 'user' and 'post' run successfully and they're working because it's tracking the amount of thank you's someone has.

Can you see what's wrong with the syntax? I'm running 3.0.1 and mySQL 3.23.49.

Okiewan 01-09-2005 03:46 PM

Quote:

Originally Posted by Abe1
you have vbulletin 4.0.2??????

LOL... yeah that was a joke for a another board admin. Guess I should change it back. :nervous:

Abe1 01-09-2005 04:59 PM

Quote:

Originally Posted by Intex
Abe - It looks like it's because the queries didn't run properly to me. I tried running one of the ones from the install file directly in phpadmin:

Code:

$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)");

Produced the following error:

Code:

Error
 
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
 
ERROR: Unknown Punctuation String @ 9
STR: ->
SQL: $DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)")
SQL-query :
 
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0)")
 
MySQL said:
 
 
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '$DB_site->query("INSERT INTO " . TABLE_PREFIX . "setting VALUES

All the queries where the syntax is using 'INSERT INTO' produce the same problem and these are all related to the settings. The other queries which ALTER tables, such as the 'user' and 'post' run successfully and they're working because it's tracking the amount of thank you's someone has.

Can you see what's wrong with the syntax? I'm running 3.0.1 and mySQL 3.23.49.

I have no copy of v3.0.1. So I can't try. I'll try to fix this in my minor update in a few days.

Abe1 01-09-2005 05:01 PM

Quote:

Originally Posted by Okiewan
Ideas? I do have your Post Award hack installed (and love it!)

I'll try to fix this for next version. I hope some time this week.

dacho 01-10-2005 09:29 AM

did user can 10X to himself ?
if so, how can i repair that ?

Abe1 01-10-2005 01:36 PM

Quote:

Originally Posted by dacho
did user can 10X to himself ?
if so, how can i repair that ?

A user can't thank him self.

Abe1 01-10-2005 01:42 PM

Version 1.01 released.

Tiny update. When you upgrade your forum, the templates stay.


All times are GMT. The time now is 10:37 PM.

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.01182 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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