Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8933

PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]:

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Duplicate
    • 3.0.6
    • None
    • Other
    • None
    • PHP Environment: 5.1.6
      Database: 5.0.77

    Description

      Hello,

      I don't know if it is a bug in the software or the template. But since I have upgraded to version 3.0.6 I sometimes see this error in my server error log:

      *********************************************************

      [Wed Dec 02 21:30:38 2009] [error] [client ***] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in .../forum/includes/session.php on line 2208, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:38 2009] [error] [client ***] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/message_body.html) is not within the allowed path(s): (/.../httpdocs:/tmp) in .../forum/includes/functions_template.php on line 61, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:38 2009] [error] [client ***] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in .../forum/includes/functions_template.php on line 63, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:39 2009] [error] [client ***] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in .../forum/includes/session.php on line 2208, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:39 2009] [error] [client ***] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/message_body.html) is not within the allowed path(s): (.../httpdocs:/tmp) in .../forum/includes/functions_template.php on line 61, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:39 2009] [error] [client ***] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in .../forum/includes/functions_template.php on line 63, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:40 2009] [error] [client ***] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in .../forum/includes/session.php on line 2208, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:40 2009] [error] [client ***] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/message_body.html) is not within the allowed path(s): (.../httpdocs:/tmp) in .../forum/includes/functions_template.php on line 61, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:40 2009] [error] [client ***] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in .../forum/includes/functions_template.php on line 63, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:41 2009] [error] [client ***] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in .../forum/includes/session.php on line 2208, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:41 2009] [error] [client ***] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/message_body.html) is not within the allowed path(s): (.../httpdocs:/tmp) in .../forum/includes/functions_template.php on line 61, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 
      [Wed Dec 02 21:30:41 2009] [error] [client ***] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in .../httpdocs/forum/includes/functions_template.php on line 63, referer: http://www.kartgrid.be/forum/posting.php?mode=reply&t=4075 

      *********************************************************

      As template I use Subsilver2 and Fisubice2 (inherit from subsilver2). I never had these errors on 3.0.5 and before.

      Attachments

        Issue Links

          Activity

            People

              ToonArmy Chris Smith
              Tazmanian Tazmanian [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: