Help needed to fix these errors
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #1
Help needed to fix these errors
These are the errors being generated when we access them.

First is openinviter error

Code:
Type: 2
File: front_end.php (Line no. 220)
Message
Cannot modify header information - headers already sent by (output started at /home/remosd/public_html/forum/inc/functions.php:92)


.php  front_end.php (Size: 9.86 KB / Downloads: 531)

Next is with shoutbox and similarthreads plugins

Code:
File: inc/plugins/myshoutbox.php (Line no. 571)
Message
Cannot modify header information - headers already sent by (output started at /home/remosd/public_html/forum/inc/plugins/benzerkonu.php:139)


.php  benzerkonu.php (Size: 7.3 KB / Downloads: 518)
.php  myshoutbox.php (Size: 55.37 KB / Downloads: 478)

Other error is with undodelete

Code:
File: inc/plugins/undodelete.php (Line no. 1043)
Message
array_walk() expects parameter 1 to be array, null given


.php  undodelete.php (Size: 48.31 KB / Downloads: 505)

Cant figure out what causing the error. Any help is appreciated.

(This post was last modified: 10-24-2010 12:07 PM by 1master1.)
10-24-2010 12:05 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Help needed to fix these errors
Why aren't you asking the authors of the plugin?

My Blog
10-24-2010 01:29 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #3
RE: Help needed to fix these errors
these are like some outdated plugins probably mybb. authors have released them on mybb and now they arent active.

as they are related to the mybb core files, and some are familiar with mybb, i'm expecting they can solve these.
10-25-2010 04:00 AM
Find all posts by this user Quote this message in a reply
Jumper Offline
Member
***
Posts: 75
Joined: Aug 2010
Post: #4
RE: Help needed to fix these errors
Quote:Cannot modify header information - headers already sent by...

thist can be a BOM (Byte Order Mark) problem.
i had this problem sometimes.

Download the php-files, for example your "front_end.php", open with notepad++, and when saving the files,
you'll have to save it as UTF8 (without BOM) or some other format that accepts your language's characters.
Upload the new saved php, and perhaps the problem is solved...
10-25-2010 08:55 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: Help needed to fix these errors
There doesn't appear to be a BOM in front_end.php

The code is this:

PHP Code:
$result=output_page($contents);
if (empty($result)) {header("Location: index.php");exit;}

Which I'm guessing should be

PHP Code:
if (empty($contents)) {header("Location: index.php");exit;}
else
$result=output_page($contents);


For your second plugin, it's echo'ing stuff, and from my very quick scan of it, I'm not exactly sure what it's exactly trying to do.  My guess is that it needs some check before it does that.

I don't know about the 3rd one from a quick glance, but I think the person is still supporting that plugin?


My Blog
(This post was last modified: 10-25-2010 09:16 AM by ZiNgA BuRgA.)
10-25-2010 09:12 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #6
RE: Help needed to fix these errors
1 error fixed Smile

Not sure what to do with 2 and 3rd.

I searched for the support thread at mybb, but there is no thread regarding undodelete Frown

Its sad that author release plugins and discard those threads after few days.
10-25-2010 10:16 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #7
RE: Help needed to fix these errors
Damn, the 2 and 3 bugs are very annoying. Flooding the inbox with error messages. Dont know how to fix them. Authors are also out of reach.
11-09-2010 07:39 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #8
RE: Help needed to fix these errors
You can suppress errors by appending the function causing the error with a @ : http://php.net/manual/en/language.operat...http://php.net/manual/en/language.operators.errorc

Probably not what you want to do, but it'll stop the messages.

My Blog
11-09-2010 08:04 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #9
RE: Help needed to fix these errors
atleast it helped me out in keeping my inbox empty, but having errors may get into trouble if any exceptional cases occurs.
i think learning php is best Smile
11-09-2010 10:33 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: