Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From


Subject: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
OPEN
Code: [Download] [Hide]
  1. includes/usercp_signature.php 

FIND
Code: [Download] [Hide]
  1. $bbcode->allow_html = $html_on; 

BEFORE, ADD
Code: [Download] [Hide]
  1. include(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT); 

Profile PM  
Subject: Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
It seems very strange that it wasn't working fine... anyway, thanks for the fix.

Subject: Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
usercp_signature.php already has this at:

Line 55: include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT);
Line 56: include_once(IP_ROOT_PATH . 'includes/functions_post.' . PHP_EXT);

Is there some reason that they can't be moved to Line 16 etc before the functions/script starts - rather than call it twice?

Profile PM  
Subject: Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
Thanks for highlighting that, I have reviewed the code, I will update GIT as soon as I have tested it.

Subject: Re: Fix For [Icy Phoenix Debug] PHP Notice: In File /includes/usercp_signature.php On Line 23: Creating Default Object From
You're welcome - Anything to help if possible. :mryellow:

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0991s (PHP: 16% SQL: 84%)
SQL queries: 10 - Debug Off - GZIP Enabled