View Full Version : Two errors after installing
wholemama
03-09-2006, 11:15 PM
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...
$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
EasyTarget
03-11-2006, 09:49 PM
I had this same error, rebuilding bitfields fixed the error messages however the changes I apply in mass forum settings do not get applied. (it says they get applied, but then the old values are there)
also I don't have that private threads hack installed.
*edit*
ok, apparently the settings get applied when I view the forum settings, it just keeps the old values in the mass forum settings area.
CMX_CMGSCCC
03-12-2006, 10:18 AM
The mass forum setting numbers will always be the default in that version. In v1.5.1, they will be blank. The settings really do get set to the forums, but they are not a global setting anywhere, it actually sets the setting for each forum and not some global setting somewhere.
-CMX
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.