Thread: Statistics Modifications - [DBTech] vBAnalytics v1 (vB4)
View Single Post
  #30  
Old 03-15-2012, 06:47 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pete_brady View Post
installed, looked fine, applied hotfix above just in case, checked it a few hours later & got MySQL error on the analytics page. did a full reinstall & then got this error:

PHP Code:
Database error in vBulletin 4.1.11:

Invalid SQL:

                    
INSERT INTO dbtech_vbanalytics_session_visits
                        
(sessionhashdata)
                    
VALUES
                        
('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx''a:3:{s:7:\"scripts\";a:2:{i:0;s:11:\"vbanalytics\";i:1;s:5:\"index\";}s:6:\"forums\";a:0:{}s:7:\"threads\";a:0:{}}')
                    
ON DUPLICATE KEY UPDATE
                        sessionhash 
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
                        
data 'a:3:{s:7:\"scripts\";a:2:{i:0;s:11:\"vbanalytics\";i:1;s:5:\"index\";}s:6:\"forums\";a:0:{}s:7:\"threads\";a:0:{}}';

MySQL Error   Duplicate entry 'xxxxxxxxxxxxxxxxxxxxxxxxxxx' for key 'PRIMARY'
Error Number  1062
Request Date  
ThursdayMarch 15th 2012 06:08:34 PM
Error Date    
ThursdayMarch 15th 2012 06:08:35 PM 
had to uninstall to fix
This error continues to elude and frustrate me. Are you positive you redownloaded the package and reuploaded it?

It would really help if you could PM me FTP and ACP information so that I can troubleshoot this as I am simply unable to reproduce this error and the installation running on DBTech has never once encountered this error in the entire month+ it's been installed (and that site gets some serious traffic).

EDIT:

I have uploaded one final hotfix that will completely solve this issue. Please redownload and reupload the following files in the package:
  • dbtech/vbanalytics/hooks/global_complete.php
  • dbtech/vbanalytics/hooks/global_start.php
If you still have this error I will need FTP and Admin login credentials as I have exhausted the list of reasons why this may be happening and am still unable to reproduce this either on my localhost or on sites it is installed to that I have access to.


I apologize to the users who have had this annoying error plague them and I thank them for having patience. It is tough to solve a bug you are unable to reproduce but I am confident I have finally fixed the SOB.


- Jon
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01296 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete