•  · 4 friends

Header ERROR

I’m getting this error when I go to New Discussions or click add a discussion from the drop down menu. 


Notice: Undefined index: lock in /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php on line 779

Notice: Undefined index: status_admin in /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php on line 799

Notice: Undefined index: stick in /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php on line 769

Notice: Undefined index: lock in /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php on line 789

Notice: Undefined index: status_admin in /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php on line 809

Notice: Undefined index: author in /home/tip8/mysite.com/modules/base/general/classes/BxBaseModGeneralModule.php on line 1140

Notice: Undefined index: author in /home/tip8/mysite.com/modules/base/general/classes/BxBaseModGeneralModule.php on line 1140

Warning: Cannot modify header information - headers already sent by (output started at /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php:759) in /home/tip8/mysite.com/inc/classes/BxDolTemplate.php on line 2739

Warning: Cannot modify header information - headers already sent by (output started at /home/tip8/mysite.com/modules/boonex/forum/classes/BxForumModule.php:759) in /home/tip8/mysite.com/inc/classes/BxDolTemplate.php on line 2740

  • 67
  • I've been looking at the general settings, Decorous, Discussions... I can't figure out where the second header is interfering with the site. Does anyone have any suggestions?

    • Sounds like a write permissions error to the database. How long has your site been running? Did you recently do any upgrades?

      • I am just building the site now. I’m sure you’re right. I’ll go over those now to see what I can find.

        • Found it! It was a block on the new discussion page. 

          • So what was wrong with this block? Did you solve this trouble?

            • The block is custom. I wanted to allow users to create their own categories. The block is on the page new discussions and the menu at the bottom of the block defaults to Add Content Menu. 

              But, that is blank on my site, so must have changed it to Discussion Actions. Thats the setting that caused the above list of errors.

                • Part of this error is showing up on discussion posts. When I click on a discussion item on the home screen, it takes me to the post and there I have this error message:

                  Warning: Cannot modify header information - headers already sent by (output started at /template/scripts/BxBaseFormView.php:384) in /inc/classes/BxDolTemplate.php on line 2739

                  Warning: Cannot modify header information - headers already sent by (output started at /template/scripts/BxBaseFormView.php:384) in /inc/classes/BxDolTemplate.php on line 2740

                  There is another sentence that isn't showing up once the color scheme of the site fills in. 

                  "Notice Array to string conversion in ... /scripts/bxbaseformview.php on line 384"

                  I inactivated every block on the page, and this error message remained.

                  I deleted the background image, under Header, in Decorous. That background image wasn't showing up anyway. Instead, it is the background color that I chose just above where I can upload a background image in the template Decorous, Header.

                  I'm at a loss. Any advice would be much appreciated! Thanks

                  • As the mentioned file in default UNA package has the following code in the 384th line:

                    <div class="bx-form-row-view-value">{$sValue}</div>

                    Little above the $sValue looks like:

                    $sValue = $this->genViewRowValue($aInput);

                    As this method returns the string, then for now, it looks like somthing wrong with the new field (Your category) and / or with Items list.

                    • I had hoped that the upgrade to 10.0.b1 would resolve this issue for me, but instead... I wonder if these issues are related?

                      Fatal error: Call to undefined method BxForumTemplate::getEntryLabel() in /home/myaccount/mysite.org/modules/boonex/forum/classes/BxForumTemplate.php on line 204


                      Here is the line from my file...

                          $aUnit['label'] = $this->getEntryLabel($aData, array('show_count' => 0, 'last_replier' => 0));

                      Can anyone tell me what this line should read, and advise me as to changing it using cpanel filemanager or trying to find some way of changing it in the UNA program?

                      • Btasey  You need to check if your system is updated to the latest 10.0.0-B2 (as of now) and all modules are up to date, you can check it from Studio > Apps Market > Updates
                        • It's fully upgraded/updated as of today. I logged in and received this error...

                          Notice: Undefined index: author in /home/myaccount/mysite/modules/base/general/classes/BxBaseModGeneralModule.php on line 1237

                          Notice: Undefined index: author in /home/myaccount/mysite/modules/base/general/classes/BxBaseModGeneralModule.php on line 1237

                          Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/mysite/modules/base/general/classes/BxBaseModGeneralModule.php:1237) in /home/myaccount/mysite/inc/classes/BxDolTemplate.php on line 2834

                          Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/mysite/modules/base/general/classes/BxBaseModGeneralModule.php:1237) in /home/myaccount/mysite/inc/classes/BxDolTemplate.php on line 2835

                          Then, I went to studio and found that the system was upgraded automatically overnight to 10.0.0 B2 and all of the modules were updated as well.

                          I'm sure I messed up a setting somehow, somewhere, but I don't know enough about it to know where or how. I did this a long time ago as I was first setting up the aesthetics of the site. At that time, I changed some things on the splash page, but it works fine. Otherwise, I only changed things within the program until this upgrade when I changed a line of code to allow upgrades to beta versions. I also chose to force auto-updates even if some files were modified, in hopes that it would overwrite these header errors with updated files.

                          8
                          1
                          1
                          1
                          2
                          Labels:
                          Added:
                          Category: