Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbBux / vbPlaza

Reply
 
Thread Tools
Two errors after installing Details »»
Two errors after installing
Version: , by wholemama wholemama is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-09-2006 Last Update: Never Installs: 0
 
No support by the author.

I have two fairly big errors after I've installed (downloaded today)...and I searched the other thread but couldn't find either.

1. Every single post is duplicated. No matter what. If you make a post, you get the "this is a duplicate of one in the last XX seconds" message and get redirected to the thread...where you can see your post.

2. When I start a new thread and/or run the Mass Forum Settings, I get an error... Invalid Argument in foreach() in vbplaza_forumdata_start.php, line 21.

??????

Ok...I think I have a product conflict...I turned off another product, and that did it...

Any ideas where I should start troubleshooting that other code? Which hook would be the most likely to call these sectons? (they share about 6 hooks)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-09-2006, 11:46 PM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the same problem, when i try to apply the mass forum setting.
"Invalid Argument in foreach() in vbplaza_forumdata_start.php, line 21."

what causes it?
Reply With Quote
  #3  
Old 03-09-2006, 11:48 PM
wholemama wholemama is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the Private Threads mod installed...when I disabled that, it works.
Reply With Quote
  #4  
Old 03-11-2006, 12:27 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was the Private Threads mod?

I'll look at it and see if I notice any issues that could cause the conflict.

EDIT: I dont see any reasons it should conflict, but have you try to rebuild bitfields from vbPlaza Maintenance -> Rebuild Bitfields?

That's the only way that the foreach could fail as its using something from includes/xml/bitfield_vbbuxplaza.xml that SHOULD be accessible.

If it doesnt work by Rebuilding Bitfields, then reupload the includes/xml folder from vbPlaza and then run rebuild bitfields and it should be fixed.

-CMX
Reply With Quote
  #5  
Old 03-11-2006, 12:31 PM
wholemama wholemama is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, it was. https://vborg.vbsupport.ru/showthread.php?t=109096

I was able to debug it down to a plugin...it's not even one that shares a hook...

In that product, it was the plugin that goes to hook location threadfpdata_start.

I ended up turning that hook off, and everything was fine. Turned the hook off and on a few times...and then it got happy and now works. No clue in this world why, I didn't change any of the code at all.
Reply With Quote
  #6  
Old 03-11-2006, 01:57 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Odd, that doesnt make sense as that plugin only contains...

Code:
$this->validfields['privatethread'] = array(TYPE_STR, REQ_NO);
$this->validfields['privateusers'] = array(TYPE_STR, REQ_NO);
And none of those fieldnames are used by vbPlaza, hmm.

-CMX
Reply With Quote
  #7  
Old 03-11-2006, 02:00 PM
wholemama wholemama is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know...I couldn't figure it out either...but to troubleshoot...

I disabled all of the Private Threads plugins. vbPlaza worked fine.

I then added them back in, one by one. As soon as I added that one back in, I started getting the duplicate posts & foreach error again. Took it back out, everything was fine. Added everything but that...everything fine.

Makes no sense at all.
Reply With Quote
  #8  
Old 03-11-2006, 02:09 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In any case, the Mass Forum Settings I have changed in v1.5.1 to be released soon, and you should no longer get this problem when this version is released.

-CMX
Reply With Quote
  #9  
Old 03-11-2006, 04:07 PM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've Rebuilding Bitfields and there is no more error.
Reply With Quote
  #10  
Old 03-11-2006, 09:00 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, thats an easy fix too if it works

-CMX
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04378 seconds
  • Memory Usage 2,280KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete