How to fix "Fatal error: Cannot redeclare utf8..." errors

Support specific to the phpBB 3 plugin.
Forum rules
Please post all the bugs you encounter on our issue tracker.

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby evilbetty on Mon Apr 16, 2012 5:14 am

successfully fixed frameless visual integration on:
phpBB3 3.0.10
jFusion 1.7
joomla 2.5.1
User avatar
evilbetty
JFusion Newbie
JFusion Newbie
 
Posts: 2
Joined: Mon Apr 16, 2012 5:08 am

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby D4m13n on Mon Apr 30, 2012 3:26 pm

Hi all,
after installing utf_tools.php I get this error.

Fatal error: Cannot redeclare utf8_strlen() (previously declared in /webroot/g/u/guerr002/avatares/www/foro/includes/utf/utf_tools.php:250)
in /webroot/g/u/guerr002/avatares/www/libraries/phputf8/mbstring/core.php on line 27

Joomla version 2.5.4
phpbb3 version 3.0.10

this happens to me when I activate -> Authentication Mod Disabled: No file found Click here to enable the mod

please help me :(
User avatar
D4m13n
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Sun Apr 29, 2012 9:14 pm

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby fanno on Mon Apr 30, 2012 10:51 pm

D4m13n wrote:Hi all,
after installing utf_tools.php I get this error.

Fatal error: Cannot redeclare utf8_strlen() (previously declared in /webroot/g/u/guerr002/avatares/www/foro/includes/utf/utf_tools.php:250)
in /webroot/g/u/guerr002/avatares/www/libraries/phputf8/mbstring/core.php on line 27

Joomla version 2.5.4
phpbb3 version 3.0.10

this happens to me when I activate -> Authentication Mod Disabled: No file found Click here to enable the mod

please help me :(

re read the error message.!
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby D4m13n on Tue May 01, 2012 12:07 am

Hi thanks for answering fanno, sorry if double the message or whatever.
my English is bad, I'm not just install the module developer to enter the two sites with joomla and phpbb3 and gives me errors. if you can help me thank you, but will wait until someone put a solution thanks for everything.
User avatar
D4m13n
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Sun Apr 29, 2012 9:14 pm

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby fanno on Tue May 01, 2012 4:20 am

D4m13n wrote:Hi thanks for answering fanno, sorry if double the message or whatever.
my English is bad, I'm not just install the module developer to enter the two sites with joomla and phpbb3 and gives me errors. if you can help me thank you, but will wait until someone put a solution thanks for everything.

as i said, if you re read the message =) you will see that the error is not in the fine you thing it is, this means it is another file you need to patch.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby D4m13n on Tue May 01, 2012 2:25 pm

Hello fanno pedistes follow what I do and I have no error.
now only if I connect from the forum login I'm offline also works in joomla.
if I try the same from the joomla, not working.
you have any advice? =) And thanks
User avatar
D4m13n
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Sun Apr 29, 2012 9:14 pm

Re: How to fix "Fatal error: Cannot redeclare utf8..." errors

Postby fanno on Tue May 01, 2012 7:32 pm

*points at the support section*
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: How to fix "Fatal error: Cannot redeclare utf8..." error

Postby ice5192 on Thu Jul 12, 2012 7:35 am

once i do this it works but my forums you can not read? everything is so small...
User avatar
ice5192
JFusion Newbie II
JFusion Newbie II
 
Posts: 24
Joined: Wed Jul 11, 2012 10:01 pm

Re: How to fix "Fatal error: Cannot redeclare utf8..." error

Postby erupter on Sat Oct 20, 2012 4:17 pm

Hi guys.

I did all what is reported in this thread.
And with the prosilver modified it worked.

Than I modified another style and now I can't access to the ACP it says:

Code: Select all
Fatal error: Cannot redeclare utf8_strlen() (previously declared in /web/htdocs/www.bdrclan.com/home/newphpbb/includes/utf/utf_tools.php:240) in /web/htdocs/www.bdrclan.com/home/newtemp/libraries/phputf8/mbstring/core.php on line 28


But my utf_tools.php IS modified and I have:

Code: Select all
if (!function_exists('utf8_strlen')) {
   function utf8_strlen($text)
   {
      return mb_strlen($text, 'utf-8');
   }}


in the reported line.

So what else am I missing?
User avatar
erupter
JFusion Newbie
JFusion Newbie
 
Posts: 9
Joined: Fri Oct 19, 2012 12:49 pm

Re: How to fix "Fatal error: Cannot redeclare utf8..." error

Postby fanno on Sat Oct 20, 2012 4:26 pm

the error is not in utf_tools.php reread the message =)
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

PreviousNext

Return to phpBB 3

Who is online

Users browsing this forum: No registered users and 3 guests