vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=232684)

BWG22 05-23-2012 04:47 PM

Ok, the SQL command worked and it installed, but now it brings me back to the awards main page getting this message.

Fatal error: Cannot redeclare construct_depth_mark() in /public_html/forums/includes/adminfunctions.php on line 1915

FTG LIQUID CL 05-23-2012 11:29 PM

keep getting this message when i try to upload the xml product

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vbaward ADD award_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD award_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Duplicate column name 'award_allowrecommend'
Error Number : 1060
Request Date : Wednesday, May 23rd 2012 @ 06:25:31 PM
Error Date : Wednesday, May 23rd 2012 @ 06:25:32 PM
Script : http://fataltalentgaminglive.com/adm...=productimport
Referrer : http://fataltalentgaminglive.com/adm...?do=productadd
IP Address : 75.137.26.203
Username : Admin
Classname : vB_Database
MySQL Version : 5.1.63-community-log

squidsk 05-24-2012 02:22 PM

Quote:

Originally Posted by BWG22 (Post 2331996)
Ok, the SQL command worked and it installed, but now it brings me back to the awards main page getting this message.

Fatal error: Cannot redeclare construct_depth_mark() in /public_html/forums/includes/adminfunctions.php on line 1915

What exactly were you doing that caused this error to occur? The only reference I can find to this function within the awards files is in a location that does not make use of the file includes/adminfunctions.php.

Quote:

Originally Posted by FTG LIQUID CL (Post 2332157)
keep getting this message when i try to upload the xml product

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vbaward ADD award_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD award_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Duplicate column name 'award_allowrecommend'
Error Number : 1060
Request Date : Wednesday, May 23rd 2012 @ 06:25:31 PM
Error Date : Wednesday, May 23rd 2012 @ 06:25:32 PM
Script : http://fataltalentgaminglive.com/adm...=productimport
Referrer : http://fataltalentgaminglive.com/adm...?do=productadd
IP Address : 75.137.26.203
Username : Admin
Classname : vB_Database
MySQL Version : 5.1.63-community-log

Are you upgrading or re-installing the plugin? If re-installing then follow my instructions on the last page about deleting tables that weren't properly uninstalled. If upgrading what version are you upgrading from?

BWG22 05-24-2012 02:59 PM

Quote:

Originally Posted by squidsk (Post 2332325)
What exactly were you doing that caused this error to occur? The only reference I can find to this function within the awards files is in a location that does not make use of the file includes/adminfunctions.php.

Didn't do anything I wasn't supposed to. It was the error I had before when I upgraded my vB to 4.1.11. It just started giving me that error after the upgrade completed. Since then, I uninstalled it, dropped the tables, and re-installed and I still get the error.

squidsk 05-24-2012 03:05 PM

Quote:

Originally Posted by BWG22 (Post 2332335)
Didn't do anything I wasn't supposed to. It was the error I had before when I upgraded my vB to 4.1.11. It just started giving me that error after the upgrade completed. Since then, I uninstalled it, dropped the tables, and re-installed and I still get the error.

What other plugins are you running? I'm on a clean vb4.1.12PL1 and don't get that message, nor did I get it when the forum was on 4.1.10.

As I said the only place in the awards code that creates its own construct_depth_mark function is in the awards.php file, which does not require adminfunctions.php nor does in require a file which requires adminfunctions.php.

I was specifically asking what actions you'd taken (e.g. trying to view/change the awards settings) that causes that error.

Dave234 05-24-2012 03:06 PM

Mine is the same (please see my last post). Can you please assist?

squidsk 05-24-2012 03:54 PM

Did you read my response to FTG LIQUID CL?

FTG LIQUID CL 05-24-2012 06:16 PM

yes i will work on it

FTG LIQUID CL 05-24-2012 06:21 PM

its the first time i have installed this product,i have tried to re install the xml file but keep getting that message

squidsk 05-24-2012 06:28 PM

Follow my instructions on the previous page how to delete the previous install correctly. First uninstall the plugin if it shows up in the plugin list, then you'll need to drop the three tables (if all of them were created) before trying to re-install.


All times are GMT. The time now is 08:15 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.02568 seconds
  • Memory Usage 1,746KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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