phpBB

Development Wiki

Difference between revisions of "Talk:Tutorial.Adding pages"

From phpBB Development Wiki

(Fatal error: Call to undefined function get_user_avatar() in C:\Program Files\xampp\htdocs\phpbb3\new_page.php on line 45)
 
m (Fatal error: Call to undefined function get_user_avatar() in C:\Program Files\xampp\htdocs\phpbb3\new_page.php on line 45)
Line 11: Line 11:
 
I really appreciate the tutorial.  Thanks for your work!
 
I really appreciate the tutorial.  Thanks for your work!
 
-B
 
-B
 +
:Added, good catch. :) - [[User:Highway_of_Life|'''<span style="color:#0074ae;">Highway</span> <span style="color:green;">of</span> <span style="color:blue;">Life</span>''']] [[User talk:Highway_of_Life|<span style="color:red;">(talk)</span>]] 18:12, 3 January 2008 (UTC)

Revision as of 18:12, 3 January 2008

Fatal error: Call to undefined function get_user_avatar() in C:\Program Files\xampp\htdocs\phpbb3\new_page.php on line 45

I received this error when I directly copied your code:

  Fatal error: Call to undefined function get_user_avatar() in C:\Program Files\xampp\htdocs\phpbb3\new_page.php on line 45

I thought others might be interested, the fix was found on phpbb.com by adding this line:

  include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
  AFTER this line:
  include($phpbb_root_path . 'common.' . $phpEx);

I really appreciate the tutorial. Thanks for your work! -B

Added, good catch. :) - Highway of Life (talk) 18:12, 3 January 2008 (UTC)