vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   Two errors after installing (https://vborg.vbsupport.ru/showthread.php?t=109949)

wholemama 03-09-2006 11:15 PM

Two errors after installing
 
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)

pelican 03-09-2006 11:46 PM

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?

wholemama 03-09-2006 11:48 PM

I had the Private Threads mod installed...when I disabled that, it works.

CMX_CMGSCCC 03-11-2006 12:27 PM

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

wholemama 03-11-2006 12:31 PM

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.

CMX_CMGSCCC 03-11-2006 01:57 PM

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

wholemama 03-11-2006 02:00 PM

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.

CMX_CMGSCCC 03-11-2006 02:09 PM

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

pelican 03-11-2006 04:07 PM

i've Rebuilding Bitfields and there is no more error.

CMX_CMGSCCC 03-11-2006 09:00 PM

Oh, thats an easy fix too if it works :)

-CMX


All times are GMT. The time now is 06:21 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.01667 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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