utf_tools.php

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
chevans
Registered User
Posts: 1
Joined: Thu Apr 12, 2012 10:41 pm

utf_tools.php

Post by chevans » Thu Apr 12, 2012 10:50 pm

Support Request Template
What version of phpBB are you using? 5.4
What is your board's URL? http://bb.electriclatte.net.au
Who do you host your board with? self hosted
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
What styles do you currently have installed? default
What language(s) is your board currently using? British English
Which database type/version are you using? MS SQL Server
What is your level of experience? Comfortable with PHP and phpBB
When did your problem begin? I moved phpBB from one IIS based server (S1) to another (S2). S1 was IIS7, S2 is IIS7.5. I am using the very latest PHP (5.4) version on S2 in Fast-CGI mode. S1 whilst having a lower version of PHP was still version 5+. After installation, everything seemed fine until I tried to login.

I recieved errors in the utf_tools file (error 1) which I rectified after reading a post which described a fix to one of the functions. I then decided to carry out a fresh install of phpBB just to see if I needed to upgrade. The same problems existed. Using the brand new bb i went thru the same modification to the function in the utf_tools described above. Everything went well until i try to make a post or reply to a post etc. I now receive error 2 - the first error I corrected with the fix is error 1.

Additonally I have turned off error_reporting in my php.ini (and execued an IIS reset) however this appears to make no difference.

The issue is appears to be in one file - perhaps even in just one function, and from wherever that function is called. I'm really a Microsoft Person and MS Languages person so I'm not very good at PHP. I have many other PHP based apps for people on the new server they all work fine - any chance anyone can help me please. Best Regards, Craig.

Please describe your problem. Error 1. PHP Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in C:\<mypath>\<mypath>\includes\utf\utf_tools.php on line 1663

Error 2 - PHP Fatal error: Call to a member function nfc() on a non-object in C:\<mypath>\<mypath>\includes\utf\utf_tools.php on line 1779
Generated by SRT Generator

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10201
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: utf_tools.php

Post by Noxwizard » Fri Apr 13, 2012 12:26 am

That's because of PHP 5.4. You need to add & ~E_STRICT to the error_reporting() line (~22) in /includes/startup.php.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

verma76
Registered User
Posts: 2
Joined: Sun Jul 22, 2012 2:04 pm

Re: utf_tools.php

Post by verma76 » Sun Jul 22, 2012 7:30 pm

thanks to Noxwizard !!! :D

zenit10
Registered User
Posts: 34
Joined: Thu Jan 27, 2011 3:54 pm

Re: utf_tools.php

Post by zenit10 » Tue Jan 08, 2013 12:57 pm

thanks a lot. another problem less

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: No registered users and 99 guests