PHPBB3 – Private Messaging Error

Posted: August 4, 2009 at 12:49 am by Nathan Driskell
Filed under Computers PHPBB3 Web Design

phpbb3 - 1818 private messaging error

If you have installed phpBB3, and began to play around with it’s functionality, you may have noticed an error come up when accessing private messages. The error usually occurs when you click on the user control panel, then go to Private messages, then Inbox. The error message may also occur if you try to click on a private message to view. The error is usually displayed at the top of the page. Below is an example of the error.

[phpBB Debug] PHP Notice: in file /includes/functions_privmsgs.php on line 1818: implode() [function.implode]: Invalid arguments passed
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)

The second message may display multiple times. This error occurred to me when working on Psychcomp.com’s forums. After searching for a solution, I found one that solved the problem. Below is a simple solution.

In your text editor, open your phpbb3 directory, then the includes directory, then functions_privmsgs.php.

Near line 1830, you will see the following syntax:

unset($rowset[$id]);

Replace this with the following:

unset($rowset[$i]);

Now, save and upload the file to your server. As it is a core file, you do not need to update your site’s theme in any way.

Now when you click on private messages, you will no longer see the error messages.

Note: this is for phpBB3 version 3.0.5. I am not sure if this error occurs in older versions of phpBB3.

Source: PHPBB3′s Community Bulletin Board

Share and Enjoy:
  • Print
  • email
  • RSS
  • StumbleUpon
  • Twitter
  • Digg
  • MySpace
  • Facebook
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Live
  • Reddit
  • Add to favorites

About the author:  Psychcomp is owned and maintained by Nathan Driskell, a Licensed Professional Counselor - Intern and Internet Addiction Specialist. Nathan has worked for the past five years creating and maintaining websites, and has experience managing small business networks. Contact Nathan at the following locations: ndri...@psychcomp.com">E-Mail Twitter


Related Posts

  1. Example robots.txt for WordPress and PHPBB3
  2. PHP MYSQL Database Connection Function
  3. Slmgr.vbs –rearm Error
  4. Remove Old Links from Google
  5. Blocking Search Engine Bots
  6. Using scanpst.exe in Windows 7 64bit
  7. How to Establish Yourself Online – Part 5: WordPress SEO
  8. WordPress Attack: Upgrade Now
  9. The Beginners Guide to Gaining Followers on Twitter
  10. Linux: Remount a Directory

Tags: ,

Leave a Reply

captcha service